-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding even more configuration/setup files
- Loading branch information
Showing
5 changed files
with
81 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Generic apache configuration file meant to be paired with easy_setup.sh | ||
# Does not do shibboleth or ssl | ||
|
||
NameVirtualHost *:80 | ||
<VirtualHost *:80> | ||
ServerAdmin webmaster@localhost | ||
DocumentRoot /var/www/html | ||
|
||
<Directory /home/puzzlehunt/puzzlehunt_server/puzzlehunt_server> | ||
<Files wsgi.py> | ||
Require all granted | ||
</Files> | ||
</Directory> | ||
|
||
Alias /static /home/puzzlehunt/puzzlehunt_server/static | ||
<Directory /home/puzzlehunt/puzzlehunt_server/static> | ||
Require all granted | ||
</Directory> | ||
|
||
Alias /media /home/puzzlehunt/puzzlehunt_server/media | ||
XSendFile On | ||
XSendFilePath /home/puzzlehunt/puzzlehunt_server/media | ||
<Directory /home/puzzlehunt/puzzlehunt_server/media> | ||
Require all granted | ||
</Directory> | ||
<Directory /home/puzzlehunt/puzzlehunt_server/media/puzzles> | ||
Require all denied | ||
</Directory> | ||
|
||
ProxyPass /static/ ! | ||
ProxyPass /media/ ! | ||
|
||
WSGIDaemonProcess puzzlehunt_server python-path=/home/puzzlehunt/puzzlehunt_server:/home/puzzlehunt/puzzlehunt_server/venv/lib/python2.7/site-packages | ||
WSGIProcessGroup puzzlehunt_server | ||
WSGIScriptAlias / /home/puzzlehunt/puzzlehunt_server/puzzlehunt_server/wsgi.py | ||
|
||
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# An apache configuration file meant to be paired with puzzlehunt_setup.sh | ||
# Meant for quick vagrant base developement. Does not do shibboleth or ssl. | ||
|
||
NameVirtualHost *:80 | ||
<VirtualHost *:80> | ||
ServerAdmin webmaster@localhost | ||
DocumentRoot /var/www/html | ||
|
||
<Directory /home/vagrant/puzzlehunt_server/puzzlehunt_server> | ||
<Files wsgi.py> | ||
Require all granted | ||
</Files> | ||
</Directory> | ||
|
||
Alias /static /home/vagrant/puzzlehunt_server/static | ||
<Directory /home/vagrant/puzzlehunt_server/static> | ||
Require all granted | ||
</Directory> | ||
|
||
Alias /media /home/vagrant/puzzlehunt_server/media | ||
XSendFile On | ||
XSendFilePath /home/vagrant/puzzlehunt_server/media | ||
<Directory /home/vagrant/puzzlehunt_server/media> | ||
Require all granted | ||
</Directory> | ||
<Directory /home/vagrant/puzzlehunt_server/media/puzzles> | ||
Require all denied | ||
</Directory> | ||
|
||
ProxyPass /static/ ! | ||
ProxyPass /media/ ! | ||
|
||
WSGIDaemonProcess puzzlehunt_server python-path=/home/vagrant/puzzlehunt_server:/home/vagrant/puzzlehunt_server/venv/lib/python2.7/site-packages | ||
WSGIProcessGroup puzzlehunt_server | ||
WSGIScriptAlias / /home/vagrant/puzzlehunt_server/puzzlehunt_server/wsgi.py | ||
|
||
</VirtualHost> |