#1  
Old 27th January 2006, 04:43
Gem Gem is offline
Junior Member
 
Join Date: Jan 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Red face /var/www folder

So I install ISPconfig and it istalls perfectly...yeahhh....then I realizes that I made a stupid mistake....I did not chose expert mode and did not change the www folders to /var/www....is there a way to do this at this point? or do I have to remove/reinstall? If I do, how do I do this.

Also, once I get it up and running the way I want it...do I need to put the information of the virtual hosts in the httpd.conf file, or does ISPconfig do that?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 27th January 2006, 08:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by Gem
So I install ISPconfig and it istalls perfectly...yeahhh....then I realizes that I made a stupid mistake....I did not chose expert mode and did not change the www folders to /var/www....is there a way to do this at this point? or do I have to remove/reinstall? If I do, how do I do this.
Open /root/ispconfig/httpd/conf/httpd.conf, /home/admispconfig/ispconfig/lib/config.inc.php, the ISPConfig database (especially the table isp_server) and replace /home/www with /var/www everywhere. Also do it in the ISPConfig web interface. Restart ISPConfig afterwards:
Code:
/etc/init.d/ispconfig_server restart
Quote:
Originally Posted by Gem
Also, once I get it up and running the way I want it...do I need to put the information of the virtual hosts in the httpd.conf file, or does ISPconfig do that?

Thanks!
This is handled by ISPConfig. Otherwise you wouldn't need a control panel, if you had to do this manually.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th January 2006, 13:53
Gem Gem is offline
Junior Member
 
Join Date: Jan 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Open /root/ispconfig/httpd/conf/httpd.conf, /home/admispconfig/ispconfig/lib/config.inc.php, the ISPConfig database (especially the table isp_server) and replace /home/www with /var/www everywhere. Also do it in the ISPConfig web interface. Restart ISPConfig afterwards:
I opend up both of those files and for the root documents there was:

Code:
DocumentRoot "/home/admispconfig/ispconfig/web"
So I changed that to:

Code:
/var/www
Quote:
the ISPConfig database (especially the table isp_server)
How do I do that?
Reply With Quote
  #4  
Old 27th January 2006, 19:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by Gem
I opend up both of those files and for the root documents there was:

Code:
DocumentRoot "/home/admispconfig/ispconfig/web"
So I changed that to:

Code:
/var/www
Please undo that! I said you should replace /home/www with /var/www, not replace /home/admispconfig/ispconfig/web with /var/www!



Quote:
Originally Posted by Gem
How do I do that?
You could use phpMyAdmin for that, or you do it on the command line which can be a bit complicated.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th January 2006, 19:46
Gem Gem is offline
Junior Member
 
Join Date: Jan 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Please undo that! I said you should replace /home/www with /var/www, not replace /home/admispconfig/ispconfig/web with /var/www!
errr...thats what I get for rushing....I will change that...and install phpMyAdmin and see what happens...

thanks for all of your help....

*edits because I figured out the question I had*

Last edited by Gem; 27th January 2006 at 20:19.
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
Create imap folder alex916 Installation/Configuration 12 9th April 2007 22:04
550 New Folder: Disk Quota exceeded Geoinline Installation/Configuration 5 6th March 2007 18:40
how to change Web-Root: /home/www to /var/www/ mtuser Installation/Configuration 1 1st January 2006 13:01
I noticed a resellers image folder traccer General 1 10th December 2005 14:06
cannot chmod (change owner of folder) ? Ovidiu Technical 2 23rd October 2005 18:33


All times are GMT +2. The time now is 07:13.


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