This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 421 Bytes
ErrorDocument 401 /go.php?x=401
ErrorDocument 403 /go.php?x=403
ErrorDocument 404 /go.php?x=404
ErrorDocument 410 /go.php?x=410
ErrorDocument 500 /go.php?x=500
ErrorDocument 503 /go.php?x=503
# Redirect any request that is not for a real file or directory to /go.php?x=
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule ^(.*?)/?$ /go.php?x=$1 [L]