Re: Apache2 directory listing problem F16

2012-07-31 Thread Tim
On Mon, 2012-07-30 at 11:38 -0500, Steven Stern wrote: > It would be nice if there were a cp option to adopt the context of > the target. If you copy, the files get the right context based on the filepath for where they're copied to. i.e. If you cp homepage.html /var/www/html/ the homepage.html

Re: Apache2 directory listing problem F16

2012-07-30 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/30/2012 11:06 AM, Mark Haney wrote: > On 07/30/2012 10:46 AM, Steven Stern wrote: >> On 07/30/2012 08:41 AM, Mark Haney wrote: >>> On 07/27/2012 01:22 PM, David Quigley wrote: > >>> Everything I've tried seems to end up with an SELinux error. I

Re: Apache2 directory listing problem F16

2012-07-30 Thread Rick Stevens
On 07/30/2012 09:38 AM, Steven Stern issued this missive:: On 07/30/2012 11:06 AM, Mark Haney wrote: On 07/30/2012 11:26 AM, Steven Stern wrote: If you copied files from some other directory into pics, then they probably brought along their existing context. Go back to /var/www/html and try

Re: Apache2 directory listing problem F16

2012-07-30 Thread Steven Stern
On 07/30/2012 11:06 AM, Mark Haney wrote: > On 07/30/2012 11:26 AM, Steven Stern wrote: If you copied files from some other directory into pics, then they >>probably brought along their existing context. Go back to /var/www/html >>and try "sudo restorecon -r *". >> >>> > >

Re: Apache2 directory listing problem F16

2012-07-30 Thread Mark Haney
On 07/30/2012 11:26 AM, Steven Stern wrote: If you copied files from some other directory into pics, then they >>probably brought along their existing context. Go back to /var/www/html >>and try "sudo restorecon -r *". >> > >I've attached the full output of the troubleshooter just in case I >ma

Re: Apache2 directory listing problem F16

2012-07-30 Thread Steven Stern
On 07/30/2012 10:06 AM, Mark Haney wrote: > On 07/30/2012 10:46 AM, Steven Stern wrote: >> On 07/30/2012 08:41 AM, Mark Haney wrote: >>> On 07/27/2012 01:22 PM, David Quigley wrote: > >>> Everything I've tried seems to end up with an SELinux error. I've got >>> it disabled now, but haven't reboot

Re: Apache2 directory listing problem F16

2012-07-30 Thread Mark Haney
On 07/30/2012 10:46 AM, Steven Stern wrote: On 07/30/2012 08:41 AM, Mark Haney wrote: On 07/27/2012 01:22 PM, David Quigley wrote: Everything I've tried seems to end up with an SELinux error. I've got it disabled now, but haven't rebooted to see if that fixes it. It's strange, the troublesh

Re: Apache2 directory listing problem F16

2012-07-30 Thread Steven Stern
On 07/30/2012 08:41 AM, Mark Haney wrote: > On 07/27/2012 01:22 PM, David Quigley wrote: >> On 07/27/2012 12:46, Tim wrote: >>> On Fri, 2012-07-27 at 11:55 -0400, Mark Haney wrote: The problem is, no matter what I do, I get an access denied error. By default apache2 has INDEXES enabled fo

Re: Apache2 directory listing problem F16

2012-07-30 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/30/2012 09:41 AM, Mark Haney wrote: > On 07/27/2012 01:22 PM, David Quigley wrote: >> On 07/27/2012 12:46, Tim wrote: >>> On Fri, 2012-07-27 at 11:55 -0400, Mark Haney wrote: The problem is, no matter what I do, I get an access denied error.

Re: Apache2 directory listing problem F16

2012-07-30 Thread Mark Haney
On 07/27/2012 01:22 PM, David Quigley wrote: On 07/27/2012 12:46, Tim wrote: On Fri, 2012-07-27 at 11:55 -0400, Mark Haney wrote: The problem is, no matter what I do, I get an access denied error. By default apache2 has INDEXES enabled for DOCROOT, but to be on the safe side I added a new direc

Apache2 directory listing problem F16

2012-07-27 Thread Mike Wright
Hi Mark, Sorry for starting a new thread but your post got inadvertently deleted. Have you tried putting a directive into your or directives? order allow,deny allow from all # or IPs, hosts, etc -- users mailing list users@lists.fedoraproject.org To unsubscribe or ch

Re: Apache2 directory listing problem F16

2012-07-27 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/27/2012 11:55 AM, Mark Haney wrote: > I'm trying to get apache2 to allow me to list files and directories on my > netbook for use as a public repo to let my kids copy them if they want > them. > > The problem is, no matter what I do, I get an a

Re: Apache2 directory listing problem F16

2012-07-27 Thread David Quigley
On 07/27/2012 12:46, Tim wrote: On Fri, 2012-07-27 at 11:55 -0400, Mark Haney wrote: The problem is, no matter what I do, I get an access denied error. By default apache2 has INDEXES enabled for DOCROOT, but to be on the safe side I added a new directory directive for and set INDEXES. Still

Re: Apache2 directory listing problem F16

2012-07-27 Thread Tim
On Fri, 2012-07-27 at 11:55 -0400, Mark Haney wrote: > The problem is, no matter what I do, I get an access denied error. By > default apache2 has INDEXES enabled for DOCROOT, but to be on the safe > side I added a new directory directive for and set > INDEXES. Still nothing. Is your access de

Re: Apache2 directory listing problem F16

2012-07-27 Thread Tom Horsley
> The problem is, no matter what I do, I get an access denied error. Here is what I have on my desktop at work to allow everyone to get to a directory where I have ISO images for various linux distros installed, seems to work for me (but I do have selinux disabled): # And throw in /caliban/instal

Apache2 directory listing problem F16

2012-07-27 Thread Mark Haney
I'm trying to get apache2 to allow me to list files and directories on my netbook for use as a public repo to let my kids copy them if they want them. The problem is, no matter what I do, I get an access denied error. By default apache2 has INDEXES enabled for DOCROOT, but to be on the safe