quarkcode/fritter/master/.htaccess - Htaccess File

quarkcode/fritter/master/.htaccess

<FilesMatch "^.ht">
Order allow,deny
Deny from all
</FilesMatch>

RewriteEngine on

#RewriteCond %{HTTP_HOST} ^(www.)?domain.com$ [NC]
#RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

RewriteRule ^admin/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1&val1=$2&val2=$3&val3=$4&val4=$5&f=admin
RewriteRule ^admin/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1&val1=$2&val2=$3&val3=$4&f=admin
RewriteRule ^admin/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1&val1=$2&val2=$3&f=admin
RewriteRule ^admin/([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1&f=admin
RewriteRule ^admin(/|)$ application/run.php?page=index&f=admin

RewriteRule ^$ application/run.php?page=index
RewriteRule ^([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1&val1=$2&val2=$3&val3=$4&val4=$5
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1&val1=$2&val2=$3&val3=$4
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1&val1=$2&val2=$3
RewriteRule ^([a-zA-Z0-9_-]+)(/|)$ application/run.php?page=$1

ErrorDocument 401 /error/401
ErrorDocument 403 /error/403
ErrorDocument 404 /error/404
ErrorDocument 500 /error/500

php_value post_max_size 25M
php_value upload_max_filesize 25M

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache