Permalink
Browse files

Add .htaccess file

  • Loading branch information...
1 parent 2ba9e52 commit 0679aa57d9e8b42a41f800214151bdf85d6b1310 @gokmen committed Dec 13, 2011
Showing with 19 additions and 0 deletions.
  1. +19 −0 .htaccess
View
@@ -0,0 +1,19 @@
+# Copyright (C) 2011, Nuf (~Fun)
+# 2011 - Gökmen Göksel <gokmen@goksel.me>
+# http://github.com/gokmen
+
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 2 of the License, or (at your option)
+# any later version.
+
+RewriteEngine on
+
+# If you are running this in your home diretory (/home/USERNAME/public_html)
+# please change the value of USERNAME and uncomment the following line:
+# RewriteBase /~USERNAME/
+RewriteBase /~gokmen/
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule (.*)$ index.php?page=$1 [QSA,L]

0 comments on commit 0679aa5

Please sign in to comment.