On 5/30/07, Voytek Eymont <[EMAIL PROTECTED]> wrote:
I've put this in /etc/httpd/httpd.conf:
----
NameVirtualHost 203.42.34.53:80
<VirtualHost 203.42.34.53:80>
ServerName ww.sbt.net.au
DocumentRoot /home/sbt.net.au
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
</VirtualHost>
what are you trying to do with the location match? perhaps take it out
while you're trying to debug this?
DocumentRoot /home/sbt.net.au/www
---8k snip 8k---
where am I going wrong...?
can't see anything wrong from an apache config point of view, which
makes me suspect something else. <total guess>is SELinux enabled and
doing something wierd here?</total guess>
one thing that does look odd is apache owning the webroot - is there
any reason you are doing that? its generally a bad idea to allow
apache write access to any more of the file system than is absolutely
necessary.
cheers
justin
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html