You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Da...@telia.se on 2002/09/26 14:43:25 UTC

[users@httpd] howto get started

If I try to connect a users homepage on my webserver before I have created the public_html dir in the users home dir I get this:
Forbidden
You don't have permission to access /~pia on this server.
--
And if I create the public_html dir in the users home dir and then try to access it I get this:
--
Information Alert 

Status : 504 Gateway Time-Out 
Description : Unable to connect to origin web server. The web site you are attempting to access is currently unreachable. This may be due to a network outage, or the web site might be experiencing technical difficulties. 
--

If I check the error_log it says: "client denied by server configuration: /home/pia/public_html

---------------------------------------------------------------------
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


RE: [users@httpd] howto get started

Posted by Dave Stahr <da...@prairiesys.com>.
> If I check the error_log it says: "client denied by server
configuration:
> /home/pia/public_html

You should see this commented code in your httpd.conf file:
#<Directory /home/*/public_html>
#    AllowOverride FileInfo AuthConfig Limit
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#    <Limit GET POST OPTIONS PROPFIND>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <LimitExcept GET POST OPTIONS PROPFIND>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>
#</Directory>

Uncomment it, and restart apache.  Also ensure that the user the web
server is running as has permission to get to the user directories.


---------------------------------------------------------------------
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