LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-09-2006, 05:06 PM   #1
sc2sick
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, 05:17 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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
Code:
/var/www/html    /home/intranet       ext3      defaults,loop      0      0
 
  


Reply


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 08:44 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 05:37 PM
Questions regarding FTP server stuff... Gormless Linux - Networking 1 11-09-2004 08:39 AM
.bin and .tar.gz stuff for HLDS server Punker86 Linux - Software 4 11-06-2002 11:04 PM
Server side stuff=php Rawhead Linux - General 3 09-07-2002 11:42 AM


All times are GMT -5. The time now is 10:42 AM.

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