Click to See Complete Forum and Search --> : URL To bypass .htaccess


russellkain
02-26-2006, 04:28 PM
when typing a url into 'Internet Explorer' is there a way to type it in such a manner that you are are providing the username and password for .htaccess so that the login box does not appear?

for example if the url is:
'http://www.testingwebsite.com/secure/accounts.htm'

and .htaccess details
username=peterpan, password=2TyiL12P (encrypted - basic authentication)

Can you write a url including these details so authentication is not required?

many regards
-------------
Russell

Kravvitz
02-26-2006, 05:33 PM
Try this:
ftp://peterpan:2TyiL12P@http://www.testingwebsite.com/secure/accounts.htm

russellkain
02-26-2006, 06:09 PM
nah that didnt work.

i think its something your supposed to add to the end of the url but im not sure whether the password should be in its encrypted format or not :confused: :confused: :confused:

Kravvitz
02-26-2006, 06:13 PM
Oops. I meant this:
http://peterpan:2TyiL12P@www.testingwebsite.com/secure/accounts.htm

If it doesn't work try using the unencrypted password. If that doesn't work, then you're stuck.

David Harrison
02-26-2006, 07:34 PM
I would just like to check at this point, that's not a genuine username and password is it? If so I strongly recommend removing it immediately. If you want to represent a password, a string of *'s will do.

ray326
02-26-2006, 11:38 PM
and .htaccess details
username=peterpan, password=2TyiL12P (encrypted - basic authentication)You don't use the encrypted password. If your password is "wendy" then it will be.

http://peterpan:wendy@www.neverland.com/