|
From: Martin Gregorie on 6 Apr 2008 16:02 A couple of weeks back I asked for help when my new Fedora 8 install wouldn't let me see bare directories full in text files, images etc. This had been working under Fedora 7. Today I had the time to investigate further. The problem turned out to be nothing to do with SELinux, symlinks or even file permissions. It had everything to do with the fact that moving to F8 also involved moving to Apache 2.2.8. Somewhere between the Apache version used with F7 and 2.2.8, Apache introduced new set of configuration files and/or changed their default settings. These are held in /etc/httpd/modsecurity.d. It turned out that there's a statement in /etc/httpd/modsecurity.d/modsecurity_crs_50_outbound.conf that can override the "AllowOverride Indexes" statement in the <directory> definitions in /etc/httpd/conf/httpd.conf. The default setting is to forbid directory listings to be output. Commenting this out solved my problem. -- martin@ | Martin Gregorie gregorie. | org | Zappa fan & glider pilot
From: Will Kemp on 7 Apr 2008 07:38 On Sun, 06 Apr 2008 21:02:57 +0100, Martin Gregorie wrote: > A couple of weeks back I asked for help when my new Fedora 8 install > wouldn't let me see bare directories full in text files, images etc. > This had been working under Fedora 7. [......] > moving to F8 also involved moving to > Apache 2.2.8. Somewhere between the Apache version used with F7 and > 2.2.8, Apache introduced new set of configuration files and/or changed > their default settings. These are held in /etc/httpd/modsecurity.d. It > turned out that there's a statement in > > /etc/httpd/modsecurity.d/modsecurity_crs_50_outbound.conf > > that can override the "AllowOverride Indexes" statement in the > <directory> definitions in /etc/httpd/conf/httpd.conf. > > The default setting is to forbid directory listings to be output. > Commenting this out solved my problem. That's strange. I'm running apache 2.2.8 on a F8 system and, without modifying any of that, i can access bare directories and the files in them. The only exception is the root directory (of the web server) - and commenting out the statements in /etc/httpd/conf.d/welcome.conf should fix that. -- http://SnapAndScribble.com/will/blog http://WillKemp-Words.com http://WillKemp-photos.com
From: Martin Liddle on 7 Apr 2008 10:15 In message <pan.2008.04.06.20.02.57.268731(a)see.sig.for.address>, Martin Gregorie <martin(a)see.sig.for.address> writes > >Today I had the time to investigate further. The problem turned out to be >nothing to do with SELinux, symlinks or even file permissions. It had >everything to do with the fact that moving to F8 also involved moving to >Apache 2.2.8. S > I am having a similar problem in getting SSI (server side includes) to work on Fedora 8. It used to work fine at RedHat 9 but doesn't now. I have added an "Includes" in htppd.conf but I am obviously missing something else. Anybody any clues? -- Martin Liddle, Tynemouth Computer Services, 3 Kentmere Way, Staveley, Chesterfield, Derbyshire, S43 3TW. Web site: <http://www.tynecomp.co.uk>.
|
Pages: 1 Prev: USB Flash Drive sector problem Next: Find easy what you need for Linux |