I have installed Apache on my local machine (Windows 7, using AppServ). I opened a library called "MySite" under AppServ directory, so to access it I use the following URL:

The problem is that when I use

<link type='text/css' href='/stylesheets/main.css' rel='stylesheet' media='all' /> 

The file is not loaded since it tries to look it in instead of .

How can I change this?



Accepted Answer

Edit your apache.conf File and set your DocumentRoot to MySite

Written by maka
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki