Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
Move apache config into the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
clouserw committed Oct 13, 2010
1 parent 71ee56c commit 8c11463
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 44 deletions.
46 changes: 46 additions & 0 deletions docs/source/_includes/example_apache_conf.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
* An example Apache .conf::

<VirtualHost *:80>
ServerAdmin [email protected]
ServerName flightdeck.some.domain

<Directory /path/to/FlightDeck/apache/>
Order deny,allow
Allow from all
Options Indexes FollowSymLinks
</Directory>

<Location "/adminmedia">
SetHandler default
</Location>
Alias /adminmedia /path/to/FlightDeck/flightdeck/adminmedia

<Location "/media/tutorial">
SetHandler default
</Location>
Alias /media/tutorial /path/to/FlightDeck/flightdeck/tutorial/media

<Location "/media/api">
SetHandler default
</Location>
Alias /media/api /path/to/FlightDeck/flightdeck/api/media

<Location "/media/jetpack">
SetHandler default
</Location>
Alias /media/jetpack /path/to/FlightDeck/flightdeck/jetpack/media

<Location "/media">
SetHandler default
</Location>
Alias /media /path/to/FlightDeck/flightdeck/media

LogLevel warn
ErrorLog /path/to/FlightDeck/logs/apache_error.log
CustomLog /path/to/FlightDeck/logs/apache_access.log combined

WSGIDaemonProcess flightdeck user=www-data group=www-data threads=25
WSGIProcessGroup flightdeck

WSGIScriptAlias / /path/to/FlightDeck/apache/config_local.wsgi
</VirtualHost>
2 changes: 2 additions & 0 deletions docs/source/server/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ Configure Apache
----------------

.. include:: ../_includes/example_apache_wsgi.rst

.. include:: ../_includes/example_apache_conf.rst
44 changes: 0 additions & 44 deletions tools/apache-example.conf

This file was deleted.

0 comments on commit 8c11463

Please sign in to comment.