Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Apache directory listing
post Jun 16 2006, 11:07 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 8
Joined: 6-June 06
Member No.: 6,485


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?

Go to the top of the page
+Quote Post
post Jun 16 2006, 01:41 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165

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")


Fixed your problem? Let us know! Online Event Management
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd June 2018 - 12:45 AM