Skip to content

Commit

Permalink
Fix htaccess subdirectory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Jun 19, 2018
1 parent 9d3517f commit 2230984
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Options -Indexes
RewriteEngine on
IndexIgnore *
RewriteBase /
RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
RewriteRule ^(.*)$ - [E=BASE:%1]

Expand All @@ -20,8 +19,8 @@
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

#RewriteRule ^(.*)$ %{ENV:BASE}index.php [QSA]
RewriteRule ^(.*)$ ./index.php?route=/$1 [NC,L,QSA]
RewriteRule ^(.*)$ %{ENV:BASE}index.php?route=/$1 [NC,L,QSA]
#RewriteRule ^(.*)$ ./index.php?route=/$1 [NC,L,QSA]

# Prevent access to template files
<files "*.tpl">
Expand Down

0 comments on commit 2230984

Please sign in to comment.