File: apache.conf

package info (click to toggle)
lwat 0.17-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 860 kB
  • ctags: 945
  • sloc: php: 3,151; sh: 212; makefile: 148
file content (18 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Alias /lwat "/usr/share/lwat/web"
 <IfModule mod_rewrite.c>
	 <IfModule mod_ssl.c>
		 <Location /lwat>
			 RewriteEngine on
			 RewriteCond %{HTTPS} !^on$ [NC]
			 RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI}  [L]
		 </Location>
	 </IfModule>
 </IfModule>

<Directory "/usr/share/lwat/web">
    DirectoryIndex index.php index.html
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>