homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

automatic extension rewrite?

 5:51 am on Nov 3, 2009 (gmt 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)

Have a look at Mod_Negotiation, specifically MultiViews.


(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)

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



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

Ah exactly what i need. Thanks!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved