permission denied to access a css file

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

permission denied to access a css file

Postby survice » 29. March 2008 20:58


whe i run a script with css using

<link rel="stylesheet" href="path.css" />

i open my web developer extension and go to view css it prints:

<title>403 Forbidden</title>
<p>You don't have permission to access /drnona/stylesheets/drnona.css
on this server.</p>

i am logged as root user and i checked the folders perssion setting it says
read and write so i really dont know why i cant access a css file

would someone please help me
Posts: 2
Joined: 29. March 2008 20:44

Postby Nobbie » 06. April 2008 22:41

You have to enable the folder for Apache, what means you have to edit httpd.conf and grant access to /drnona/stylesheets/ using "Allow From All" inside a <Directory ...> Block.

You will find examples for that in you httpd.conf
Posts: 10716
Joined: 09. March 2008 13:04

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 6 guests