gaza165 Posted January 23, 2009 Share Posted January 23, 2009 Options +FollowSymLinks RewriteEngine On RewriteBase / ErrorDocument 404 /errors/404page.html RewriteRule ^home index.php RewriteRule ^([_\+A-Za-z0-9]+)?$ index.php?c=$1 RewriteRule ^([_\+A-Za-z0-9]+)/([_\+A-Za-z0-9]+)?$ index.php?c=$1&title=$2 using this .htaccess file the links are knocked out of wack. The css does not get implemented and neither does the images. It seems to be looking in the wrong places for these files. Is there anyway I can set a document root for it all to work from??? Quote Link to comment Share on other sites More sharing options...
corbin Posted January 23, 2009 Share Posted January 23, 2009 Using absolute paths would be the easiest way. Remember that from the client, it will look relative to the folder it's in. I think there's an HTML attrib of the body tag that can set relativity, but I think it's often mishandled. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.