I have a website which must be served _only_ over HTTPS. However, I serve pretty stupid users, so disabling port 80 is not ideal due to the 10 calls a day of "the site is down!". Rather, I want to redirect any and all requests, for any URL on this site, to the very same URL but using HTTPS. Below are the relevant parts of my httpd.conf:
<Directory "/var/www/apollo.paiz.org"> Options FollowSymLinks AllowOverride All
RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://apollo.paiz.org/$1 [R,L,NC]
Order allow,deny Allow from all </Directory>
Can anyone see where I've screwed up, or why my redirect is not working? I'll also happily accept more FM to R, but not the Apache main rewriting docs since I've read those at least five times each.
Thanks!
-- Rodolfo J. Paiz [EMAIL PROTECTED]
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list