Forum Moderators: phranque

Message Too Old, No Replies

Options -Multiviews

This mornings problem

         

Dayo_UK

9:55 am on May 18, 2005 (gmt 0)



Woke up this morning - checked logs and saw that I was getting 404s when I should not be.

After investigation it appeared that some of my mod-rewrites were not working so spoke to hosting company who advised that I need the following line in my .htaccess file:-

Options -Multiviews

The line did the trick and all was well - however I have now appled this line to other sites who did not have the problem - any side effects I should be worried about? - Everything works ok from what I can see.

Why would my sites suddenly have this problem (Server Change?)

jdMorgan

2:04 pm on May 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you are not actually using content-negotiation, this option should be OFF by default. It eats CPU time and causes a lot of problems (as you saw). It is useful on multi-lingual sites and for some other applications, but is an utter waste of CPU time if you don't actually need it.

You might want to take a look at the Apache docs concerning content negotiation, and interpret them in the context of your own sites' requirements.

Jim

Dayo_UK

2:13 pm on May 18, 2005 (gmt 0)



Hi Jim

Nope not using them - dont need them from what I understand - no en, de etc version of pages. Wonder if the hosting company turned them on as default.

On a shared server so perhaps it was requested by someone and they did not know the consequences.

Thanks anyway - guess it is safe having that line in the htaccess file.