## Uncomment these if having trouble with API authentication
## when PHP is running in CGI or FastCGI mode.
## Uncomment these if having trouble with API authentication
## when PHP is running in CGI or FastCGI mode.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?p=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?p=$1 [L,QSA]