httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew M <and...@jibeya.com>
Subject [users@httpd] RewriteRule problem....
Date Sat, 04 Dec 2004 08:13:27 GMT
Hi,
i'm trying to construct a rewriterule which checks for a particular 
file extension and then redirects the user to the https equivalent of 
the file, so:

<IfModule mod_ssl.c>
     Include conf/ssl.conf
</IfModule>
....
RewriteEngine on

RewriteRule (.*)\.(ssl)$ https://localhost:8080/mysite/$1.$2 [P,L]

but i'm getting a 500 internal server error. Any ideas?

regards

Andrew


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message