PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Alexandre Sinício   PHP URL Shortener Class   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Sample .htaccess to provide basic REST functionality.
Class: PHP URL Shortener Class
Shorten and expand URLs stored in MySQL database
Author: By
Last change: v1.03 - Bugfixes

- .htaccess configuration didn't allow include of CSS file, if needed;
- config.php has new defaults and better inline docs;
- index.php correction of missing table header on linkListHTML method;
Date: 7 years ago
Size: 127 bytes


Class file image Download
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule>