.htaccess tutorial

htaccess Elite


Bypass .htaccess login rule

Using PHP in and with htaccess

Bypass .htaccess login rule

New postby asif » 23 Mar 2009 12:49

Hi All,

I am having problem to log into the other domain's pages without popping up default login box. There are two domains involved in the application (PHP and APACHE based). At first domain I am authenticating user against AD.

Upon success I want to access other domains pages which are protected using htaccess rules without asking to reenter user credentials again. I want to bypass this rule.

When I tried sending username and password embedded inside url for e.g. 'http://user:password@www.domain.com'. I found that due to IE security fixes this idea doesnt seems to work.

Then I tried using cURL to bypass this rule. I got index page (Other domains) output to first domain without redirecting to other domain. But problem is like whenever I tried to use the navigation functionality of this output for e.g. clicking on any of the links causes redirection into other domain pages and this again popups the login box.

Is there any solution to bypass this login process?
asif
 
Posts: 1
Joined: 23 Mar 2009 11:37

Return to PHP and htaccess