Welcome! Log In Create A New Profile

Advanced

authorization problem

March 08, 2010 08:26AM
now i have successfully set the 'nginx.conf ' like this:

29 auth_basic "LTP Web Service";
30 auth_basic_user_file ltpasswd;

and when visit the web site, it will pop a box ask for username and pwd. here is problem:

i want to communicate with the server by C++/JAVA or some other languages and don't know how to put my username and pwd to the server.
shall i add Authorization Option to the http header or write something in cookie?
Subject Author Posted

authorization problem

chuj625 March 08, 2010 08:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 266
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready