hi everyone got a sticky wuestion
i have a couple of directories which should not be accessed by normal users.
if use htaccess in apache to set right to only a few users in need a authorization request by a window
but on the other hand i want these users to get acess to php cms by login with a html form or a 401 header unauthorized php function
now my question to gain access to apache closed directory i need a apache login like this
http://mtd.fh-hagenberg.at/intranet/200 ... index.html
but for a cms i need a php login to set cookies etc
is there any possibility to make a intranet php part of the cms and at the same time grant them access to folders? because i dont want my users to login twice--> for php and apache
perhaps a php function that grants also apache access
thx a lot for any advice jakob
STICKY]use 401 unauthorized for granting access to directory
Moderator: General Moderators
-
jakobdoppler
- Forum Commoner
- Posts: 46
- Joined: Wed May 21, 2003 6:16 pm