![]() |
Duplicate virtual hosts
When I look at apache virtual hosts in webmin I see duplicated virtualhosts. Is this correct or is ISPC somehow re-creating hosts each time I make an amendment? I have screenshots in .png format but they are too large to attache here so I will mail them to Falko and Till.
Thanks for any forthcoming solution. Bosei |
What do you mean with duplicate virtual hosts? What does webmin say? I didn't receive a mail from you...
|
Quote:
One question. Was your Linux system empty (fresh install) as you installed ISPConfig or had you already hosted some websites on this server before you installed ISPConfig and these sites show now up as duplicates? |
I know what he means, recently I had a direct look into my apache configfiles I guess it was vhosts.conf or so and there where duplicate lines (entries) like:
<virtualhost:xx.xx.xx.xx:80> <virtualhost:xx.xx.xx.xx:80> just two identical lines of code, I also found duplicate Listen xx.xx.xx.xx 80 Listen xx.xx.xx.xx 80 lines or was it Port 80 Port 80? I did not think much about that I just deleted one of every duplicate ;-)) I thought those entries senseless and anyway I was installing on a test machine |
Just checked all my conf files for duplicate lines, and didn't find any.
|
maybe bosei andme both didthe same thingwrong ;-))
|
I just found this line
Quote:
left it there as I don't know where it comes from... |
Maybe you entered the IP twice in the management part of ISPConfig?
|
ahh, thats it I wasn't sure if I am supposed to enter the IP from above in the list below too. seems only additional adresses get in there, thx ;-)
|
Quote:
When I recently upgraded ISPConfig. This confirms my suspicion and the problem first happened after a previous re-install. Please see below: Creating new config (0x81b0d78) for (null) Getting register_globals=1 for 0x81b0d78 (0) Getting safe_mode=0 for 0x81b0d78 (1) Merge dir (0x80f3758) (0x81b0d78) Merge dir (0x80f3758) (0x81ae818) Merge dir (0x80f3758) (0x81ad1b8) Merge dir (0x80f3758) (0x81aab80) Merge dir (0x80f3758) (0x81a37e8) Merge dir (0x80f3758) (0x81a11a0) Merge dir (0x80f3758) (0x819fe28) Merge dir (0x80f3758) (0x819d718) [Tue Nov 22 01:02:46 2005] [warn] VirtualHost 192.168.1.5:443 overlaps with VirtualHost 19 2.168.1.5:443, the first has precedence, perhaps you need a NameVirtualHost directive [Tue Nov 22 01:02:46 2005] [warn] VirtualHost 192.168.1.10:443 overlaps with VirtualHost 1 92.168.1.10:443, the first has precedence, perhaps you need a NameVirtualHost directive [Tue Nov 22 01:02:46 2005] [warn] NameVirtualHost 192.168.1.10:80 has no VirtualHosts [Tue Nov 22 01:02:46 2005] [warn] NameVirtualHost 192.168.1.5:80 has no VirtualHosts Destroying config 0x81b0d78 .................................................. .............................................. Also, see entries in webmin (converted to text as screenshot file too large to post here) below: Virtual Servers Default Server Defines the default settings for all other virtual servers, and processes any unhandled requests. Address Any Port Any Server Name ex01.xconsultants.ltd Document Root /srv/www/htdocs Virtual Server Handles all requests to the address 192.168.1.10 on port 80. Address 192.168.1.10 Port 80 Server Name www.someaccess.com:80 Document Root /srv/www/web6/web Virtual Server Handles all requests to the address 192.168.1.10 on port 443. Address 192.168.1.10 Port 443 Server Name www.someaccess.com:443 Document Root /srv/www/web6/web Virtual Server Handles all requests to the address 192.168.1.5 on port 80. Address 192.168.1.5 Port 80 Server Name www.xconsultants.ltd:80 Document Root /srv/www/web7/web Virtual Server Handles all requests to the address 192.168.1.5 on port 443. Address 192.168.1.5 Port 443 Server Name www.xconsultants.ltd:443 Document Root /srv/www/web7/web Virtual Server Handles all requests to the address 192.168.1.10 on port 80. Address 192.168.1.10 Port 80 Server Name www.someaccess.com:80 Document Root /srv/www/web6/web Virtual Server Handles all requests to the address 192.168.1.10 on port 443. Address 192.168.1.10 Port 443 Server Name www.someaccess.com:443 Document Root /srv/www/web6/web Virtual Server Handles all requests to the address 192.168.1.5 on port 80. Address 192.168.1.5 Port 80 Server Name www.xconsultants.ltd:80 Document Root /srv/www/web7/web Virtual Server Handles all requests to the address 192.168.1.5 on port 443. Address 192.168.1.5 Port 443 Server Name www.xconsultants.ltdk:443 Document Root /srv/www/web7/web |
| All times are GMT +2. The time now is 01:02. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.