AcceptPathInfo
Category: How To
Hi,
I have a trouble when using PHP handlers like this:
AddHandler application/x-httpd-php5 .html .htm
AddType x-mapp-php5 .html .htm
I need them in order to get my PHP code to work. But this creates a situation where a link with trailing slash (i.e. page.html/) creates a duplicated page which returns many broken links and that goes with no end.
I learned about using AcceptPathInfo which works fine when the server is configured to run in Apache mode. In the case of InMotionHosting the server runs in CGI mode where the OFF setting for AcceptPathInfo in .htaccess does not change anything.
Would anyone know how to turn this Apache feature off (AcceptPathInfo)?
Thanks,
Rod
I have a trouble when using PHP handlers like this:
AddHandler application/x-httpd-php5 .html .htm
AddType x-mapp-php5 .html .htm
I need them in order to get my PHP code to work. But this creates a situation where a link with trailing slash (i.e. page.html/) creates a duplicated page which returns many broken links and that goes with no end.
I learned about using AcceptPathInfo which works fine when the server is configured to run in Apache mode. In the case of InMotionHosting the server runs in CGI mode where the OFF setting for AcceptPathInfo in .htaccess does not change anything.
Would anyone know how to turn this Apache feature off (AcceptPathInfo)?
Thanks,
Rod
OTHER ANSWERS
|
0
|
Hi Rod, Thanks for posting your question. I'm sorry you're having trouble with AcceptPathInfo and turning it off. I'm more than happy to help you. I've ran some various tests and you are correct, it seems that AcceptPathInfo Off is being ignored. At this point, we'd like you to submit an email request to support@inmotionhosting.com so our systems administrators can review what's going on. In the email, please be sure to verify your account with the last four digits of the credit card on file or the current AMP password. Also, please explain the error in detail as you did here. If you need further assistance please feel free to contact us. Thanks! Tim S |
|
0
|
Hi Rod, Sorry, a higher tier of support reviewed the request, and has determined that the issue is due to your re-write rules in the .htaccess file. He tested this by renaming your current .htaccess file and placing just the acceptpathinfo Off in a new .htaccess file. Once he did this, it functions as you would expect. This tells us that the re-write rules in the file are affecting the AcceptPathInfo Off line. I hope this helps! If you need further assistance please feel free to contact us. Thanks! Tim S |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |


