Code: Select all
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1[QSA,NC,L]Code: Select all
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]Code: Select all
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1[QSA,NC,L]Code: Select all
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]Hooray! That was the ticket. Good eye. Thank you very much!mcapra wrote:Looks like an issue in your ssl.conf. Specifically this line:
Has no space at the end of the request which is going to do some potentially nasty things to the rewrite. Add a space to the end and see if that fixes things:Code: Select all
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1[QSA,NC,L]
Be sure to restart/reload the httpd service afterwardsCode: Select all
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
Go for it. Thanks again.mcapra wrote:Is it alright if we lock this thread and mark the issue as resolved?