Help - Search - Members - Calendar
Full Version: Apache directory listing
Linuxhelp > Support > Technical Support

I recently installed Apache http server on my linux distribution Fedora Core 3. It's main folder is now set to /var/www/html but I would like to change default folder to /home/ftp/pub which is already used by vsftpd. What do I have to change now in config file so Apache will list files from my anonymous FTP folder (/home/ftp/pub) but not load index files from /var/www/html? I already tried to use "alias" in config file but without success. Everytime I get "403 Forbidden" error.
Any ideas how to do that?

You need to set the "DocumentRoot" option. Make sure that the directory you set it to is readable by Apache (which often runs as user "httpd" or "nobody")

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.