|
When my Ubuntu Apache server (apache2) starts up I get a warning message that reads:
[warn] NameVirtualHost *:80 has no VirtualHosts
however, the web server is working fine... could anyone explain what I might have wrong in my site's configuration to ...
Started by Kit Roed on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
It's because your....
I don't know an informative error.
This is typically not fatal, justThat could be because you have the NameVirtualHost directive in more than one place.
Have a NameVirtualHost without a matching VirtualHost entry.
|
|
I'm running WAMP v2.0 on WindowsXP and I've got a bunch of virtual hosts setup in the http-vhosts.conf file.
This was working, but in the last week whenever I try & start WAMP I get this error in the event logs:
VirtualHost *:80 -- mixing * ports and ...
Started by Glenn Slaven on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
NameVirtualHost *:80
I get this error:
Only one usage of each socket any other servers (or for example Skype) running?
(If it was Skype: untick "Tools > Options >.
To address 0.0.0.0:80" message).
|
|
Here is the error I get when booting up Apache2:
* Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [Wed Oct 21 16:37:26 2009] [error] VirtualHost *:80 -- mixing...
Started by rrc7cz on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
<The IP addresses named with NameVirtualHost have to match the IP address in each VirtualHost;/VirtualHost> <....
Example:
NameVirtualHost *:80 NameVirtualHost *:81 <VirtualHost *:80> # ...
Element.
|
Ask your Facebook Friends
|
My Ubuntu server has this in /etc/apache2/sites-enabled/002-foosite
<VirtualHost 72.14.xxx.yyy:80> ServerName foosite.com ServerAlias www.foosite.com DocumentRoot /home/bar/public_html ServerAdmin bar@gmail.com </VirtualHost>
Everytime I go...
Started by Jason F on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Virtualhosts....
For example, if server1.com and server2.com both had the same ip address, you would use a namevirtualhost for this.
A namevirtualhost is where you have different websites on different hostnames, but with the same ip address.
|
|
I have a LAMP server serving a number of different websites using NameVirtualHosts .
Until recently having a global php.ini file has been just fine, but recently one of our developers has requested some settings in php.ini that I'd rather not set globally...
Started by Brent on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
It also allows you to specify a PHP version for each VirtualHost....
For example one of my virtual hosts has this in the .htaccess
php which allows you to define a php.ini for each VirtualHost.
Or in the apache configuration for that site.
|
|
Hi all, I'm trying to install Redmine under apache. The apache server works on a local network. My apache setup consist on a single virtual host. I can get insto different directories using simply the path corresponding:
http://ip_address/folder_of_the...
Started by Ingo86 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Here's an example from my working Ubuntu server:
<VirtualHost *:80> ServerName redmine.int.example.com ServerAlias.
DocumentRoot at your Redmine public directory, and RailsBaseURI to point at / .
|
|
Hi,
If request is coming from http://xxx.domain.com ,
i want to be able to say;
DocumentRoot /home/${SUBDOMAIN_NAME}
so that Virtual host's DocumentRoot will be assigned to /home/xxx
Any way I can accomplish this?
Thanks, D
ps: please don't worry about...
Started by Devrim on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
NameVirtualHost *:80 <VirtualHost *:80> ServerName xxx.example.com DocumentRoot /www/xxx </VirtualHost>
above is a simple example of name-based...you can also use ip based:
<VirtualHost;/VirtualHost> <....
|
|
Can I make a vhost on apache to respond to a cname request? For example:
A-record of example.com is 1.2.3.4
foo.example.com is a CNAME for example.com
in http.conf:
<VirtualHost *:80> ServerName example.com DocumentRoot /var/www </VirtualHost...
Started by accidental admin on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
I got it working like this:
NameVirtualHost _default_:80 <VirtualHost _default_:80>):
NameVirtualHost *:80 <VirtualHost *:80> ServerName example.com DocumentRoot /var/www < ServerName example.com DocumentRoot ....
|
|
Hello all,
I have setup up 2 virtual hosts that share the same IP on a centos server running apache 2.
#<VirtualHost *:80> # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example...
Started by Abs on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
NameVirtualHost....
Is the following set in your httpd.conf?
NameVirtualHost *
An example from the documentation :
NameVirtualHost * <VirtualHost *> ServerName www.domain.tld DocumentRoot /www/domain < had issue.
|
|
Hi,
I want to configure four different domains, each with its own web directory:
Code: <VirtualHost 192.168.178.*:80> ServerAdmin support@example.com DocumentRoot "/usr/local/www/apache22/data" ServerName www.fritz.box ErrorLog "/var/log/www.fritz...
Started by bsus on
, 2 posts
by 2 people.
Answer Snippets (Read the full thread at freebsd):
/etc/hosts :
Code: 192.168.178.100 host-name
Fix;/VirtualHost> <VirtualHost....
I have used 192.168.178.100 as an example.
Code: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin support@example.com not be used.
Ifconfig ).
|