gonzopi

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

gonzopi.conf (816B)


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