Welcome to WebmasterWorld Guest from 54.160.177.33

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

mod rewrite failing with https urls

mod_rewrite failing with https urls

     
1:30 pm on Feb 7, 2007 (gmt 0)

New User

5+ Year Member

joined:Feb 7, 2007
posts:1
votes: 0


I am using apache as a proxy to provide secure access to internal mail servers.

apache is running as a dedicated server ( no virtual hosts) with ssl enabled.

the mod_rewrite and mod_proxy directives are used as follows

RewriteEngine On
RewriteLog /var/log/httpd/rewrite.log
Rewriteloglevel 9
RewriteRule ^/([^a]+[^p]?[^p]?[^1]?.*?\.nsf.*)$ /app1/$1 [P]

ProxyPass /app1/ [localservername...]
ProxyPassReverse /app1/ [localservername...]

with SSL enabled, nothing is rewritten, and nothing is logged
with SSL disabled, everything runs smoothly as expected.

is there something am missing with SSL and mod_rewrite? I've spent a lot of time searching the web for related issue but couldn't find anything.

would appreciate any kind of helps or hints.

thanks :)

10:49 pm on Feb 7, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:June 21, 2003
posts:199
votes: 0


A common mistake with http/https is to have config values set for one and not the other. Check that your directives appear in the correct location in your apache config file & rule that out before anything else.