apache - apache403 forbidden You don't have permission to access -


<virtualhost *:80>     serveradmin python@v.python.centos     documentroot "/var/www/vhost1/documents"     servername v.python.centos     serveralias www.v.python.centos.com      errorlog "logs/v.python.centos-error_log"     customlog "logs/v.python.centos-access_log" common      <directory /var/www/vhost1/documents>         order allow,deny         allow     </directory>      wsgidaemonprocess v.python.centos processes=1 threads=2 display-name=%{group}     wsgiprocessgroup v.python.centos      wsgiscriptalias /app /var/www/vhost1/wsgi-scripts/myapp.wsgi     <directory /var/www/vhost1/wsgi-scripts>         order allow,deny         allow     </directory>      alias /django-tjob /var/www/vhost1/djproject     <directory /var/www/vhost1/djproject>         order allow,deny         allow     </directory>      alias /django-jobs /home/python/djproject     <directory /home/python/djproject>        order allow,deny        allow     </directory>  </virtualhost> 

user: python permission: /home/python/djproject

drwxrwxr-x.  6 python python    4096 jun 29 14:35 djproject 

/var/www/vhost1/djproject

drwxr-xr-x. 6 root root 4096 jun 29 14:31 djproject 

files in "/var/www/vhost1/documents" , "/var/www/vhost1/wsgi-scripts" can access successfully, "/home/python/djproject" , new folder "/var/www/vhost1/djproject" has 403 forbidden. why? how create virtual directory successfully?

probably because permissions on parent folder should fixed.

ie. can't traverse /home or /home/python.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -