Unix Technical Forum

mod_rewrite + slackware current

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:14 PM
Philip Lawatsch
 
Posts: n/a
Default mod_rewrite + slackware current

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com