Me, and a friend of mine are facing a problem getting a raw entity of PI Joule's @channel (Link to "Production" Readme) to work, currently supposed to be running at the domain atchannel.cf, as per the person's guide to set it up, as well as do what it said in the main README file here
<VirtualHost *:80>
ServerName atchannel.cf
WSGIScriptAlias / /var/www-atchannel/atchannel.wsgi
<Directory /var/www-atchannel>
Require all granted
</Directory>
Alias /static /var/www-atchannel/atchannel/static
<Directory /var/www-atchannel/atchannel/static/>
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/errorAtChannel.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/accessAtChannel.log combined
</VirtualHost>
This is the Apache Virtual Host for the file, which matches up with the path to the site, but still returns a 403 forbidden error. Can anyone tell us what we're doing wrong?
Instead of:
<Directory /var/www-atchannel/atchannel/>
Order allow,deny
Allow from all
</Directory>
you should have:
<Directory /var/www-atchannel>
Order allow,deny
Allow from all
</Directory>
The directory didn't match the leading path for where the WSGI script file is located.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.