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

Hello,

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:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /drnona/stylesheets/drnona.css
on this server.</p>
</body></html>

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
survice
 
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
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 75 guests