I actually had a wrong path to my python virtual env but when I fixed that in my httpd.conf I get this now:
[Tue Sep 11 13:50:29.925044 2018] [:error] [pid 9360] [remote ::1:0] IOError: [Errno 13] Permission denied: '/usr/local/mediadrop/venv/lib/python2.7/site-packages/WebError-0.10.3-py2.7.egg/EGG-INFO/entry_points.txt' On Tuesday, September 11, 2018 at 8:45:50 AM UTC-4, David Lewis wrote: > > 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.
