On Wednesday 21 June 2006 10:40, Eric Windisch wrote:

> On Tue, 2006-06-20 at 11:24 -0700, Ken Woodruff wrote:
> > Hey Eric, thanks for the response.  What I'm wondering is if there is
> > a way (perhaps via an appropriate Apache configuration) to avoid the
> > issue of directory requests getting to Mason altogether.  What I'm

> Apache looks at /foo/1234/, sees it is a directory and attempts loading
> the list of DirectoryIndexes in order by performing stat calls.  If you
> want to muck with this, you have a few choices.  The easiest is
> mod_rewrite, an (untested) example is given below.  

> The mod_rewrite hack would probably look something like:
>
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule /?(.*) %{HTTP_HOST}/$1/index.html [P]

This is the section from my httpd.conf file (tested, does work):
         Options -Indexes
         RedirectMatch permanent (.*)/$ $1/index.html


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to