Click here to Skip to main content
15,912,400 members

Comments by Bart de Lange (Top 56 by date)

Bart de Lange 4-Mar-14 11:14am View    
Thank you very much this solved it
Bart de Lange 4-Mar-14 10:44am View    
well i need the launcher to check if a newer version is available thats why i'm putting a file in the update (for exmple update.03-04-2014.txt) and when there is a newer update(so the file update[newer date then local file].txt) the launcher wil download the update. but how do i check if that file has a newer date in it(normaly with other languages you could use update.([z0-9-]+).txt so thats why i thought of using regular expressions)
Bart de Lange 4-Mar-14 10:30am View    
yes please(so i can edit it)
Bart de Lange 9-Jun-13 7:11am View    
OK i know a little more it has to do something with the web credentials and the basic authentication/basic realm

and intercepting a 401 HTTP status code
Bart de Lange 9-Jun-13 5:48am View    
OK i gave it another try to look what the .htpasswd file does

and here it is

it sends a login request to the browser and normally the browser then shows the user a login pop up(like when you trying to login on your routers web page where you can define your routers settings) this pop up is made by the browser itself because it is a different pop up if you are using IE or Google Chrome.

so when you're trying to access a site which is blocked by a .htpasswd file Apache sends a login request and the browser then responds with a pop up to let the user login to the site

Kind Regards,
Bart de Lange


P.S. Sorry to bumb this question but i really need to know this because its the only thing that my browser is not capable of
(and downloading files from example download.aspx?file=.... or download.php?file=....)