On Fri, 9 Nov 2001, Jorge Godoy wrote:
> Philip Mak <[EMAIL PROTECTED]> writes:
>
> > My current solution is to "touch index.asp" in the port 80 DocumentRoot
> > and have "DirectoryIndex index.asp" so that it knows to ProxyPass those
> > requests. I'd have to "touch index.asp" manually for every directory,
> > though. Is there a better way around this?
>
> To ease your task... I think there might be a better solution that
> does not involve this index.asp file, but I can't think of it now.
>
>
> ======================================================================
> #!/bin/bash
> cd document_root
> for i in `find -type d`
> do
> cd $i
> touch index.asp
> cd -
> done
> ======================================================================
If this is the only way then you don't need such a huge script. One line
will do:
find document_root -type d -exec touch \{\}/index.asp \;