c10n3d_0r6
Senior Member
- Joined
- Nov 1, 2005
- Messages
- 627
- Reaction score
- 12
Hi
I've installed Apache on my Ubuntu system to start learning so web develpment on it. I used to have xampp installed in Win 7. The web pages load fine if they are in the root directory (var/www/folder) by typing http://localhost/folder in Firefox, however anything in subsequent folders don't work.
I have my css files in a sub-folder (var/www/folder/css), but they won't load. When I type the address for it I get a 403 Forbidden error. The pages however work when typing file:///var/www/folder/css/ into the browser. Just not when using localhost. Is there anyway to fix this? I don't want to have to have all my files lying in my root directory, especially as it worked on Windows.
Regards
I've installed Apache on my Ubuntu system to start learning so web develpment on it. I used to have xampp installed in Win 7. The web pages load fine if they are in the root directory (var/www/folder) by typing http://localhost/folder in Firefox, however anything in subsequent folders don't work.
I have my css files in a sub-folder (var/www/folder/css), but they won't load. When I type the address for it I get a 403 Forbidden error. The pages however work when typing file:///var/www/folder/css/ into the browser. Just not when using localhost. Is there anyway to fix this? I don't want to have to have all my files lying in my root directory, especially as it worked on Windows.
Regards