I have a nodemcu that i want to keep dhcp-ing and therefore wanted the authentication going. Now i got it to work, your addition to the header was allmost complete. this is what i got working:
conn:send("GET /json.htm?type=command¶m=udevice&idx=501&nvalue=0&svalue=".. t .." HTTP/1.1\r\nHost ...
Search found 2 matches
- Saturday 08 April 2017 21:46
- Forum: MySensors
- Topic: ESP8266 on nodeCMU, authorization problem
- Replies: 3
- Views: 2166
- Tuesday 18 October 2016 13:50
- Forum: Other questions and discussions
- Topic: Login database
- Replies: 4
- Views: 3762
Re: Login database
i had to do:
1 copy the sqlite php files
2 configure the directories and passwords
3 install php/sqllite:
sudo apt-get install php5-sqlite
4 make the directory of the database writable for the apache account (security problem)
5 make the database file writable for the apache account
and working ...
1 copy the sqlite php files
2 configure the directories and passwords
3 install php/sqllite:
sudo apt-get install php5-sqlite
4 make the directory of the database writable for the apache account (security problem)
5 make the database file writable for the apache account
and working ...