Source

Web Services Tutorial Code / public / rest / .htaccess

Full commit
1
2
3
4
5
6
7
8
9
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ rest/index.php/$1 [L]
</IfModule>