httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mads Rosendahl <m...@twilight.dk>
Subject Re: [users@httpd] Redirect conditional on SSL/non-SSL
Date Wed, 17 Aug 2005 11:29:06 GMT
Sorry, the php-code for rediret is "header("location: ".$url);". My 
memory is not what it used to be ....

Brian Candler wrote:

>I would like users to be able to put an incantation in their .htaccess files
>which says: "if this directory was not accessed via SSL, then issue a
>redirect to https://...."
>
>I know about SSLRequireSSL, but that just rejects the request.
>
>Is there a way to do this short of using mod_rewrite? I am using Apache 1.3
>and mod_ssl.
>
>Thanks,
>
>Brian.
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message