Forum Moderators: phranque
http://www.example.com/Forums/ RewriteRule ^Forums/(.*) forums/$1 http://www.example.com/Forums/viewforum.php?f=2 http://www.example.com/forums/viewforum.php?f=2 http://www.example.com/Forums/viewforum.php?f=2 http://www.example.com/forums/viewforum.php?f=2 The "Weird" Address isnt showing contents. just a 404 error if i remember right.
If it will help i can give you the .htaccess files from my folders.
I'm sorry but I don't understand what exactly do you mean.I don't think I can explain it any more simply, or clearly, than I have done so already.
Im putting the code inside my /public_html/
Wed Aug 17 03:49:00 2011] [error] [client 79.113.108.96] File does not exist: /home/risingde/domains/example.com/public_html/home
[Wed Aug 17 03:49:00 2011] [error] [client 79.113.108.96] File does not exist: /home/risingde/domains/example.com/public_html/404.shtml
[Wed Aug 17 03:49:14 2011] [error] [client 66.249.72.20] File does not exist: /home/risingde/domains/example.com/public_html/home
[Wed Aug 17 03:49:14 2011] [error] [client 66.249.72.20] File does not exist: /home/risingde/domains/example.com/public_html/404.shtml
[Wed Aug 17 03:50:49 2011] [error] [client 66.249.72.20] File does not exist: /home/risingde/domains/example.com/public_html/home
[Wed Aug 17 03:50:49 2011] [error] [client 66.249.72.20] File does not exist: /home/risingde/domains/example.com/public_html/404.shtml
RewriteEngine On
RewriteRule ^Forums/(.*) forums/$1 [R] [Wed Aug 17 03:50:49 2011] [error] [client 66.249.72.20] File does not exist: /home/risingde/domains/example.com/public_html/404.shtml
example.com/Forums/somepage you will first be redirected to www.example.com/Forums/somepage and then to www.example.com/forums/somepage example.com will correctly redirect to www.example.com but other non-canonical requests will create an infinite loop. example.com:80 will be redirected to www.example.com:80 and since this is not "exactly" www.example.com it will be redirected to www.www.example.com:80 and then to www.www.www.example.com:80 and so on. foobar.com => www.foobar.com => www.www.foobar.com => www.www.www.foobar.com looping forever. %{HTTP_HOST} in the RewriteRule target URL, I would state www.example.com instead.