LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache server stuff (https://www.linuxquestions.org/questions/linux-newbie-8/apache-server-stuff-453253/)

sc2sick 06-09-2006 04:06 PM

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.

pljvaldez 06-09-2006 04:17 PM

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


All times are GMT -5. The time now is 05:24 AM.