debian/examples/apache/littlebird-tc.conf
changeset 118 aa280f39150b
parent 81 39b02aed056b
equal deleted inserted replaced
117:e489aabf88e4 118:aa280f39150b
    24         # debconf: ServerName {{servername}}
    24         # debconf: ServerName {{servername}}
    25         ServerName www.example.com
    25         ServerName www.example.com
    26 
    26 
    27         DocumentRoot /usr/share/littlebird-tc/TrustCenter/public
    27         DocumentRoot /usr/share/littlebird-tc/TrustCenter/public
    28         <Directory /usr/share/littlebird-tc/TrustCenter/public>
    28         <Directory /usr/share/littlebird-tc/TrustCenter/public>
       
    29 	<IfModule mod_rewrite.c>
    29             RewriteEngine On
    30             RewriteEngine On
    30             RewriteCond %{REQUEST_FILENAME} -s [OR]
    31             RewriteCond %{REQUEST_FILENAME} -s [OR]
    31             RewriteCond %{REQUEST_FILENAME} -l [OR]
    32             RewriteCond %{REQUEST_FILENAME} -l [OR]
    32             RewriteCond %{REQUEST_FILENAME} -d
    33             RewriteCond %{REQUEST_FILENAME} -d
    33             RewriteRule ^.*$ - [NC,L]
    34             RewriteRule ^.*$ - [NC,L]
    34             RewriteRule ^.*$ index.php [NC,L]
    35             RewriteRule ^.*$ index.php [NC,L]
       
    36 	</IfModule>
    35             AllowOverride All
    37             AllowOverride All
    36             Order allow,deny
    38             Order allow,deny
    37             allow from all
    39             allow from all
    38         </Directory>
    40         </Directory>
    39 
    41