#1  
Old 20th January 2009, 20:39
Drkoop81 Drkoop81 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Vhosts_ispconfig.conf is blank

I am having a problem with sites resolving to /var/www instead of their web1 web2 folders. Probably something simple I am not recognizing.

Install went fine, I logged in, and I setup a first site like have done in the past but no go. It points to the root directory. I went looking for my Vhosts_ispconfig.conf file and it was blank. Is it supposed to be blank? The apache config file looks ok from what I know.

Thanks for all the hard work on this. I really like ispconfig. It is awesome.

Koop
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2009, 07:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,012
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Please try this:

http://www.howtoforge.com/forums/showpost.php?p=45966
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st January 2009, 17:32
Drkoop81 Drkoop81 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok after making a backup of the Vhosts_ispconfig.conf and renaming the latest dated one I ran

Code:
httpd -t
it gave me an error

httpd: bad user name ${APACHE_RUN_USER}
Reply With Quote
  #4  
Old 21st January 2009, 17:38
Drkoop81 Drkoop81 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Alright,
based on this post I googled
http://www.howtoforge.com/forums/showthread.php?t=22933

I changed the user and group in my /etc/apache2/apache2.conf to this below

Code:
# These need to be set in /etc/apache2/envvars
User www-data
Group www-data
Lets see if this works.
Reply With Quote
  #5  
Old 21st January 2009, 18:28
Drkoop81 Drkoop81 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So far it is not working. I changed the user and group www-data and restarted Apache. Not there yet.
Reply With Quote
  #6  
Old 21st January 2009, 18:45
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,012
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Then do the test again and see which error you are getting now.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 21st January 2009, 20:39
Drkoop81 Drkoop81 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yup I am on it..... Now I get an error

Code:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
Reply With Quote
  #8  
Old 21st January 2009, 21:37
Drkoop81 Drkoop81 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I am not sure what I did to disable the php module but as silly as that is I am now good to go.

All I needed to do was

'a2enmod php5' to enable the php module. Cheers to you Till for your patience and diligence.

Koop over n' out
Reply With Quote
Reply

Bookmarks

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
mydns with blank host names tom88 Tips/Tricks/Mods 0 14th October 2008 02:53
blank emails, no headers friday General 1 14th July 2008 23:17
index.php is showing up blank alexwalkey Installation/Configuration 24 11th January 2008 00:44
Can't set blank hostname pendland Installation/Configuration 4 31st March 2007 16:21
Frequent blank page when first opening site? minezamac Installation/Configuration 3 1st May 2006 20:55


All times are GMT +2. The time now is 18:12.


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