Instead of telling us your configuration is correct (which it obviously isn't) perhaps it would be easier for us to help if you post the actual configuration. I'd look at NameVirtualHost and all <VirtualHost> directives. -Victor On 5/23/06, Ming Tang <mtang@xxxxxxxxxxxxx> wrote:
Hi there, I intalled Apache 2.1.4 recently using ports on a computer with OS of FreeBSD Release 5.4. The software compiled fine, and installed without error. I could access my root web page if I don't run name-based virtual hosts. As soon as I include virtual hosts part in httpd.conf. I got the following errors. I checked all directory/file permission. They are all set as read, write and executable now. I checked DirectoryIndex, etc. They seems all covered for index.html, index.htm, etc. I am not running any secure http servers, and could not find any file for ".htaccress" using find command. No matter what I do I got the same error message. Can anyone help to provide a hint on solving the problem? Thanks a lot in advance. Regards, Ming Tang ---------------------------------------------------------------------------- Error Message on client's web page (http://www.homepage.com): Forbidden You don't have permission to access / on this server. Apache/2.1.4 (FreeBSD) Server at www.homepage.com Port 80 ---------------------------------------------------------------------------- Error Message in web page's access log file: [Thu May 18 02:07:37 2006] [error] [client 74.136.xxx.xxx] client denied by server configuration: /usr/www/homepage/ ---------------------------------------------------------------------------- The following error message occurs even before I started name-based virtual hosts. So really only http://www.homepage.com works if I don't run name-based virtual hosting. Error message on client's web page (http://www.homepage.com/~usename/): Forbidden You don't have permission to access /~username/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.1.4 (FreeBSD) Server at www.homepage.com Port 80 --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
-- http://www.victortrac.com