Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 22nd April 2006, 15:24
Hans Hans is offline
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Exclamation Apache - Virtual hosts - ISPConfig

After adding a new site within ISConfig 2.2.1 via > ISP Manager > New site > there appear NO modifcations within /etc/apache2/vhosts/Vhosts_ispconfig.conf
The result is that the created website is NOT reachable from the Internet.

I have also seen that there is a long list in directory /etc/apache2/vhosts/ with different Vhost files like: /etc/apache2/vhosts/Vhosts_ispconfig.conf_22-04-06_13-23-59

I have to say that every time I create a new website in ISPConfig, the virtual host for the last site appears in the last file like: /etc/apache2/vhosts/Vhosts_ispconfig.conf_dd-mm-yy_hr-min-sec.

So I did the following to solve the problem:
I renamed /etc/apache2/vhosts/Vhosts_ispconfig.conf to /etc/apache2/vhosts/Vhosts_ispconfig-old.conf

I copied the last and most up to date /etc/apache2/vhosts/Vhosts_ispconfig.conf_dd-mm-yy_hr-min-sec to /etc/apache2/vhosts/Vhosts_ispconfig.conf

I restarted Apache by: /etc/init.d/apache2 restart

While starting up Apache again an error occurs:

Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration.

I removed all the lines starting with 'php_admin_flag' within my new /etc/apache2/vhosts/Vhosts_ispconfig.conf

After this, Apache is starting up successfully again, although it gave me a warning:

Forcing reload of web server: Apache2 ... no pidfile found! not running?

And, via ISPConfig I can NOT add new virtualhosts within my file /etc/apache2/vhosts/Vhosts_ispconfig.conf.

How can I solve this problem?

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16
No PHP on Virtual Hosts tmeyer Installation/Configuration 13 28th February 2006 19:44
apache and virtual hosts stored in postgresql variable Server Operation 3 28th December 2005 12:48
Duplicate virtual hosts bosei General 13 22nd December 2005 18:48
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58

All times are GMT +2. The time now is 04:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.