Any except this one perhaps?

Syntax error on line 270 of /etc/apache/httpd.conf:
Listen cannot occur within <VirtualHost> section


Kenneth E. Lussier wrote:

>On Fri, 2002-03-29 at 11:31, Andrew W. Gaunt wrote:
>
>>I wonder, is there a way to tell apache to use a different document root
>>depending on the port? That would be cool way for sorting it out.
>>
>
>You can use the virtual host container to set port, document root, etc.:
>
><VirtualHost ip.address.of.host.some_domain.com>
>    Listen 81
>    ServerAdmin [EMAIL PROTECTED]
>    DocumentRoot /some/path/accessable/to/www-user
>    ServerName host.some_domain.com
>    ErrorLog logs/host.some_domain.com-error.log
>    CustomLog logs/host.some_domain.com-access.log common
></VirtualHost>
>
>You can use almost any standard apache directive inside of the VH
>container that you would use in a standard config.
>
>C-Ya,
>Kenny
>



*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to