Skip to content

Commit

Permalink
Update gisapp.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
uprel committed Jul 3, 2016
1 parent 06c7fe8 commit f2043ea
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions _setup/gisapp.conf
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin>
AllowOverride None
Require all granted
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

<Directory /var/www/html/gisapp/_scripts/>
Order Deny,allow
Deny from all
</Directory>

RewriteEngine On
RewriteRule ^/proxy/(.+)$ /gisapp/admin/qgisproxy.php?map=$1.qgs [QSA,PT]
RewriteRule ^/gisapp/([^\.]+)$ /gisapp/index.php [PT]

</VirtualHost>

RewriteEngine On
RewriteRule ^/proxy/(.+)$ /gisapp/admin/qgisproxy.php?map=$1.qgs [QSA,PT]
RewriteRule ^/gisapp/([^\.]+)$ /gisapp/index.php [PT]

0 comments on commit f2043ea

Please sign in to comment.