You are on page 1of 1

<VirtualHost *:80>

ServerAdmin riklaunim@gmail.com
ServerName www.linux.rk.edu.pl
ServerAlias linux.rk.edu.pl
DocumentRoot /var/www/riklaunim
ErrorLog /var/log/apache2/rk_error.log

# Possible values include: debug, info, notice, warn, error, crit,


# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

Alias /media/ "/home/lawgon/django_src/django/contrib/admin/media/"


Alias /site_media/ "/home/riklaunim/biblioteka/site_media/"

<Directory /home/riklaunim/biblioteka/templates/>
Order deny,allow
Allow from all
</Directory>

<Directory /home/riklaunim/media/>
Order deny,allow
Allow from all
</Directory>

<Directory /home/riklaunim/biblioteka/sitemedia/>
Order deny,allow
Allow from all
</Directory>

<Directory /home/lawgon/django_src/django/contrib/admin/media/>
Order deny,allow
Allow from all
</Directory>

<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath " ['/home/riklaunim/biblioteka/diamandas/cbcplugins/cbcplugins/']
+ ['/home/riklaunim/biblioteka/diamandas/'] + ['/home/riklaunim/biblioteka/'] +
sys.path"
PythonInterpreter riklaunim_linux
SetEnv DJANGO_SETTINGS_MODULE biblioteka.settings
PythonDebug On
</Location>
<Location "/site_media/">
SetHandler None
</Location>
<Location "/media/">
SetHandler None
</Location>
</VirtualHost>