You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bryan Luisana <br...@unity.ncsu.edu> on 2002/02/13 18:18:53 UTC

vhost help

I have vhosts setup in my httpd.conf.

<VirtualHost *>
ServerAdmin bryanl@tridentnetworking.com
DocumentRoot htdocs/www/trident
ServerName www.tridentnetworking.com
ErrorLog logs/trident_error_log
</VirtualHost>

<VirtualHost *>
ServerAdmin intrex@wormtribe.com
DocumentRoot htdocs/www/wormtribe
ServerName www.wormtribe.com
ErrorLog logs/worm_error_log
</VirtualHost>

<VirtualHost *>
ServerAdmin intrex@wormtribe.com
DocumentRoot htdocs/www/wormtribe
ServerName yo.wormtribe.com
ErrorLog logs/yoworm_error_log
</VirtualHost>

The config file test ok with no errors, but I can't get the pages to
load.

does directoryindex point go the defualt files in the directories for my
vhosts?

Where am I going wrong




---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


RE: vhost help

Posted by Joshua Slive <jo...@slive.ca>.
> From: Bryan Luisana [mailto:brluisan@unity.ncsu.edu]

> > DocumentRoot htdocs/www/trident

> The error that I am getting when trying to access any of these
> hosts is 404
> file not found.

Try using absolute paths in your DocumentRoot directives, rather than paths
relative to the ServerRoot.  Also, check the contents of the error log.

Joshua.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: vhost help

Posted by Bryan Luisana <br...@unity.ncsu.edu>.

Bryan Luisana wrote:

> I have vhosts setup in my httpd.conf.
>
> <VirtualHost *>
> ServerAdmin bryanl@tridentnetworking.com
> DocumentRoot htdocs/www/trident
> ServerName www.tridentnetworking.com
> ErrorLog logs/trident_error_log
> </VirtualHost>
>
> <VirtualHost *>
> ServerAdmin intrex@wormtribe.com
> DocumentRoot htdocs/www/wormtribe
> ServerName www.wormtribe.com
> ErrorLog logs/worm_error_log
> </VirtualHost>
>
> <VirtualHost *>
> ServerAdmin intrex@wormtribe.com
> DocumentRoot htdocs/www/wormtribe
> ServerName yo.wormtribe.com
> ErrorLog logs/yoworm_error_log
> </VirtualHost>
>
> The config file test ok with no errors, but I can't get the pages to
> load.
>
> does directoryindex point go the defualt files in the directories for my
> vhosts?
>
> Where am I going wrong

The dns server is pointing to the correct addresses (I am able to use vhosts
using a sambar server that was installed on the same machine).

The error that I am getting when trying to access any of these hosts is 404
file not found.

Please help

>
>
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org