weierophinney/pastebin/master/public/api/spindle/paste/.htaccess - Htaccess File

weierophinney/pastebin/master/public/api/spindle/paste/.htaccess

# PHP values we need to set
# - timezone should be set
# - need short open tags for view scripts
php_value date.timezone "UTC"
php_value short_open_tag 1
php_value error_reporting 8191
php_flag  display_errors On
php_flag  display_startup_errors Off

# Rewrite Rules
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^active-grid.html  index.php   [L]
RewriteRule ^active            active.php  [L,QSA]
RewriteRule ^jsonrpc           jsonrpc.php [L]
RewriteRule ^content/jsonrpc   jsonrpc.php [L]
RewriteRule ^xmlrpc            xmlrpc.php  [L]
RewriteRule ^.*$ index.php [NC,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache