Lighttpd setup cgi
Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search.
Does anyone know how to configure lighttpd to handle plain CGI executables, in this case written in C? I have compiled a test program test.
I have also enabled the CGI module with lighty-enable-mod cgi and restarted the web server. Here is my test program by the way:. To enable per-user cgi directories, add. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. I used the command "lighty-enable-mod cgi" as mentioned on the default welcome page to enable cgi scripts.
I restart lighttpd and on my pc I type the IP address of my Pi in the web browser and get the default welcome page. What am I doing wrong? Should I use an other URL? Should I use an other lighttpd. Thus, you either need to move your cgi-bin under the document-root, or create an alias as Owl City suggested.
Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Running cgi scripts with lighttpd Ask Question. Asked 4 years, 2 months ago. Active 1 year, 11 months ago. Viewed 8k times. Then I saw a web page telling me to change lighttpd. You can than start the uwsgi application either as a systemd unit or direct. Here is a neat guide from digitalocean on how to setup a flask application from the scratch. Namespaces Page Discussion. Views Read View source View history.
See the OpenSSL article for details. Tip: Mozilla has an SSL configuration generator that can be used with lighttpd. Note: If you receive errors like No input file found when attempting to access php files, there are several possible explanations. See this FAQ for more information. Make sure that no other module e. More details on php-fpm can be found on the php-fpm website.
0コメント