Re: [EMAIL PROTECTED] How to rewrite specific URL to use https

2007-07-19 Thread Joshua Slive
On 7/19/07, Ted Fines <[EMAIL PROTECTED]> wrote: Can you clarify "add [L] to the flags on your redirect"? Do you mean the one that does lowercase, or the https one? The https one, since you don't need to lowercase if you are going to redirect. I tried: RewriteEngine on RewriteLogLevel 0 R

Re: [EMAIL PROTECTED] How to rewrite specific URL to use https

2007-07-19 Thread Ted Fines
Hi, Thank you. The lines: RewriteMap lowercase int:tolower RewriteRule (.*) ${lowercase:$1} [PT] are in there because without them, we have a case-sensitive URL problem. The new ones I'm trying to add are these: RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{REQUEST_URI} ^/restricted(.*)$ [NC

Re: [EMAIL PROTECTED] How to rewrite specific URL to use https

2007-07-18 Thread Joshua Slive
On 7/18/07, Ted Fines <[EMAIL PROTECTED]> wrote: RewriteLog "/usr/local/apache/logs/server.mac.edu.rewrite.log" RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{REQUEST_URI} ^/restricted(.*)$ [NC] RewriteRule ^/restricted(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,NC] RewriteMap lowercase

[EMAIL PROTECTED] How to rewrite specific URL to use https

2007-07-18 Thread Ted Fines
Hi, I have a virtual host with a section like this: NameVirtualHost * CheckSpelling on ServerName server.macalester.edu DocumentRoot "/var/www/server/htdocs" RewriteEngine on RewriteLogLevel 2 RewriteLog "/usr/local/apache/logs/server.mac.edu.rewrite.log" RewriteMap lowercase int:tolower Rewri