Talk:Deployment

From GNU MediaGoblin Wiki
Revision as of 10:41, 31 July 2014 by Astapelfeld (talk | contribs) (→‎mod-wsgi apache conf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Deployment#Running_MediaGoblin.27s_web_server_and_Celery_separately

./lazyserver.sh is all good and well for debugging, but probably not for deployments. Instead, you should probably run

It seems that something's missing…
Joar 16:19, 21 September 2011 (EDT)

mod-wsgi apache conf

I couldn't make it work without adding something like this:


<Directory "/data/mediagoblin/mediagoblin/">

 <Files "wsgi.py">
   Order allow,deny
   Allow from all
   Require all granted
 </Files>

</Directory>


Without granting access in apache, it wont be able to access the wsgi.py script. Even if the conf above works for me, I dont think it is really the best way to do it (I'm far from being an apache expert :D) I think "Allow from all" and "Require all granted" are not supposed to be combined that way, but I havent been able to make it work with only one of them..