duyetdev/ypCore/master/.htaccess - Htaccess File

duyetdev/ypCore/master/.htaccess

### YPCORE HTACCESS ###

<FilesMatch ".(log|htaccess)">
 Order deny,allow
 Deny from all
</FilesMatch>

#DirectoryIndex index.php

RewriteEngine On

RewriteCond %{REQUEST_URI} !.*.(ico|gif|jpg|jpeg|png|js|css|php|mp3)
RewriteRule ^news/([^/]*)/?$ index.php?_code_=news/view&alias=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?_code_=$1 [QSA]

### END YPCORE HTACCESS ###

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache