mod_rewrite help again
Posted: Mon Nov 14, 2005 3:30 pm
Hi all,
Mod rewrite is giving me trouble on my Novell server.
I want the page a user access to be redirected, without the URL changing. For example, if a user asks for http://www.domain.ca/events/jan.html, I want to serve up the page http://www.domain.ca/A/events.jan.html. I want that to be invisible to the user.
The .htaccess file I've got now is:
With that, I get an error code (500) internal server error. When I change the file to
It works just fine. It seems to me that the problem is with the fact that I'm wanting to go to /[somedirectory]/[somefilename] rather than just [somefilename]
Any ideas?
Mod rewrite is giving me trouble on my Novell server.
I want the page a user access to be redirected, without the URL changing. For example, if a user asks for http://www.domain.ca/events/jan.html, I want to serve up the page http://www.domain.ca/A/events.jan.html. I want that to be invisible to the user.
The .htaccess file I've got now is:
Code: Select all
Options +FollowSymlinks
RewriteEngine on
RewriteRule (.*) /A/$1Code: Select all
Options +FollowSymlinks
RewriteEngine on
RewriteRule (.*) index_orig.htmlAny ideas?