Page 1 of 1

Problem with directory

PostPosted: 18. March 2009 17:37
by Weasley
There may be a solution for this, though I don't know really what to call the problem so I don't know what to search for it.

Anyway, I'm planning on using mod_rewrite in .htaccess for my websites I build in XAMPP, however to do so it is recommended that I put a "/" before everything to make sure that if the url for the file "film.php" is "film/", so when I include the stylesheet I call to it like "/css/style.css" rather than "css/style.css". However when I call to something with a forward slash at the beginning of the url it wants me to to have the file in the directory: "C:/css/style" rather than "htdocs/css/style.css". How do I run XAMPP so that it allows me to call stuff like "/css/style.css" while the "css" folder is within "htdocs/"?

Thanks

Re: Problem with directory

PostPosted: 18. March 2009 18:06
by Weasley
Actually I shouldn't worry about it now, what I've done is created a new 2gb partition called X:\ and relocated the DocumentRoot in Apache to that.