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.