<commit_before>### Web forms

Doing some research on web forms, specifically in relation to the RPi:

 - [CGI Scripting on the RPi](http://raspberrywebserver.com/cgiscripting/)
   - [Sending data via HTTP GET & POST](http://raspberrywebserver.com/cgiscripting/sending-data-to-an-HTTP-server-get-and-post-methods.html)
 - [Nginx webserver](http://elinux.org/RPi_Nginx_Webserver)
   - [More Nginx setup...](http://www.ducky-pond.com/posts/2013/Sep/setup-a-web-server-on-rpi/)
 - [Web forms in Python](http://raspberrywebserver.com/cgiscripting/web-forms-with-python.html)
 - [RPi LAMP stack](http://www.php5dp.com/get-mysql-and-php-to-work-together-in-raspberry-pi/)
 
I REALLY was not expecting the PHP form submissions to be a problem...at all. I have some work to do....

### One down...

Nginx fully installed and configured with PHP5, still no go. PHP page renders, submit does nothing.

[Back](18.md)<commit_msg>Update 19.md<commit_after>### Web forms

Doing some research on web forms, specifically in relation to the RPi:

 - [CGI Scripting on the RPi](http://raspberrywebserver.com/cgiscripting/)
   - [Sending data via HTTP GET & POST](http://raspberrywebserver.com/cgiscripting/sending-data-to-an-HTTP-server-get-and-post-methods.html)
 - [Nginx webserver](http://elinux.org/RPi_Nginx_Webserver)
   - [More Nginx setup...](http://www.ducky-pond.com/posts/2013/Sep/setup-a-web-server-on-rpi/)
 - [Web forms in Python](http://raspberrywebserver.com/cgiscripting/web-forms-with-python.html)
 - [RPi LAMP stack](http://www.php5dp.com/get-mysql-and-php-to-work-together-in-raspberry-pi/)
 
I REALLY was not expecting the PHP form submissions to be a problem...at all. I have some work to do....

### One down...

Nginx fully installed and configured with PHP5, still no go. PHP page renders, submit does nothing.

Clearly lots of people are able to run webservers and PHP off the RPi, there are tutorials for days on the subject; what am I doing wrong?! After racking my brain, trying to figure out what it could be, I found [this post on the Raspberry Pi forums](http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=76440&p=546159&hilit=webserver+php#p546159).

OF COURSE! I always forget how picky Unix/Linux is with file permissions, and it's always the last thing I check. I look up the Nginx error log, and sure enough...

<a href="img/permission_denied.png"><img src="img/permission_denied.png" height="200"></a>

I've never been so happy to see the words 'Permission denied'! I'm not crazy or incompetent!

[Back](18.md)
{'fraction_non_alphanumeric': 0.13146466640347415, 'fraction_numerical': 0.015791551519936834, 'mean_word_length': 4.098591549295775, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1026217', 'n_tokens_mistral': 895, 'n_tokens_neox': 824, 'n_words': 252}