Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Virtual host

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  server root  
Author Message
jazxyz

External


Since: Jul 31, 2003
Posts: 3



(Msg. 1) Posted: Sun Aug 17, 2003 2:57 pm
Post subject: Virtual host
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Virtual host 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 2) Posted: Sun Aug 17, 2003 5:15 pm
Post subject: Re: Virtual host [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jaz schrieb:

[...]

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

[...]

cc<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Virtual host 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Virtual Host From PS? - Ok.. so I am running a server with a bunch of virtual hosts.. Someone on one of them is running a PHP script or CGI thats causing problems and im getting huge load spikes and sometimes even crashing the entire server requiring a hard reboot to fix it.. ...

automatic Virtual Host - Hello, on my dedicaced server, I would like that : the domain multinetworks.net is accessible in /home/multinetworks.net and that all sub-domaines are also accesible : I mean : When someone type : http://www.CrazyNetwork.net/ it take the files in : ..

Virtual Host - Bad Request - ==> One IP, may hostnames. (name based virtual host) When I set the IP address of the virtual hosts explicitly they work fine: -------part of conf file-------- NameVirtualHost 65.94.21.150 <VirtualHost 65.94.21.150> ServerAdmin webmaster@ha...

IP/Hostname Virtual Host - Hello, Is there a way I can create a virtual host based on a DYNAMIC IP and hostname? In other words, I want to redirect people who connect to my site with my IP address (e.g. http://62.252.64.3) or its hostname (e.g. http://a553e3.25sv543ca.myisp.com)....

my Virtual host is Virtual Toast - hi everyone ! Well after trying a few different configurations of the following lines of code I am still finding that I can only get the sites to go to the htdocs dir and not the subdirectories ... I keep on trying different things i read in..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]