Added a hint for installations in subdirectories

This commit is contained in:
Franck Allimant
2014-04-12 15:42:29 +02:00
parent 14f496f6a0
commit 22df1be502

View File

@@ -1,10 +1,15 @@
Options +FollowSymlinks -Indexes #Options +FollowSymlinks -Indexes
AddDefaultCharset UTF-8 AddDefaultCharset UTF-8
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
# If thelia is installed in a subdirectory (e.g., thelia2)
# define the RewriteBase below to get a proper URL rewriting
#
# RewriteBase /thelia2
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d