httpd permissions question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm using yum-pull for creating a local yum repo. I have a non-root user
that runs the script and the files are stored in that user's home
directory. I'm trying to make that directory available with httpd. The
user owns all the files and subdirs and the rights on all the files is:
-rw-r--r--

I added this to the bottom of httpd.conf and restarted httpd.

Alias /repomirror /home/user1/YumRepo

<Directory /home/user1/YumRepo>
	Options Indexes FollowSymLinks MultiViews
	AllowOverride None
	Order allow,deny
	#Allow from 172.16 127.0.0.1
	#Deny from all
</Directory>

When I try to access http://servername/repomirror I get a 403 permission denied. 

What permissions need to be set? 
Can I publish the directory this way?

Thanks,
James


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux