Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rewrite map - allow direct access of files/directories

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
I am trying to figure out how to set up a url rewriting scheme on my apache webserver. I have been able to get it to work, but I guess I can't get the logic of it figured quite right. I have read numerous tutorials I found on google about the topic, but none of them are very specific.

Chiefly I am trying to set up a 'pretty' url scheme for the CMS we just installed. My biggest problem is that when I set up the url forwarding, I loose all relatively linked files (stylesheets, images, ect). I had the thought to put in a <base href...> tag in my CMS template's header, but that didn't seem to do the trick.

The apache documentation speak of doing something like this:
Code:
RewriteCond %{REQUEST_URI} !-f
to skip over the rename rules if the request is a file, but this doesn't seem to do anything for me.

Any help?

Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top