Permalink
Browse files

Create .htaccess

  • Loading branch information...
1 parent 7f116d2 commit 344786e60cfadb4afa5b2552932cfa027aa98167 @MastaBaba committed Jan 10, 2015
Showing with 10 additions and 0 deletions.
  1. +10 −0 .htaccess
View
@@ -0,0 +1,10 @@
+Options +FollowSymLinks
+Options -Indexes
+RewriteEngine on
+RewriteBase /
+
+RewriteRule ^(g|p|red|green|blue)/([0-9]+)/([0-9]+)/([^\/]+)/(any|all)/?$ image.php?v1=$1&v2=$2&v3=$3&v4=$4&v5=$5 [QSA,L]
+RewriteRule ^(g|p|red|green|blue)/([0-9]+)/([0-9]+)/([^\/]+)/?$ image.php?v1=$1&v2=$2&v3=$3&v4=$4 [QSA,L]
+RewriteRule ^([0-9]+)/([0-9]+)/([^\/]+)/(any|all)/?$ image.php?v1=$1&v2=$2&v3=$3&v4=$4 [QSA,L]
+RewriteRule ^([0-9]+)/([0-9]+)/([^\/]+)/?$ image.php?v1=$1&v2=$2&v3=$3 [QSA,L]
+RewriteRule ^([0-9]+)/([0-9]+)/?$ image.php?v1=$1&v2=$2 [QSA,L]

0 comments on commit 344786e

Please sign in to comment.