Forum Moderators: phranque

Message Too Old, No Replies

Directory access - beginner

how to configure?

         

Zolley

12:20 pm on Feb 2, 2005 (gmt 0)

10+ Year Member



Hello,

I have two config problems, please suggest me something to do:

1) If I change the documentroot from /usr/local/apache2/htdocs to anything, I see only a white blank page when I want to see my page (dir exists, index.html is there).

2) I want access to files outside my documentroot directory but I always get 'access denied'. So I included

<Directory /something/other/docs>
Allowoverride None
Options All
Order allow,deny
Allow from all
</Directory>

in httpd.conf and restarted but nothing happened. What did I do wrong and what should I do instead?

Thanks,
Zolley

jdMorgan

11:17 pm on Feb 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Zolley,

Welcome to WebmasterWorld!

This sounds like a file permissions problem, not an HTTP connection problem... Make sure the directories are readable by the user that your server is running as.

The Allow and Deny directives affect HTTP connections to the server, not server file access.

Jim

Zolley

9:14 am on Feb 3, 2005 (gmt 0)

10+ Year Member



THanks!