sharathvignesh/Tamil-Readers-Association/master/WebApp/.htaccess - Htaccess File

sharathvignesh/Tamil-Readers-Association/master/WebApp/.htaccess

RewriteEngine On
RewriteBase /web/

RewriteRule ^$ /web/ [L]

RewriteCond %{REQUEST_URI} !/^/index.php/
RewriteRule ^(.*)index.php(.*)$ /web/ [L]

RewriteCond  %{REQUEST_FILENAME} !-d
RewriteCond  %{REQUEST_FILENAME} !-f
RewriteRule ^([w-]+)$ /web/index.php?action=$1 [QSA,L]

RewriteCond %{REQUEST_URI} !/^/web/
RewriteCond %{REQUEST_URI} !/^/src/
RewriteCond %{REQUEST_URI} !/^/sessions/
RewriteCond %{REQUEST_URI} !/^/libs/
RewriteCond %{REQUEST_URI} !/^/common.php/
RewriteCond %{REQUEST_URI} !/^/oneway_to_test_it.php/
RewriteRule ^(.*) /web/$1 [L]
#RewriteRule ^(.*) $1 [L]

RewriteCond %{REQUEST_URI} !.*web.*
RewriteRule ^(.*) web/$1 [L]

#RewriteRule ^(.*)index.php(.*)$ /web/index.php?action=ListApps [L]
#RewriteRule ^([w-]+)$ /index.php?action=$1 [QSA,L]
#RewriteRule ^(.*) web/$1 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache