nathanpocock
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Regex for simple redirectionI’m sorry, but I didn’t understand the last comment.
The regex I’m using is:
/mantis(.*)(\.php)?$There is only one * in there. So the 500 error is an infinite redirect loop?
Any other suggestions? (Your help is really appreciated)
Forum: Plugins
In reply to: [Redirection] Regex for simple redirectionUnfortunately, the result is the same: 500 Internal Server Error
What I’ve found is that if “.php” is simply present, then the 500 error will occur.
I also tried your suggestion without the $ symbol and it didn’t help either.
This is the URL I’m trying:
https://mydomain.org/mantis/main_page.php
http://mydomain.org/mantis/view.php?id=1019Forum: Plugins
In reply to: [Redirection] Regex for simple redirectionThe last comment almost worked for me, I currently intercept:
/mantis(.*)
What I am finding is that this does match:
/mantis
/mantis/
/mantis/page… but not /mantis/page.php
For some reason, the .php extension throws this error:
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.26 (******) Server at ************ Port 443″Any suggestions on how to prevent the .php extension causing this crash would be appreciated. Thanks.
Forum: Plugins
In reply to: [Redirection] Regular Expression helpI am interested in this also. I have the same question.