Browse Source

added /api/read to the .htaccess

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

+ 3 - 2
.htaccess View File

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