Browse Source

added /api/read to the .htaccess

Victor De la Rocha 15 years ago
parent
commit
5be0d41829
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .htaccess

+ 3 - 2
.htaccess View File

@@ -1,6 +1,7 @@
1 1
 <IfModule mod_rewrite.c>
2
-RewriteEngine On
2
+RewriteEngine On
3
+RewriteRule ^api/read/?$ api.php?action=read [L]
3 4
 RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L]
4 5
 RewriteRule ^post/([0-9]+)/?$ index.php?post=$1 [L]
5 6
 RewriteRule ^rss/?$ rss.php [L]
6
-</IfModule>
7
+</IfModule>