Htaccess File

openrightsgroup/Blocking-Middleware/master/api/1.1/.htaccess

SCRIPT_FILENAME
<IfModule mod_rewrite.c>
        RewriteEngine On

        #Don't rewrie for files and dirs
        RewriteCond %{SCRIPT_FILENAME} !-d
        RewriteCond %{SCRIPT_FILENAME} !-f

        #All our subpages
        RewriteRule ^register/user$ register_user.php [NC,L,qsa]
  RewriteRule ^status/user$ status_user.php [NC,L,qsa]
  RewriteRule ^prepare/probe$ prepare_probe.php [NC,L,qsa]
  RewriteRule ^register/probe$ register_probe.php [NC,L,qsa]
  RewriteRule ^update/gcm$ update_gcm.php [NC,L,qsa]
  RewriteRule ^status/ip status_ip.php [NC,L,qsa]
  RewriteRule ^submit/url submit_url.php [NC,L,qsa]
  RewriteRule ^request/httpt request_url.php [NC,L,qsa]

</IfModule>
DirectoryIndex index.php
Exit mobile version