Welcome to WebmasterWorld Guest from 54.198.222.129

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

automatic extension rewrite?

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

5+ Year Member



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)

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



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)

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



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)

5+ Year Member



Ah exactly what i need. Thanks!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month