Savin-Igor/hello-world/master/.htaccess - Htaccess File

Savin-Igor/hello-world/master/.htaccess

RewriteEngine On

#      RewriteCond %{REQUEST_URI} !^/resources/styles/(.*).css
#      RewriteCond %{REQUEST_URI} !^/resources/images/(.*).png
#      RewriteCond %{REQUEST_URI} !^/resources/images/(.*).jpg
#      RewriteCond %{REQUEST_URI} !^/resources/lib/jquery/(.*).js
#      
#      RewriteCond %{REQUEST_FILENAME} -s [OR]
#      RewriteCond %{REQUEST_FILENAME} !-l
#      

      RewriteCond %{REQUEST_FILENAME} !^favicon.ico
      RewriteCond %{REQUEST_FILENAME} !-d      
      RewriteCond %{REQUEST_FILENAME} !-f 
      
      RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
      
#      LogLevel error

#      Время жизни сессии в секундах
      php_value session.gc_maxlifetime 3600
#      Время жизни куки в секундах
      php_value session.cookie_lifetime 3600

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache