Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3350180
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:45:20+00:00 2026-05-18T01:45:20+00:00

I publish webcal URLs which allow users of my web app to subscribe to

  • 0

I publish webcal URLs which allow users of my web app to subscribe to various calendars. It’s my understanding that applications which recognise webcal URLs will default to http, but I’d like to secure the file transfers with https. The following apache rewrite rule works, but is this an appropriate solution?

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Yes, everything at this domain should be served over https. I’m aware that I could substitute webcal with https, but then I’d lose the benefit of the webcal URI scheme (i.e. simple subscription). I have seen some mention of webcals on the web, but there’s little information and Apple’s iCal doesn’t like it.

I plan to use basic authentication with these calendars. Is there an issue with making a request over http first and then redirecting to https?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:45:20+00:00Added an answer on May 18, 2026 at 1:45 am

    Yes, there can be a problem: the initial request is going to be sent over HTTP, including headers and so on.

    It’s not necessarily a problem if the initial request doesn’t include the credentials and then the response to the HTTP Basic authentication challenge is only sent in the second request, which would be to the HTTPS URL.
    However, there is a chance that some clients may use pre-emptive authentication, in which case the credentials would be sent (effectively in clear) in the first, plain-HTTP request.

    As I was saying in this answer, redirecting from HTTP to HTTPS doesn’t always provide as much security as one would like.

    (Regarding webcal:// URLs, I think some clients support the webcals:// scheme for the HTTPS equivalent.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you publish an ASP.NET app that has an error in the web.config file,
I publish a Android app on play.google.com and my app manifest setting like that;
How can I publish my website in Webmatrix that uses a database, using Web
Possible Duplicate: Publish WCF Service app on IIS Express using Web Deployment I have
Is it possible to publish an app that will target only handsets or tablets
I publish my web application using msbuild by calling following command: msbuild myweb.csproj /T:Package
I want to publish my App on Play Store but my App name is
I'd like to publish an app in the market to make it easy to
Simply trying to publish a web service through Visual Studio 2012 like I always
Does Publish-Subscribe method work if: publisher and subscribers are in different networks (I've checked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.