
Untitled
By: a guest on
Aug 22nd, 2012 | syntax:
None | size: 1.29 KB | hits: 7 | expires: Never
DirectoryIndex index.php
# remove the next 3 lines if you see a 500 server error
php_flag register_globals off
php_flag magic_quotes_gpc off
php_value display_errors 0
FileETag none
ServerSignature Off
Options All -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^sitemap.xml$ /sitemap.php$1 [L]
RewriteRule ^home$ home.php$1 [L]
RewriteRule ^users/(.*)$ profile.php?u=$1 [L]
RewriteRule ^venue/(.*)$ venue.php?url=$1 [L]
RewriteRule ^checkin$ checkin.php$1 [L]
RewriteRule ^logout$ logout.php$1 [L]
RewriteRule ^claim/(.*)$ claim_venue.php?vid=$1 [L]
RewriteRule ^admin/venue/(.*)$ admin_venue.php?vid=$1 [L]
RewriteRule ^contact$ contact.php$1 [L]
RewriteRule ^FAQ$ faq.php$1 [L]
RewriteRule ^about$ about.php$1 [L]
RewriteRule ^search$ search.php$1 [L]
RewriteRule ^(.*)/checkins/(.*)$ checkin_view.php?u_name=$1&cid=$2 [L]
RewriteRule ^resources/site_list.json$ site_list.php$1 [L]
RewriteRule ^thanks$ thanks.php$1 [L]
RewriteRule ^resources/logged_status$ logged_status.php$1 [L]
RewriteRule ^twitter/auth$ twitter_auth.php$1 [L]
RewriteRule ^twitter/success$ twitter_success.php$1 [L]
RewriteRule ^shorten/(.*)$ shorten.php?longurl=$1 [L]
RewriteRule ^([0-9a-zA-Z]{1,6})$ venue.php?url=$1 [L]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>