Slash or No Slash |
This question is why is a slash needed at the end of a url on one copy of a CodeIgniter-enabled system but not another copy running on another domain. The image below is my best effort to provide context for this question.
Full size of the image below at this link. This image intends to describe a scenario where two copies of a CodeIgniter installation are behaving differently instead of behaving the same way. Specifically, the public server requires a slash (/) at the end of a url to reach a particular controller, while the copy of the system on a private server does not require a slash. The system where this is an issue runs on two domains, one public (https://hollyswritingclasses.com), the other private (mondo.fortress200g.work). On the public domain, a slash (/) is required at the end of a url to reach a CodeIgniter controller. The slash is is not required to reach the same controller on the private server. I noticed the difference troubleshooting, when a link was working on one copy of the system but not the other. I expected behavior of the two systems to be the same. On the public server, a slash (/) is needed to reach a controller at affiliates/dashboard. The slash is not required on the private server. Parts of the the system are implemented in Code Igniter, other parts are not. For example, the home page is not in code igniter. My question is: Why is a slash required at the end of a url to reach code igniter on one system but not the other? phpinfo for the public domain is available at this url. A copy of phpinfo on the private domain has been copied to a file available at this url. Any information you can provide will be very much appreciated. Thank you. |
Messages In This Thread |
Slash or No Slash - by danallen - 10-03-2017, 04:40 PM
RE: Slash or No Slash - by InsiteFX - 10-04-2017, 01:47 AM
RE: Slash or No Slash - by danallen - 10-05-2017, 07:30 AM
RE: Slash or No Slash - by InsiteFX - 10-06-2017, 06:46 AM
|