httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BAO RuiXian" <bao.ruix...@atbusiness.com>
Subject RE: [users@httpd] Home directory access
Date Thu, 27 Feb 2003 13:54:59 GMT


> -----Original Message-----
> From: Michael Klama [mailto:nosedive@tampabay.rr.com]
> Sent: 27. helmikuuta 2003 6:50
> To: users@httpd.apache.org
> Subject: [users@httpd] Home directory access
> 
> <VirtualHost *>
> 	ServerAdmin hostmaster@domain.xxx
> 	DocumentRoot /home/*/public_html/
> 	ServerName host.domain.xxx
> 	<Directory /home/*/public_html/>
> 		AuthType Basic
> 		AuthName "Site Administration Login"
> 		AuthUserFile /path/to/password/file
> 		Require valid-user
> 	</Directory>
> 	ErrorLog /var/log/http/error_log
> 	CustomLog /var/log/http/access_log combined
> </VirtualHost>
> 
> The error that I see in the error log is   File does not exist
> /home/*/public_html/

According to the apache manual:

  The DocumentRoot should be specified without a trailing slash. 

Best

Bao


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