[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Directory Listing



In the Default (Flexible Handler), I replace the line
	Handle Condition="&cmp($c,internal/x-directory)" TableHTML
with:
	Handle Condition="&cmp($c,internal/x-directory)" StatusCode StatusCode="404"

Since I want it to generate a not found error. So this is how I have it
setup right now:

#	Handle Condition="&cmp($c,internal/x-directory)" TableHTML
	Handle Condition="&cmp($c,internal/x-directory)" StatusCode StatusCode="404"
	Handle Condition="&cmp($c,internal/x-directory)" ReturnCode
ReturnCode=REDIRECT

I need to generate a REDIRECT code, but StatusCode already generates a
COMPLETED CODE, so the rest is not executed.  What do I do?