Przeglądaj źródła

added /api/read to the .htaccess

Victor De la Rocha 15 lat temu
rodzic
commit
5be0d41829
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      .htaccess

+ 3 - 2
.htaccess Wyświetl plik

@@ -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>