Hi all,
I get a 403, access denied whenever I switch on NamedVirtualHost in Apache2 on my newly installed Fedora 10 laptop. All is fine until I uncomment the NamedVirtualHost line, then it alls goes wrong. 403 for everything!
I Googled a load this afternoon and turned up several mentions of this being related to SELinux. I did the advised chcon stuff, as detailed here:
http://thinkmuch.com/blog/archives/2...elinux-in-fc3/
That had no effect, so I disabled SELinux completely for the time being. Also no effect.
The website is Drupal and it's using Drupal's default .htaccess file (which I've never had a problem with before). Config looks like this:
Code:
<VirtualHost *:80>
ServerName drivingforce
DocumentRoot /home/gharvey/workspace/driving-force/trunk/www
ServerAdmin "webadmin@drupaler.co.uk"
<Directory /home/gharvey/workspace/driving-force/trunk/www>
Options Includes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
Worked on my old LAMPP installation and works on my CentOS 5 dev server. But not on Fedora 10, and I've no idea why?! =(
Edit: Also tried a test site with a simple "Hello world!" index.html file and no .htaccess. Plus someone in IRC suggested this, which I also tried - neither worked:
Code:
chcon -R unconfined_u:object_r:httpd_sys_content_t:s0 workspace