/etc/semanticscuttle/apache.conf is in semanticscuttle 0.98.5+dfsg-1.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | Alias /semanticscuttle/js/jquery-ui-1.8.11/themes/ /usr/share/javascript/jquery-ui/themes/
Alias /semanticscuttle /usr/share/semanticscuttle/www
<Directory /usr/share/semanticscuttle/www/>
Options Indexes FollowSymlinks
AllowOverride FileInfo
Order allow,deny
Allow from all
#####################################
# the first part of this file is used if you configure your scuttle for nice urls
# (see $cleanurls in config.inc.php)
#####################################
# Rewrite clean URLs onto real files
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^/.]+)/?(.*)$ /$1.php/$2 [QSA,L]
RewriteRule ^api/([a-z]+)/([a-z]+) /api/$1_$2.php
</IfModule>
#####################################
# This second part is used to speed-up the application
#####################################
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/ico "access plus 15 days"
ExpiresByType image/png "access plus 15 days"
ExpiresByType image/gif "access plus 15 days"
ExpiresByType text/js "access plus 15 days"
ExpiresByType text/css "access plus 15 days"
</IfModule>
<IfModule mod_deflate.c>
#<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
#</FilesMatch>
</IfModule>
</Directory>
|