This is a discussion on mod_rewrite + slackware current within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I'm using slackware-current and the apache server coming with it. I'm trying to redirect everything from http://mydomain.foo/ to ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm using slackware-current and the apache server coming with it. I'm trying to redirect everything from http://mydomain.foo/ to https I'm trying to it like this: <Directory "/var/www/htdocs"> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride None Order allow,deny Allow from all RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/(.*) https://mydomain.foo/$1 [R] </Directory> RewriteLog "/var/log/apache/rewrite.log" RewriteLogLevel 9 The rest of the apache config is left pretty much unchanged. However, it does not work. I do not even get anything in rewrite.log besides rewrites for favicon.ico. Any ideas on what I might have missed? kind regards Philip |