jimmy18dev/dailypoint/master/.htaccess - Htaccess File

jimmy18dev/dailypoint/master/.htaccess

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^member-([^-]*).html$ /member.php?id=$1 [L]
RewriteRule ^m-([^-]*).html$ /member.php?id=$1 [L]

RewriteRule ^p-([^-]*).html$ /post.php?id=$1 [L]
RewriteRule ^p-([^_]*)_([^_]*).html$ /post.php?id=$1&title=$2 [L]

RewriteRule ^s-([^-]*).html$ /place.php?id=$1 [L]
RewriteRule ^s-([^_]*)_([^_]*).html$ /place.php?id=$1&title=$2 [L]
RewriteRule ^s-([^_]*)_([^_]*)_([^_]*).html$ /place.php?id=$1&title=$2&tab=$3 [L]

ErrorDocument 400 /400.php
ErrorDocument 401 /401.php
ErrorDocument 403 /403.php
ErrorDocument 404 /404.php
ErrorDocument 408 /408.php
ErrorDocument 500 /500.php
ErrorDocument 502 /502.php
ErrorDocument 503 /503.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache