Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-09-2006, 04:06 PM   #1
LQ Newbie
Registered: Apr 2005
Location: St. Paul, MN
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
Apache server stuff

I pretty much have a LAMP setup going... however is there a way I can configure apache to instead of getting its files from /var/www/html to say /home/intranet? this would make my life a whole lot easier because I can't seem to get vsftp to allow me to ftp into /var/www/html/(anything) .

if i can get this to work i want to write a tutorial from scratch on how to set up a forum server and stuff.
Old 06-09-2006, 04:17 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
I believe the configuration for that is in the apache2.conf file. It's been a while since I messed with apache. Look for "root directory".

As for letting FTP into that directory, the trick is to mount that directory on a loopback interface so that it is within your jailed zone (you're probably using chroot jails with VSFTP). In fstab, it should look something like
/var/www/html    /home/intranet       ext3      defaults,loop      0      0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rogue stuff started by Apache stefaandk Linux - Security 2 06-09-2005 07:44 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM
Questions regarding FTP server stuff... Gormless Linux - Networking 1 11-09-2004 07:39 AM
.bin and .tar.gz stuff for HLDS server Punker86 Linux - Software 4 11-06-2002 10:04 PM
Server side stuff=php Rawhead Linux - General 3 09-07-2002 10:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration