Page 1 of 1

mod_rewrite question

Posted: Tue Oct 03, 2006 5:53 pm
by toasty2
Ok, I want to put mod_rewrite for apache to work. I have this site structure:
(Root Folder)
Subdomains
test
-index.html
forums
-index.php

Ok, so I need for when people goto /subdomains/test to have the url rewritten to /subdomains/forums, but...How do I change the current rewrite path. Because it will be trying to rewrite the url to /subdomains/test/subdomains/forums
Or, should I just use the full url?
Edit: I tried using the full url, but that didnt work
I tried this:

Code: Select all

RewriteEngine On
RewriteRule ^/forums$ htp://forums.randomresources.com/360kil