Skip to content
Snippets Groups Projects
Commit b08adef2 authored by Sibidharan's avatar Sibidharan :speech_balloon:
Browse files

Debug WIP

parent b1c0848c
No related branches found
No related tags found
No related merge requests found
RewriteBase /
RewriteEngine On
RewriteBase /
RewriteRule ^/?api/([^/]+)?$ api/index.php?rquest=$1 [QSA,NC,L]
RewriteRule ^/?api/([^/]+)/([^/]+)?$ api/index.php?rquest=$2&namespace=$1 [QSA,NC,L]
RewriteRule ^/?api/([^/]+)?$ api/index.php?rquest=$1 [L,QSA,NC]
RewriteRule ^/?api/([^/]+)/([^/]+)?$ api/index.php?rquest=$2&namespace=$1 [L,QSA,NC]
## For general files, if not above, just remove .php
......
......@@ -49,6 +49,8 @@ $hero = new Superhero("Batman");
echo $hero->getName()."\n";
echo $hero->get_powers();
var_dump($_SERVER);
?>
</pre>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment