qexyorg/QEXYCore-v1/master/upload/.htaccess - Htaccess File

qexyorg/QEXYCore-v1/master/upload/.htaccess

AddDefaultCharset UTF-8
DefaultLanguage ru-RU

Options -Indexes

<IfModule mod_rewrite.c>

RewriteEngine on
RewriteRule ^([w-]+)/?$ index.php?do=$1 [L]
RewriteRule ^blog/([w-]+)/?$ index.php?do=blog&full=$1 [L]
RewriteRule ^install/([0-9]+)/?$ index.php?do=install&step=$1 [L]
RewriteRule ^admin/([w-]+)/?$ index.php?do=admin&adm=$1 [L]
RewriteRule ^admin/plugin/([w-]+)/?$ index.php?do=admin&adm=plugin&mod=$1 [L]
RewriteRule ^admin/plugin/([w-]+)/([w-]+)/?$ index.php?do=admin&adm=plugin&mod=$1&id=$2 [L]
RewriteRule ^blog/page.([0-9]+)/?$ index.php?do=blog&pid=$1 [L]
RewriteRule ^blog/category.([w-]+)/?$ index.php?do=blog&cid=$1 [L]
RewriteRule ^blog/category.([w-]+)/page.([0-9]+)/?$ index.php?do=blog&cid=$1&pid=$2 [L]

ErrorDocument 404 /404

</IfModule>

FileETag MTime Size
<ifmodule mod_expires.c>
<filesmatch ".(jpg|gif|png|css|js)$">
ExpiresActive on
ExpiresDefault "access plus 1 year"
</filesmatch>
</ifmodule>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache