Jump to content

Mr2001

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Mr2001's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks, disabling mod_negotiation fixes the problem. According to the docs, the MultiviewsMatch directive controls this behavior of mod_negotiation. With "MultiviewsMatch NegotiatedOnly" set, it shouldn't be doing this, as far as I can tell, but it still is. Guess I'll just leave the module disabled.
  2. I'm stumped here... I'm running Apache 2.2 on SuSE. It's somehow automatically adding the .php or .cgi extension when I leave it off the URL, but I don't want this to happen. That is, if I request "/contact", and I have no such directory or file called "contact" but I do have /contact.php, then the server translates my request to /contact.php. Naturally this breaks all the relative links in that page when the request is actually something like "/contact/main.php". It's a problem because I'm rearranging the site and I actually have links like this that should be broken but are returning content instead, with incorrect relative links. (I can turn off AcceptPathInfo, but the server still accepts "contact" for contact.php.) As far as I can tell, I don't have any mod_rewrite rules set up, so I can't tell where this "feature" is coming from or how to turn it off. The only clue is that this translation happens for .php, .cgi, and .html, but not .shtml... and I get a "Content-Location" header in the HTTP response showing the correct filename where the content is actually stored.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.