Welcome to WebmasterWorld Guest from

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)

5+ Year Member

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)

10+ Year Member

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.

Featured Threads

Hot Threads This Week

Hot Threads This Month