Virtual host

This is a discussion on Virtual host within the Apache Web Server forums, part of the Web Server and Related Forums category; Redhat 9.0 [root@linux bin]# ./apachectl start [Sun Aug 17 11:53:43 2003] [warn] module mod_php4.c is ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-17-2003
Jaz
 
Posts: n/a
Default Virtual host

Redhat 9.0

[root@linux bin]# ./apachectl start
[Sun Aug 17 11:53:43 2003] [warn] module mod_php4.c is already added,
skipping
[Sun Aug 17 11:53:43 2003] [warn] module php4_module is already loaded,
skipping
[Sun Aug 17 11:53:43 2003] [warn] VirtualHost 10.5.1.55:80 overlaps with
VirtualHost 10.5.1.55:80, the first has precedence, perhaps you need a
NameVirtualHost directive
[Sun Aug 17 11:53:43 2003] [warn] VirtualHost 10.5.1.55:80 overlaps with
VirtualHost 10.5.1.55:80, the first has precedence, perhaps you need a
NameVirtualHost directive
../apachectl start: httpd could not be started

my file httpd.conf
<VirtualHost 10.5.1.55>
ServerAdmin admin@dom
DocumentRoot /usr/local/apache/htdocs/
ServerName qmailadmin.dom
ErrorLog logs/qmailadmin.dom-error.log
CustomLog logs/qmailadmin.dom-access.log combined
<Directory /usr/local/apache/htdocs/>
AllowOverride AuthConfig Limit
Options SymLinksIfOwnerMatch Includes
</Directory>
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
ScriptAlias /global-cgi/ /usr/lib/cups/cgi-bin/

</VirtualHost>
<VirtualHost 10.5.1.55>
<Directory "/usr/local/apache/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>
</VirtualHost>

<VirtualHost 10.5.1.55>
ServerAdmin admin@dom
DocumentRoot /usr/local/apache/htdocs/webmail.dom
ServerName webmail.dom
ServerAlias mail.dom
ErrorLog logs/webmail.dom-error.log
CustomLog logs/webmail.dom-access.log combined
</VirtualHost>
"httpd.conf" 1100L, 37759C written


  #2 (permalink)  
Old 08-17-2003
Claudio Carobolante
 
Posts: n/a
Default Re: Virtual host

Jaz schrieb:

[...]

> VirtualHost 10.5.1.55:80, the first has precedence, perhaps you need a

^^^^^^^^^^^^^^^^^^
> NameVirtualHost directive

^^^^^^^^^^^^^^^^^^^^^^^^^

[...]

cc
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0