Problem with directory

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with directory

Postby Weasley » 18. March 2009 17:37

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
Weasley
 
Posts: 2
Joined: 18. March 2009 17:30

Re: Problem with directory

Postby Weasley » 18. March 2009 18:06

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.
Weasley
 
Posts: 2
Joined: 18. March 2009 17:30


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 107 guests