I am using centos 7 with apache.
I am getting a 403 forbidden when navigating to: http://localhost/my_media
My apache error_log shows:
[Tue Sep 11 08:36:27.196833 2018] [authz_core:error] [pid 8355] [client
::1:60250] AH01630: client denied by server configuration:
/usr/local/mediadrop/mediadrop/public/mediadrop.wsgi
My httpd.conf entries are:
[CODE]
# Intercept all requests to /my_media/* and pass them to mediadrop.wsgi
WSGIScriptAlias /my_media
/usr/local/mediadrop/mediadrop/public/mediadrop.wsgi
# Create an exception for media and podcast image from your data directory
AliasMatch ^/my_media/images/(media|podcasts)(.*)
/usr/local/mediadrop/production/data/images/$1$2
# Create an exception for all static MediaDrop content
AliasMatch ^/my_media/(admin/)?(images|scripts|styles)(.*)
/usr/local/mediadrop/mediadrop/public/$1$2$3
# Create an exception for your custom appearance css and images
Alias /my_media/appearance /usr/local/mediadrop/production/data/appearance
# Make all the static content accessible
<Directory /usr/local/mediadrop/mediadrop/public/*>
Order allow,deny
Allow from all
Options -Indexes
</Directory>
[/CODE]
I have set file permissions of mediadrop.wsgi to 777 and owned by
apache:apache for testing. Any ideas?
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.