/etc/apache2/conf-available/mobyle.conf is in mobyle 1.5.3+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | Alias /mobyle /usr/share/mobyle/htdocs
RewriteEngine on
#Support v0.97 URLs
RewriteCond %{REQUEST_URI} ^/cgi-bin/mobyle/portal.py
RewriteCond %{QUERY_STRING} form=(.*)
RewriteRule .* /cgi-bin/mobyle/portal.py?#forms::%1 [NE,R,L]
#Support v0.97 URLs
RewriteCond %{REQUEST_URI} ^/cgi-bin/mobyle/portal.py
RewriteCond %{QUERY_STRING} jobs=http://(.*)/(.*)/(.*)/(.*)/(.*)
RewriteRule .* /cgi-bin/mobyle/portal.py?#jobs::%4.%5 [NE,R,L]
RewriteCond %{REQUEST_URI} ^/mobyle/data/jobs(\.*)
RewriteCond %{QUERY_STRING} ^save$
RewriteRule (.*)/([^/]+)$ $1/$2 [E=SAVEDFILENAME:$2]
Header set Content-Disposition "attachment; filename=\"%{SAVEDFILENAME}e\"" env=SAVEDFILENAME
<Directory "/usr/lib/cgi-bin/mobyle">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride None
Options FollowSymLinks
Require all granted
SetEnv MOBYLEHOME /usr/share/mobyle/core
AddDefaultCharset ISO-8859-1
</Directory>
<Directory "/usr/share/mobyle/htdocs">
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride None
Require all granted
</Directory>
|