Talk:Deployment: Difference between revisions
Jump to navigation
Jump to search
m (Created page with "Deployment#Running_MediaGoblin.27s_web_server_and_Celery_separately <blockquote> ./lazyserver.sh is all good and well for debugging, but probably not for deployments. Instea...") |
Astapelfeld (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
It seems that something's missing…<br /> |
It seems that something's missing…<br /> |
||
[[User:Joar|Joar]] 16:19, 21 September 2011 (EDT) |
[[User:Joar|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.. |
Latest revision as of 10:41, 31 July 2014
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..