| Apache configuration | | copy code | | ? |
| 01 | Listen 81 |
| 02 | NameVirtualHost *:81 |
| 03 | |
| 04 | <VirtualHost *:81> |
| 05 | ServerAdmin webmaster@localhost |
| 06 | DocumentRoot /home/vinod/webapps/djangoapp |
| 07 | |
| 08 | <Directory /> |
| 09 | Options FollowSymLinks +ExecCGI |
| 10 | AllowOverride None |
| 11 | </Directory> |
| 12 | |
| 13 | <IfModule mod_alias.c> |
| 14 | Alias /static /home/vinod/webapps/djangoapp/static |
| 15 | </IfModule> |
| 16 | |
| 17 | <IfModule mod_wsgi.c> |
| 18 | # See the link below for an introduction about this mod_wsgi config. |
| 19 | # http://groups.google.com/group/modwsgi/browse_thread/thread/60cb0ec3041ac1bc/2c547b701c4d74aa |
| 20 | |
| 21 | WSGIScriptAlias / /home/vinod/webapps/djangoapp/testproject.wsgi |
| 22 | WSGIDaemonProcess vinod processes=7 threads=1 display-name=%{GROUP} |
| 23 | WSGIProcessGroup vinod |
| 24 | WSGIApplicationGroup %{GLOBAL} |
| 25 | </IfModule> |
| 26 | |
| 27 | ErrorLog /home/vinod/webapps/djangoapp/log/error.log |
| 28 | LogLevel warn |
| 29 | CustomLog /home/vinod/webapps/djangoapp/log/access.log combined |
| 30 | ServerSignature On |
| 31 | </VirtualHost> |
Testing developer formatter plugin.