How to change Apache Directory

Discussion in 'Installation/Configuration' started by cybereatl, Mar 25, 2006.

  1. cybereatl

    cybereatl New Member

    Am running an stand alone server and I need to user the directory:

    /home/www instead of /var/www/html

    How can I do that??

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The path is set in your apache configuration. The config files are either in /etc/apache or /etc/apache2 directory.
     
  3. cybereatl

    cybereatl New Member

    I try to find the folder but I got:
    /etc/httpd/conf/httpd/conf but not sure if that is the proper one.

    I've modified that folder and restart apache and it works, only thing was complaining about, because need that I've created folder in /home/www

    Thanks
     
    Last edited: Mar 26, 2006
  4. sbovisjb1

    sbovisjb1 ISPConfig Developer ISPConfig Developer

    Here are what i think you want

    if you want to change directories, use the commands mkdir and make a new directory. If you have already done that. Use the mv and touch commands to move and rename pertinant files.
     
  5. cybereatl

    cybereatl New Member

    Yes, that's right I have done that.

    Thanks a lot

    Regards,
     

Share This Page