[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Redirecting to a index page depending on group membership on Apache 1.3
I seem to have hit a brick wall!
I am trying to set up an apache webserver to replace a current IIS 4 box. On
the IIS 4 box I am able
to redirect to one of two pages depending on if the user has authenticated
as a member of the staff group or
the student group.
This means I can hide all the staff options from the students, and has
worked brilliantly for a few years.
I can use mod_pam to get access to the same user names passwords etc, but I
can`t see how to do the redirect.
It IIS4 works by running as the web user (as apposed to the web server user)
and checks if it can access a file, if yes
they are staff.
As far as I know apache runs php scripts etc as the apache user, so this
wouldn't`t work. It looks like I need to be using
apache authentication directives but what should I use?
Thanks
Rob Keeling
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.