Current time: 11-25-2024, 03:49 PM Hello There, Guest! (LoginRegister)


Post Reply 
Changing /var/www
Author Message
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #1
Changing /var/www
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 ^_^
(This post was last modified: 01-04-2009 08:28 PM by TuxReaper.)
01-04-2009 08:27 PM
Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #2
RE: Changing /var/www
yes just change variabel system_virtual in coresponding Makefile
01-04-2009 11:13 PM
Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #3
RE: Changing /var/www
but i have already all installed...
01-05-2009 04:18 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: Changing /var/www
Take a look at ispcp.conf Wink
01-05-2009 05:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #5
RE: Changing /var/www
(01-05-2009 05:25 AM)sci2tech Wrote:  Take a look at ispcp.conf Wink

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 ^_^ Smile
01-06-2009 10:13 AM
Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #6
RE: Changing /var/www
I think that include recreate all apache virtual domain configuration
01-06-2009 12:12 PM
Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #7
RE: Changing /var/www
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?
(This post was last modified: 01-06-2009 07:59 PM by TuxReaper.)
01-06-2009 07:39 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #8
RE: Changing /var/www
You must recreate ALL config files when you change a variable in ispcp Wink
01-07-2009 07:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #9
RE: Changing /var/www
i have to recreate all config? how can i do that?and what are the config file to recreate?
thanks Smile
01-07-2009 07:53 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: Changing /var/www
With this you can regenerate you Apache Configs.
--> http://www.isp-control.net/documentation...ate_config
You must also change "/etc/passwd"

But what about a symlink from /var/www/virtual to /home/virtual ?

Greez BeNe
01-07-2009 08:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 7 Guest(s)