Welcome to WebmasterWorld Guest from 54.224.160.42

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

automatic extension rewrite?

     
5:51 am on Nov 3, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 18, 2008
posts:100
votes: 0


i have two servers one is windows one is linux. they both do this great/horrible thing where if your trying to access file "/something" and "/something.jpg" is a real file it will find and use that file. The difference between the servers is the linux server will redirect you to the file but the windows server will just pull the file behind the scenes.

i guess i just need to know what is causing this so i can understand it better. i guess its a module, but i can't figure out which one. i'd like both servers to behave the same. I'd rather them both be like the linux server because some of my manual rewrites were being messed up by this.

8:18 am on Nov 3, 2009 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member themadscientist is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 14, 2008
posts:2910
votes: 62


Have a look at Mod_Negotiation, specifically MultiViews.

[httpd.apache.org...]

(Double check your Apache Version so you know you are reading the correct manual for your server version... I have no clue on the Windows server settings.)

1:39 pm on Nov 3, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


The typical cure for this is to add
 Options -MultiViews 

to your code, or to combine that option with others already specified, such as
 Options +FollowSymLinks -MultiViews

Jim
4:49 pm on Nov 3, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 18, 2008
posts:100
votes: 0


Ah exactly what i need. Thanks!