-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
25 lines (24 loc) · 1013 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)\.css$ $1.css [L]
RewriteRule ^tango/(.*)\.css$ tango/$1.css [L]
RewriteRule ^(.*)\.png$ $1.png [L]
RewriteRule ^(.*)\.jpg$ $1.jpg [L]
RewriteRule ^(.*)\.svg $1.svg [L]
RewriteRule ^(.*)\.js$ $1.js [L]
RewriteRule ^js/(.*)\.js$ js/$1.js [L]
RewriteRule ^view/img/(.*)\.jpg$ $img/1.jpg [L]
RewriteRule ^view/img/(.*)\.png$ $img/1.png [L]
RewriteRule ^view/img/(.*)\.svg$ $img/1.svg [L]
RewriteBase /truckelite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^blog/c/css.*$
RewriteRule ^(.*)/(.*)/(.*)$ index.php?module=$1&action=$2&$3 [L,QSA]
RewriteRule ^(.*)/(.*)$ index.php?module=$1&action=$2 [L,QSA]
RewriteRule ^(.*)$ index.php?module=$1&action=execute [L,QSA]
php_value include_path ".:/usr/local/lib/php"
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
</IfModule>