gonzopi

git clone https://git.tarina.org/gonzopi
Log | Files | Refs | README | LICENSE

tarinaretake.conf (854B)


      1 <VirtualHost *:80>
      2 	ServerAdmin info@tarina.org
      3         WSGIScriptAlias / /home/pi/tarinaretake/srv/tarinaserver.py
      4         WSGIPassAuthorization On
      5         AddType text/html .py
      6         Alias /static /home/pi/tarinaretake/srv/static
      7 	<Directory />
      8 		Options FollowSymLinks
      9 		AllowOverride None
     10 	</Directory>
     11 	<Directory /home/pi/srv>
     12 		Options Indexes FollowSymLinks MultiViews
     13 		AllowOverride None
     14 		Order allow,deny
     15 		allow from all
     16 	</Directory>
     17 
     18 	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
     19 	<Directory "/usr/lib/cgi-bin">
     20 		AllowOverride None
     21 		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
     22 		Order allow,deny
     23 		Allow from all
     24 	</Directory>
     25 
     26 	ErrorLog ${APACHE_LOG_DIR}/error.log
     27 
     28 	# Possible values include: debug, info, notice, warn, error, crit,
     29 	# alert, emerg.
     30 	LogLevel warn
     31 
     32 	CustomLog ${APACHE_LOG_DIR}/access.log combined
     33 
     34 </VirtualHost>