Changing /var/www - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Changing /var/www (/thread-5331.html) Pages: 1 2 |
Changing /var/www - TuxReaper - 01-04-2009 08:27 PM Hello all! first of all, happy new year to everyone! I have a fresh question, how i can change the virtual directory? i want put all sites on /home/something, it is possible? Bye ^_^ RE: Changing /var/www - blocker - 01-04-2009 11:13 PM yes just change variabel system_virtual in coresponding Makefile RE: Changing /var/www - TuxReaper - 01-05-2009 04:18 AM but i have already all installed... RE: Changing /var/www - sci2tech - 01-05-2009 05:25 AM Take a look at ispcp.conf RE: Changing /var/www - TuxReaper - 01-06-2009 10:13 AM (01-05-2009 05:25 AM)sci2tech Wrote: Take a look at ispcp.conf so it is necessary only to change APACHE_WWW_DIR = /var/www/virtual ?? no other changes?, and i have to copy all the old dir content in the new, right? Thanks very much ^_^ RE: Changing /var/www - blocker - 01-06-2009 12:12 PM I think that include recreate all apache virtual domain configuration RE: Changing /var/www - TuxReaper - 01-06-2009 07:39 PM i'm gonna try...! Edit: i modified APACHE_WWW_DIR = /var/www/virtual in /home/virtual (permissions OK) and FTP_HOMEDIR = /var/www/virtual from /etc/ispcp.conf, after that, i created /home/virtual with permissions, copied all files with all virtual domains, i renamed /var/www/virtual in /var/www/virtual_old. after that i rebooted the machine, but still no work (404 Error to all sites), it seems that there were no changes, infact i renamed /var/www/virtual_old in /var/www/virtual, and now it works... so i have to do some changes to other config files? RE: Changing /var/www - sci2tech - 01-07-2009 07:14 AM You must recreate ALL config files when you change a variable in ispcp RE: Changing /var/www - TuxReaper - 01-07-2009 07:53 AM i have to recreate all config? how can i do that?and what are the config file to recreate? thanks RE: Changing /var/www - BeNe - 01-07-2009 08:18 AM With this you can regenerate you Apache Configs. --> http://www.isp-control.net/documentation/howto/ispcp/regenerate_config You must also change "/etc/passwd" But what about a symlink from /var/www/virtual to /home/virtual ? Greez BeNe |