1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem MultipleChoices, Rewrting 301

Discussion in 'Apache' started by thekid37, Mar 7, 2012.

  1. #1
    Hi there,

    Got a problem with my Apache config on one of my servers. When i access an URL ex. http://www.mydomain.com/0540.htm (0540.htm non-existant page) the server is doing 2 things depending on witch page i'm accessing, it can result as a 300 code due to multiplechoice that i can trap, or it will rewrite directly to an looklike URL that exist ex. http://www.mydomain.com/0504.htm in that case. When that rewrite is done i receive a 301 moved permantly code. In that case i have to empty my browser cache to get the 301 code again or it will reload the 0504.htm page with code 200. Anyone seen something weird like that. I just want, if a page doesn't exist to eat a 404 error or other code that i can trap. I've remove all my .htaccess file to be sure there's no problem with them, so i guess it's on the server side config the problem.
    Thanks in advance

    p.s. Soorry for my poor english
    thekid37, Mar 7, 2012 IP