Restricting access with Apache and .htaccess

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
lacroix13
New php-forum User
New php-forum User
Posts: 64
Joined: Thu Aug 22, 2002 1:07 am

Restricting access with Apache and .htaccess

Post by lacroix13 » Wed Sep 18, 2002 12:43 pm

I have protected a directory with htaccess from apache. The problem is that I access the information in that folder(some web pages) from a web page with 5 frames :oops: (yeah, i know what you're thinking :wink: ) and the browser asks 5 times for the password.Can I do something to remedie this??? :?:

Jay

Post by Jay » Wed Sep 18, 2002 2:20 pm

You could use PHP coding within the frameset PHP. I can't be bothered to find it now, but I think it's chapter 18 of the manual, entitled HTTP Access via PHP or something like that! Read that chapter and amend it to suit your needs!

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot] and 1 guest