homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

mod rewrite failing with https urls
mod_rewrite failing with https urls

5+ Year Member

Msg#: 3245153 posted 1:30 pm on Feb 7, 2007 (gmt 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+ Year Member

Msg#: 3245153 posted 10:49 pm on Feb 7, 2007 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved