File: mobyle.conf

package info (click to toggle)
mobyle 1.5.5%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,288 kB
  • sloc: python: 22,709; makefile: 35; sh: 33; ansic: 10; xml: 6
file content (35 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download | duplicates (3)
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
33
34
35

	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>