i have never really had problems with my htaccess files. but now we have moved servers, and suddenly i have a little glitch. i'd love some help finding the problem here.
we moved from example.com/forums to example.net
i put an htaccess file in the .com/forums folder that reads:
this works well for all my links (except one). it rewrites them properly and instantly.
the problem is if i attempt to simply navigate to example.com/forums, i get a 404 error, that says
it does indeed redirect to the .net, but it attempts to go to this: http://example.net//var/chroot/home/...ah/html/forums.
any ideas? (apologies for being long winded )
we moved from example.com/forums to example.net
i put an htaccess file in the .com/forums folder that reads:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?example\.com
RewriteRule (.*) http://example.net/$1 [R=301,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?example\.com
RewriteRule (.*) http://example.net/$1 [R=301,L]
the problem is if i attempt to simply navigate to example.com/forums, i get a 404 error, that says
The requested URL blah/blah/blah/blah was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
any ideas? (apologies for being long winded )