javulorg/javul/master/.htaccess - Htaccess File

javulorg/javul/master/.htaccess

<IfModule mod_rewrite.c>
   RewriteEngine On

   RewriteBase /javul-master/
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)/$ /$1 [L,R=301]

   RewriteCond %{REQUEST_URI} !(.css|.js|.png|.jpg|.gif|robots.txt)$ [NC]
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^ index.php [L]

   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_URI} !^/public/
   RewriteRule ^(css|js|images)/(.*)$ public/$1/$2 [L,NC]
</IfModule>
<IfModule mod_php5.c>
php_value post_max_size 20M
php_value memory_limit 1024M

</IfModule>
<IfModule mod_headers.c>
    Header set Cache-Control "no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires 0
</IfModule>

On Github License

Files

Download PDF of Htaccess file
no-cache, Pragma, REQUEST_FILENAME, REQUEST_URI

Comments

Apache