Htaccess File

florinp/phpbb.json/development/api/.htaccess

# Enable Rewriting
RewriteEngine On

# Properly formatting requests
RewriteRule ^([A-Za-z0-9_]+)/([A-Za-z0-9_]+)/?$ index.php?module=$1&interface=$2 [L]

# No interface
RewriteRule ^([A-Za-z0-9_]+)/?$ index.php?module=$1 [L]
Exit mobile version