22 Feb
2005
22 Feb
'05
17:02
hey guys, i have a serious problem with my mod_rewrite: (guess what) it won't rewrite what i want it to! :P i hope thats not to ot by the way!!! for one vhost i had to rewrite http->https and it did work after some time of testing regexp's! now i'm trying to rewrite a subdomain name from http://www.testing.dom to http://demo.testing.dom but i can't get it to work! here are the rules: RewriteCond %{HTTP_HOST} ^foo.testing.dom$ RewriteRule ^(.*)$ https://foo.testing.dom RewriteCond %{HTTP_HOST} ^www.testing.dom$ RewriteRule ^(.*)$ http://demo.testing.dom does anybody have an idea what is going wrong here? i'd be veeeery thankful for any kind of help with this! greetingz luk