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

Re: [Sheflug] Redirecting to a index page depending on group membership on Apache 1.3



At 19:02 26/08/03 +0100, you wrote:
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?
There's lots of ways to achieve what you want, but without more details of your setup then it's hard to know which is best.

Could you have
http://mysite.com/index.php
that checks the username and password and redirects using
header('Location: /staff/index.php');
to the appropriate place?

Gary

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

GNU the choice of a complete generation.