hi all, i have a query regarding the .htaccess directories..
i have a account on a linux server wherein i have stored some programs in a directory which is protected by .htaccess ...
now i have given access to this directory only by 1 login & password which i have already set ..
now i have my other website on some other NTserver wherein i am running a ASP page with backend as XML and this xml database has a number of login & passwords stored. if any1 authenticates to this xml database on my nt server then i want him to get access to my linux server directory which is protected by .htaccess ..which means that if any1 authenticates on the asp page , he *should not* be prompted for the .htaccess password on the linux directory on my other server..
i.e. i want to pass a string along with the asp page to .htaccess along with my already set login & password to let this user access that directory without the .htaccess popup coming up.... ...huh
hope u'll got it ..
thanx cheers~ </shahazad>
Hi,
Try...
http://user:passwd@your.server.com/
Should work... At least from the browser... May be LWP in perl may have support...
HTH
On 14 Oct 2001 shahazad@linuxplanet.nu wrote:
hi all, i have a query regarding the .htaccess directories..
i have a account on a linux server wherein i have stored some programs in a directory which is protected by .htaccess ...
now i have given access to this directory only by 1 login & password which i have already set ..
now i have my other website on some other NTserver wherein i am running a ASP page with backend as XML and this xml database has a number of login & passwords stored. if any1 authenticates to this xml database on my nt server then i want him to get access to my linux server directory which is protected by .htaccess ..which means that if any1 authenticates on the asp page , he *should not* be prompted for the .htaccess password on the linux directory on my other server..
i.e. i want to pass a string along with the asp page to .htaccess along with my already set login & password to let this user access that directory without the .htaccess popup coming up.... ...huh
hope u'll got it ..
thanx cheers~
</shahazad>