> -----Original Message----- > From: John Romkey [mailto:[EMAIL PROTECTED] > Sent: 06 February 2007 14:06 > To: Meyers, Daniel > Cc: mason-users@lists.sourceforge.net > Subject: Re: [Mason] Mason displaying source code if you miss > off the extension? > > Perhaps you have mod_speling enabled and it's matching > search.html for 'search' without causing the Mason processing > to happen? (I would expect that Mason would still get to > process the file but this is the first thing that comes to mind...) > - john romkey
Had a poke, and that module doesn't even appear to be being loaded. Mason isn't processing the file because I don't have a LocationMatch catch-all entry in the config file. I'm wondering if I should create one, or if it will cause interesting behaviour elsewhere. At the moment I have an entry to deal with html/xhtml, one for php, etc etc, but because this file that is being searched for has no extension it would appear it's falling off the bottom of the list of LocationMatch statements that are within the Mason module config, and thus isn't getting handled by Mason but by the standard Apache install. I realise now that that pretty much contradicts my first assumption, where I was saying it seemed to be something within Mason. This behaviour should go away I guess if I configure Mason with a catch-all (or a catch-most, that handles anything without an extension but not things with unrecognised ones). So I'm probably in actual fact posting on the wrong mailing list about this. Apologies to all. I do still wonder quite how Apache is matching this however, instead of just providing a 404... Dan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users