Skip to content

Instantly share code, notes, and snippets.

@gmanricks
Created January 3, 2013 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gmanricks/4446339 to your computer and use it in GitHub Desktop.
Save gmanricks/4446339 to your computer and use it in GitHub Desktop.
.htaccess file for the PHP version of Ribbit ( http://net.tutsplus.com/tutorials/php/building-ribbit-in-php/ )
RewriteEngine On
RewriteRule ^/?Resource/(.*)$ /$1 [L]
RewriteRule ^$ /home [redirect]
RewriteRule ^([a-zA-Z]+)/?([a-zA-Z0-9/]*)$ /app.php?page=$1&query=$2 [L]
@vikram-raj
Copy link

Hello there, I was trying to learn from your tutorial and came here, I completed your tutorial and placed this .htaccess in site's root directory but nothing showed up :( and the source code (from github) also showing errors, need your help!!
--Thank You(vikramraj1991@gmail.com)
-- please reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment