#68 API index.php File with Info

open
nobody
None
5
2012-01-15
2012-01-15
FavOn
No

index.php File in /api/

with Information about the API use

Discussion

  • FavOn
    FavOn
    2012-01-15

    api/index.php

     
    Attachments
  • FavOn
    FavOn
    2012-01-15

    scuttle_api_index.txt

     
    Attachments
  • FavOn
    FavOn
    2012-01-15

    sometimes you need in the scuttle/api/.htacess a Reweite Base

    ### scuttle/api/.htaccess

    RewriteEngine On
    RewriteBase /api/

    RewriteRule ^tags/get tags_get.php
    RewriteRule ^posts/dates posts_dates.php
    RewriteRule ^posts/get posts_get.php
    RewriteRule ^posts/recent posts_recent.php
    RewriteRule ^posts/all posts_all.php
    RewriteRule ^posts/update posts_update.php
    RewriteRule ^posts/add posts_add.php
    RewriteRule ^posts/delete posts_delete.php
    RewriteRule ^tags/rename tags_rename.php

     
  • FavOn
    FavOn
    2012-11-11

    .htaccess File in /api/ (Rewrite)

     
    Attachments