/var/www folder

Discussion in 'Installation/Configuration' started by Gem, Jan 27, 2006.

  1. Gem

    Gem New Member

    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!
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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
    This is handled by ISPConfig. Otherwise you wouldn't need a control panel, if you had to do this manually.;)
     
  3. Gem

    Gem New Member

    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
    How do I do that?
     
  4. falko

    falko Super Moderator ISPConfig Developer

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



    You could use phpMyAdmin for that, or you do it on the command line which can be a bit complicated.
     
  5. Gem

    Gem New Member

    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: Jan 27, 2006

Share This Page