Results 1 to 10 of 23
-
5th Jun 2012, 03:36 PM #1OPMemberWebsite's:
tribalz.euvar/www
hi how to change var/www to /home/....
I use VPS debian 6waito Reviewed by waito on . var/www hi how to change var/www to /home/.... I use VPS debian 6 Rating: 5
-
5th Jun 2012, 03:43 PM #2Retired NinJaWebsite's:
loledhard.comyou have to alter settings in httpd.conf
You can change ever path that says /var/www/ to /home/
to know the exact path of httpd.conf in your OS use this command in ssh
Code:find / -name httpd.conf
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
5th Jun 2012, 03:51 PM #3MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comreplace /var/www with /home in httpd.conf
-
5th Jun 2012, 03:57 PM #4OPMemberWebsite's:
tribalz.eumy httpd.conf is Blank
link to screnn http://www.filpic.eu/di-I15G.png
-
5th Jun 2012, 05:21 PM #5MemberWebsite's:
bypassx.comPerhaps you have more than one httpd.conf file on your system?
-
5th Jun 2012, 06:34 PM #6OPMemberWebsite's:
tribalz.euone im system debian 6
-
5th Jun 2012, 06:35 PM #7MemberWebsite's:
epicimagehost.comYou can enter this in your terminal/console/ssh...
Change username to the actual username!
Code:sudo cp -R /var/www/ /home/username/ sudo chown -R username:username /home/username/www/ sudo rm -r /var/www/ sudo ln -s /home/username/www /var/www
Do this
Code:sudo nano /etc/apache2/sites-enabled/default
Pro-tip: /var/www/ might occur multiple times, make sure to change ALL /var/www's
Pro-tip?: when you're done, make sure to restart apache.
Code:sudo /etc/init.d/apache2 restart
to all those saying edit httpd.conf.
In debian httpd.conf is named apache2.conf
In debian all the virtualhost-shit isn't set in apache2.conf but placed in /etc/apache2/sites-enabled/ ( actually /sites-available and linked to sites-enabled )
This ofcourse if the apache2 package got installed using the package manager.
-
5th Jun 2012, 06:39 PM #8OPMemberWebsite's:
tribalz.euI use Debian 6.0 and ISP CONFIG
-
5th Jun 2012, 06:41 PM #9MemberWebsite's:
epicimagehost.comYes, but you should have root access, so just fire up putty ( google it ) and connect to your server like a boss.
I can't help you further if you can't connect using SSH.
Perhaps someone else can take it from here.
EDIT:
Checked your screenshot.
You have SSH, good. Now just do what I said.
If ISP CONFIG crashes due to what you're going to do, you'll have killed two birds with one stone!
-
5th Jun 2012, 06:44 PM #10OPMemberWebsite's:
tribalz.euI connect SSH
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
themaRegister - register to forums...
Version 3.55 released. Open older version (or...