homepage Welcome to WebmasterWorld Guest from 54.237.134.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
automatic extension rewrite?
noyearzero




msg:4017977
 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.

 

TheMadScientist




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

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

jdMorgan




msg:4018162
 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

Jim

noyearzero




msg:4018304
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved