Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Httpd -S show two source of a site when its config in one |
|
Author |
|
kr1ps
Joined: 31 Jan 2014 Posts: 2 Location: Santo Domingo
|
Posted: Fri 31 Jan '14 19:04 Post subject: Httpd -S show two source of a site when its config in one |
|
|
Greetings,
When i do httpd -S i notice one of my sites show with 2 config source. but i just config one file for the site.
for example:
[root@apachesrv ~]# httpd -S | grep devel.site.com
default server devel.site.com (/etc/httpd/sites/000-default.site.com:1)
port 80 namevhost devel.site.com (/etc/httpd/sites/000-default.site.com:1)
port 80 namevhost devel.site.com (/etc/httpd/sites/devel.site.com:1)
the problem is the following, when i do reload and in this moment the config is bind this result, the site is blank.
anyone know why it shows me this.
version of apache
Server version: Apache/2.2.15 (Unix) |
|
Back to top |
|
kr1ps
Joined: 31 Jan 2014 Posts: 2 Location: Santo Domingo
|
Posted: Fri 31 Jan '14 22:21 Post subject: FIX |
|
|
guys,
checking the configuration files, in one of them the servername directive was not set.
i hope this will help others. |
|
Back to top |
|
|
|
|
|
|