Howto Use URL Rewriting for PHP Web Applications


Options +FollowSymlinks
RewriteEngine on
RewriteRule ^files/(.+)/(.+).tar.gzip download.php?section=$1&file=$2 [nc]

Would allow you to present a link as:

http://site.com/files/games/bubble.tar.gzip

and in the background have that translated to..

http://site.com/download.php?section=games&file=bubble

Related posts:

  1. Top 10 Free Windows 7 Applications
  2. .htaccess Generator
  3. Compressing mysqldump output – mysql, gzip, bzip2 and LZMA (7z)
  4. Howto Secure Apache
  5. Howto install HipHop for PHP on Ubuntu
  6. Ubuntu Howto: Install Sun Java
  7. Howto: Office 2007 on Linux with Wine
  8. Linux Enterprise use in Denmark
  9. Howto Install Sun Java on Debian Etch
  10. Monitor Configuration Files

Comments (8)