Chris Dunning Posted June 1, 2004 Posted June 1, 2004 Just moved my store to a new server, and now using search-engine-friendly urls breaks everything. I have root access to the server, so I'm capable of changing anything in there that needs to be changed - how do I configure apache to handle it? I found a post from October 2002 - nearly two years ago - that advised this: Go to your httpd.conf and set the parameter "acceptpathinfo" to "on" for the document root directory. & make sure you enable mod_rewrite in there as well! This was advice for some running on a Windows server, my server runs Linux. I opened up httpd.conf from my /etc/httpd/conf/ directory and could not find "acceptpathinfo" in there anywhere. Is the setting different on Linux servers? Is it just different in a newer version of apache? I did find "mod_rewrite" mentioned as a module in that file. This worked fine on my old server, I'd really like to have it up on the new one! Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
Chris Dunning Posted June 1, 2004 Author Posted June 1, 2004 Apparently that line isn't necessarily in httpd.conf by default. After researching a bit more on google (I suppose I should stfw before I post to the forums) I found this link: http://httpd.apache.org/docs-2.0/mod/core....#acceptpathinfo Following the advice there, I added the following line to my httpd.conf file: AcceptPathInfo On After a quick restart of Apache the URLs work fine now! Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
voided Posted June 23, 2004 Posted June 23, 2004 holy cow... thank god for this post ;) Designrfix.com | Graphic Design Inspiration & Web Design Resources - @designrfix
tcpope Posted December 3, 2004 Posted December 3, 2004 Chris, Thanks for posting this. It saved me tons of time tracking this problem on my development server. Regards, Tim
TracyS Posted October 20, 2006 Posted October 20, 2006 Apparently that line isn't necessarily in httpd.conf by default. After researching a bit more on google (I suppose I should stfw before I post to the forums) I found this link:http://httpd.apache.org/docs-2.0/mod/core....#acceptpathinfo Following the advice there, I added the following line to my httpd.conf file: AcceptPathInfo On After a quick restart of Apache the URLs work fine now! Was this for the osCommerce Search Engine Friendly URL's - or one of the Contributions? Does this fix work if your host is running PHP in CGI rather than in Apache mode for security reasons? All my host would tell me is I would have to play with mod_rewrite and that it was much to extensive for them to support me with - LOL ~Tracy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.