When trying to access http://video.xxxxxxxxx.com/my_media I get a 403 Forbidden Error. "You don't have permission to access /my_media on this server." I have narrow this down to when I add the following statement to the httpd.conf file, then restarting apache2
********************************************************************************************************************************************************************************
# You can tweak the WSGIDaemonProcess directive for performance, but this
# will work for now.
# Relevant doc pages:
# http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading
# http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess
# Hint: pay attention to issues surrounding worker-mpm and prefork-mpm.
WSGIDaemonProcess mcore \
threads=10 \
display-name=%{GROUP} \
python-path=/path/to/mediacore_env/lib/python2.5/site-packages \
python-eggs=/path/to/mediacore_install/data/python-egg-cache
WSGIProcessGroup mcore
# Intercept all requests to /my_media/* and pass them to mediacore.wsgi
WSGIScriptAlias /my_media /root/MediaCore//deployment-scripts/mod_wsgi/mediacore.wsgi
# Make the url accessible (just in case it's not already)
<Location "/my_media">
Allow from all
</Location>
# Make the wsgi script accessible
<Directory /root/MediaCore/deployment-scripts/mod_wsgi>
Order allow,deny
Allow from all
</Directory>
# Create an exception for media and podcast image from your data directory
AliasMatch /my_media/images/(media|podcasts)(.*) /root/MediaCore/data/images/$1$2
# Create an exception for all static mediacore content
AliasMatch /my_media/(admin/)?(images|scripts|styles)(.*) /root/MediaCore//mediacore/public/$1$2$3
# Create an exception for your custom appearance css and images
Alias /my_media/appearance /root/MediaCore//data/appearance
# Make all the static content accessible
<Directory /root/MediaCore/mediacore/public/*>
Order allow,deny
Allow from all
Options -Indexes
</Directory>
********************************************************************************************************************************************************************************
I have checked all the correct permissions to /data and /data/tmp and its all writable to internet users.
Anyone have any suggestions?
Thanks all!