1-pl/OidoServer/master/api/.htaccess - Htaccess File

1-pl/OidoServer/master/api/.htaccess

#
RewriteEngine on

RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule (.*) /api/index.pl?$0 

RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule (.*) /api/index.pl?$0 

RewriteCond %{REQUEST_METHOD} DELETE
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule (.*) /api/index.pl?$0 

RewriteCond %{REQUEST_METHOD} PUT
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule (.*) /api/index.pl?$0 

#RewriteRule (.*) /api/api.pl?var=$1

On Github License

Files

Download PDF of Htaccess file
GET, POST, PUT, REQUEST_FILENAME, REQUEST_METHOD

Comments

Apache