httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: [users@httpd] Apache under OSX -- directory listings denied
Date Sat, 05 Jul 2003 16:44:33 GMT


Justin French wrote:
> Hi all,
> 
> I'd appreciate a little help with permissions and that sort of stuff...
> 
> I have a working installation of Apache, with the docroot of:
> DocumentRoot "/Users/justinfrench/Documents/htdocs/"
> 
> When enter the url of a file in the browser 
> (http://<domain>/dir/file.xxx), everything is fine, but when I enter 
> just a directory (http://<domain>/somedir/), i get the following error:
> 
> "Forbidden
> You don't have permission to access /somedir/ on this server."

Please find the Options directive in your http.conf and add "+Indexes" 
to it, or change "-Indexes" to "+Indexes" if the former exists.

Best

Bao

> 1. apache is currently running as User justinfrench, Group admin.
> 
> 2. i've made sure all files within the docroot are owned by me:
> chmod -R justinfrench:admin htdocs
> 
> 3. even though it's a dumb move, I've even chmod -R 777 htdocs
> 
> But I still cannot get the default directory listing on a url like 
> http://<domain>/somedir/
> 
> 
> Has any one got some ideas?
> 
> 
> TIA
> Justin French



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message