git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@280 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
a81ad1655f
commit
0d725d32c3
2 changed files with 7 additions and 9 deletions
|
@ -1,5 +1,10 @@
|
||||||
RewriteEngine On
|
# Allow PHP_AUTH_USER with CGI script
|
||||||
|
# (Inspired by http://www.yetanothercommunitysystem.com/article-321-regle-comment-utiliser-l-authentification-http-en-php-chez-ovh )
|
||||||
|
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine on
|
||||||
RewriteRule ^tags/get tags_get.php
|
RewriteRule ^tags/get tags_get.php
|
||||||
|
RewriteRule ^tags/rename tags_rename.php
|
||||||
RewriteRule ^posts/dates posts_dates.php
|
RewriteRule ^posts/dates posts_dates.php
|
||||||
RewriteRule ^posts/get posts_get.php
|
RewriteRule ^posts/get posts_get.php
|
||||||
RewriteRule ^posts/recent posts_recent.php
|
RewriteRule ^posts/recent posts_recent.php
|
||||||
|
@ -7,14 +12,7 @@ RewriteRule ^posts/all posts_all.php
|
||||||
RewriteRule ^posts/update posts_update.php
|
RewriteRule ^posts/update posts_update.php
|
||||||
RewriteRule ^posts/add posts_add.php
|
RewriteRule ^posts/add posts_add.php
|
||||||
RewriteRule ^posts/delete posts_delete.php
|
RewriteRule ^posts/delete posts_delete.php
|
||||||
RewriteRule ^tags/rename tags_rename.php
|
|
||||||
RewriteRule ^export/html export_html.php
|
RewriteRule ^export/html export_html.php
|
||||||
|
|
||||||
|
|
||||||
# Allow PHP_AUTH_USER with CGI script
|
|
||||||
# (Inspired by http://www.yetanothercommunitysystem.com/article-321-regle-comment-utiliser-l-authentification-http-en-php-chez-ovh )
|
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
|
||||||
RewriteEngine on
|
|
||||||
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
|
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -57,7 +57,7 @@ $this->includeTemplate($GLOBALS['top_include']);
|
||||||
<tr>
|
<tr>
|
||||||
<th align="left"><?php echo T_('Export bookmarks'); ?></th>
|
<th align="left"><?php echo T_('Export bookmarks'); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<a href="../api/export/html"><?php echo T_('HTML file (for browsers)')?></a> /
|
<a href="../api/export_html.php"><?php echo T_('HTML file (for browsers)')?></a> /
|
||||||
<a href="../api/posts/all"><?php echo T_('XML file (like del.icio.us)')?></a>
|
<a href="../api/posts/all"><?php echo T_('XML file (like del.icio.us)')?></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue