![]() |
New subdomains not added to Vhosts_ispconfig.conf?
Hi all;
I am experiencing a problem similar to the one Hans described in his first post here: http://howtoforge.org/forums/showthread.php?t=7409 Quote:
What would be the right place to check to find out where things are going wrong here? So far, I had a look at my server's /etc/apache2/vhosts/Vhosts_ispconfig.conf and noticed that while there are entries for all my other (sub)domains, no new vhosts were added for the newly created ones. I'd appreciate any help you can give. Thanks, kuckus |
There must be a error in your apache configuration.
1) Make a backup of /etc/apache2/vhosts/Vhosts_ispconfig.conf 2) Rename the latest file /etc/apache2/vhosts/Vhosts_ispconfig.conf_.... that has a date appended to /etc/apache2/vhosts/Vhosts_ispconfig.conf 3) run httpd -t to get the error message. |
I'm having the same problem, running debian 3.1 64 bit with ispconfig 2.2.7
The changes is not saved anymore in Vhosts_ispconfig.conf and if I clean the file of it's content, and run /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php nothing is saved either. No error message appears, but only: start ende and httpd -t gives Syntax OK Help very much apriciated |
Please doe xactly what I posted above. httpd -t gives you always OK if you dont copy the Vhost_ispconfig file with a date appended over the Vhost_ispconfig.conf file.
|
Similar problem
I've had a similar problem.
When i added a website the Vhosts file wasn't updated. Somehow on one of my domains there was an extra space 'www.domain.ltd ' I've tried removing it using the form but without success, i searched in the database and removed the space manually. Now when i create a new site it writes the new file as expected. @Till & Falko -> You should use trim() in your script before inserting / updating the form fields! Just a tip! Kind regards Martin |
Quote:
Quote:
thx for the debug help :-) |
Hello,
i had a similar issue. On my system the line in bold caused the issue: Code:
...After i removed that line httpd -t returns "Config OK", but still no new vhosts are added to the file. (I deleted an existing web, removed it from trashcan and recreated it - still no new entry. However teh timestap of the vhost config file changed, so "something" happend.) |
What's the output of
Code:
ls -la /root/ispconfig |
Thanks - find attached the requested info
Code:
mail:/etc/apache2/vhosts# ls -la /root/ispconfig/Code:
mail:/etc/apache2/vhosts# tail /home/admispconfig/ispconfig/ispconfig.logCode:
mail:/etc/apache2/vhosts# httpd -tThe trouble starts here: "php_admin_flag safe_mode Off" Code:
mail:/etc/apache2/vhosts# cat Vhosts_ispconfig.confIt's debian sarge - Here the output of the apache version used: Code:
#mail:/etc/apache2/vhosts# httpd -vRegards Wolfgang //EDIT: 1.) It seems that this thread adresses a similar issue: http://www.howtoforge.com/forums/showthread.php?t=12380 2.) All of this happend after updating from ispconfig 2.6.9 to 2.6.12. 3.) It seems that the root cause is that the php module is no longer loaded in apache2. Unfortunately i am not fimilar with vhost configurations. So i do not no where to load what. However i see in /etc/apache2/mods.enabled that suphp is going to be loaded. Code:
mail:/etc/apache2/mods-enabled# a2enmod |
Anyone having an idea?
|
| All times are GMT +2. The time now is 04:10. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.