Current time: 11-16-2024, 10:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
Change WWW-directory
Author Message
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #1
Change WWW-directory
Hi all,

I installed ispCP today, everything worked fine, I only have one question, is it possible to use more then one www directory (on another location) or change the www directory?
At default the directory is /var/www, but my /var partition is only 8GB, my root (/) dir is on a partition on 120GB.
So current I only got 8GB of www-space, is there any solution?
03-11-2008 01:47 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #2
RE: Change WWW-directory
you could try a symlink

or just swap the partitions Tongue
03-11-2008 01:51 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: Change WWW-directory
Symlink should work.

I'd symlink /var/www to /ispcp/www and /var/mail to /ispcp/mail or whatever...

/J
03-11-2008 01:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #4
RE: Change WWW-directory
Thanks for your suggestions, should i use:
ln -s /ispcp/www /var/www
or
ln -s /var/www /ispcp/www
03-11-2008 02:10 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: Change WWW-directory
use midnight commander... :-)

but I think it's rather the first one...

the folder /var/www should not exist...
03-11-2008 02:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Numicus Offline
Junior Member
*

Posts: 19
Joined: Mar 2008
Reputation: 0
Post: #6
RE: Change WWW-directory
I used winSCP, worked great.
Thanks all for help!
03-11-2008 03:18 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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