Warning: session_start(): open(/var/lib/php5/sess_2umdqfp22vfhp44eqgd8ofk977, O_RDWR) failed: Read-only file system (30) in /var/www/www_acmesystems_it/index.php on line 25 Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /var/www/www_acmesystems_it/index.php on line 45
If you want to access custom html pages on your FOX Board, you simply put them in /etc/httpd/html/ directory and accesso to it from this URL:
However, if you want to use CGI, you need to create a new CGI folder.
To do this, you need to :
# cd /etc/httpd # mkdir cgi
ScriptAlias /cgi/ /etc/httpd/cgi/
# /etc/init.d/httpd restart * Restarting web server... [ ok ]
[Source not found]
# chmod +x helloworld.sh
Your client does not have permission to get URL /cgi/helloworld.sh from this server.
If you obtain this message probably the helloworld.sh script is not executable. Use this command:
# chmod +x helloworld.sh
502 Bad Gateway
The CGI was not CGI/1.1 compliant.
If you obtain this message probably you have used a "DOS like" editor like Notepad to edit the helloworld.sh script file. This add a CR/LF sequence at the end of each lines instead of a single LF. If you are using UltraEdit or any other good editor probably you can choose to save the file in Unix format elsewhere use these commands to strip the CR chars:
# cat helloworld.sh | tr -d '\r' > helloworld1.sh # cp helloworld1.sh helloworld.shWarning: error_log(/var/tmp/visited.log): failed to open stream: Read-only file system in /var/www/www_acmesystems_it/index.php on line 155
Atmel© Certified Partner
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. The mantainer of this site (Sergio Tanzilli), has gone to a great deal of effort into making this documentation as correct as possible. Acme Systems doesn't provide any direct support for the Open Source preinstalled software but provides, through these pages and forum posts, all the information required to obtain the sources, install, use and update the Open Source softwares runnable on the FOX Board, NetusG20, AriaG25 and Terra platforms. Please note that all the preinstalled softwares, used on the Acme Systems products, are Open Source and you will have to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial product, by yourself. Before sending emails or calling the Acme staff here are our contacts please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS so could be better to post your questions directly to the forum listed below to be sure that all the contributors of this site and the large software developers community will read and reply to your questions.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.