From 22df1be502072bf75cfa08f70e5f0daa5c6e730a Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Sat, 12 Apr 2014 15:42:29 +0200 Subject: [PATCH] Added a hint for installations in subdirectories --- web/.htaccess | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/.htaccess b/web/.htaccess index 3840d727a..33830b47c 100755 --- a/web/.htaccess +++ b/web/.htaccess @@ -1,10 +1,15 @@ -Options +FollowSymlinks -Indexes +#Options +FollowSymlinks -Indexes AddDefaultCharset UTF-8 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} !-d