goatboy Posted September 21, 2006 Share Posted September 21, 2006 I'm not having any problem with mod_rewrite on my server. It seems to be working fine. but on my local machine I'mMy settings in my httaccess file are the same.O my local machine is windows with apache 2.0. my server is fedora core 2 not apache 2.0the problem is, and i initally had this problem on the server.the css and images are broken.To fix this on the server I had to add a / to the begining of each image and css urlhowever on the local machine this is not working. and it's quite a problem for working on my script.i'm working in a sub directory so my file path islocalhost/mysitethe only way it works on the local machine is if i add mysite/ to the begining of the image url.and i do have rewritebase set.any ideas? Quote Link to comment Share on other sites More sharing options...
yonta Posted September 29, 2006 Share Posted September 29, 2006 I had the same problem and the only thing that worked was adding <base href="<?php echo SITE_ROOT; ?>"/> where SITE_ROOT is "http://localhost/site/"in the head section of the page.Hope this helps 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.