Re: firefox shows default site page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sure, here are the content.

root@mail:/etc/apache2/sites-enabled# cat 000-default.conf |grep -v '#'
<VirtualHost *:80>

	ServerAdmin webmaster@localhost
	DocumentRoot /var/www/html


	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>



root@mail:/etc/apache2/sites-enabled# apachectl -S
VirtualHost configuration:
*:443                  is a NameVirtualHost
         default server openmbox.net (/etc/apache2/sites-enabled/homepage-le-ssl.conf:2)
         port 443 namevhost openmbox.net (/etc/apache2/sites-enabled/homepage-le-ssl.conf:2)
         port 443 namevhost mail.openmbox.net (/etc/apache2/sites-enabled/webmail-le-ssl.conf:2)
*:80                   is a NameVirtualHost
         default server mail.openmbox.net (/etc/apache2/sites-enabled/000-default.conf:1)
         port 80 namevhost mail.openmbox.net (/etc/apache2/sites-enabled/000-default.conf:1)
         port 80 namevhost openmbox.net (/etc/apache2/sites-enabled/homepage.conf:1)
         port 80 namevhost mail.openmbox.net (/etc/apache2/sites-enabled/webmail.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex default: dir="/var/run/apache2/" mechanism=default 
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: ENABLE_USR_LIB_CGI_BIN
User: name="www-data" id=33
Group: name="www-data" id=33



As you see, these two lines of output are quite strange:
         default server mail.openmbox.net (/etc/apache2/sites-enabled/000-default.conf:1)
         port 80 namevhost mail.openmbox.net (/etc/apache2/sites-enabled/000-default.conf:1)


so how to?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux