-1

i followed the guide given at the jobeet project documentations and searched a lot but still get HTTP 403 Forbidden error. I do exatly the same as the docs say and followed a few other theads here and from stackoverflow, but still nothing changed. My configurations are just like below:

NameVirtualHost 127.0.0.1:8080
# This is the configuration for your project
Listen 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
  DocumentRoot "/home/sfprojects/jobeet/web"
  DirectoryIndex index.php
  <Directory "/home/sfprojects/jobeet/web">
    AllowOverride All
    Allow from All
  </Directory>
  Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  <Directory "/home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

Now, before downvoting, can anybody please help me? NOTE: Firewall(iptables and ip6tables) is disabled. I use centos 6.4 as server Any idea will be appreciated. Thanks

1
  • Disable selinux setenforce 0 see what happens.
    – user9517
    Dec 10, 2013 at 16:52

1 Answer 1

1

At first check the httpd.conf file to find the user running httpd.

Something like this :

User apache Group apache

And check the rigth on the folder : ll /home/.../web

chown -R apache. /home/.../web

Also check selinux (sestatus or /etc/selinux/config) as lain said

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .