Apache 2.4 producing 500 error when serving DirectoryIndex page from Shib SP protected areas

Cantor, Scott cantor.2 at osu.edu
Wed Oct 3 22:26:24 EDT 2012


On 10/3/12 12:04 PM, "Paul Beckett (ITCS)" <P.Beckett at uea.ac.uk> wrote:

>The secure directory exists, and contains a single index.html (just for
>testing at the moment).

Alright, that's not really very different from what I tested, but just to
be safe I'll find some time to test a static file in a subdirectory. I
don't think that should be different from a file at the root of course.



>The apache server config includes:
>DirectoryIndex index.htm index.html
>
><Location /Shibboleth.sso>
>SetHandler shib
></Location>

You certainly don't need that bit above, but it probably doesn't hurt
anything.

>Requests to /secure , /secure/ or /secure/index.html all result in this
>same behaviour : browser appears to receive no response.

I'll have to find time to test this on Linux I guess, in case it's
behaving differently. On Windows, it definitely works in the mode you're
testing it now.

>unfortunately it was all in a virtual server running on the PC that died
>- so have had to recreate from scratch. Tomorrow I could rebuild mod_shib
>without the mod_shib.cpp patch to verify I still get exactly the same
>behaviour (500 error when relying on DirectoryIndex, but otherwise get
>page) as I did before if that would be useful?

I doubt it, I wouldn't waste your time.

But I probably won't have a chance to test this further until next week or
so.

-- Scott




More information about the users mailing list