[Webdev] Probelm with RewriteRule on Apache

Conor Lynch majorbeer at hotmail.com
Thu Jul 4 16:10:27 IST 2002


Hi there,
    I have included the following lines at the end of my apache 
configuration file (httpd.conf).
On my development servers these lines ensure that a link ending with :SLL 
which be rewritten as a link starting with https://

    RewriteEngine on
    RewriteRule   ^/(.*):SSL$   https://%{SERVER_NAME}/$1 [R,L]

HOWEVER, on my production server this does not work, any reason why these 
lines may be ignored or any configuration settings that may be required to 
use them would be greatly appreciated.

Cheers,
    Conor.



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





More information about the Webdev mailing list