Let's comply with the Filesystem Hierarchy Standard

... and make elrond and tychoish happy :)
This commit is contained in:
Christopher Allan Webber 2011-10-30 16:43:12 -05:00
parent 36dc2eaa66
commit 26e789eb0c

View File

@ -115,7 +115,7 @@ the translations to apache are not too hard.
Also for the sake of this document, we'll assume you're running Also for the sake of this document, we'll assume you're running
mediagoblin on the domain mediagoblin.example.org and your mediagoblin on the domain mediagoblin.example.org and your
mediagoblin checkout in /var/www/mediagoblin.example.org/mediagoblin/ mediagoblin checkout in /srv/mediagoblin.example.org/mediagoblin/
Now in reality, you won't be running mediagoblin on such a domain or Now in reality, you won't be running mediagoblin on such a domain or
in such a directory, but it should be easy enough to move your stuff in such a directory, but it should be easy enough to move your stuff
@ -156,12 +156,12 @@ Now put in that file:
# MediaGoblin's stock static files: CSS, JS, etc. # MediaGoblin's stock static files: CSS, JS, etc.
location /mgoblin_static/ { location /mgoblin_static/ {
alias /var/www/mediagoblin.example.org/mediagoblin/static/; alias /srv/mediagoblin.example.org/mediagoblin/static/;
} }
# Instance specific media: # Instance specific media:
location /mgoblin_media/ { location /mgoblin_media/ {
alias /var/www/mediagoblin.example.org/mediagoblin/user_dev/media/public/; alias /srv/mediagoblin.example.org/mediagoblin/user_dev/media/public/;
} }
# Mounting MediaGoblin itself via fastcgi. # Mounting MediaGoblin itself via fastcgi.