|
/usr/local/fnord. This web server supports CGI, the Common Gateway Interface. However, it is not enabled by default. To enable it, add this line to the end of
/etc/inittab
:
::respawn:/usr/local/bin/tcpserver -DRHPl 0 -u 0 -g 0 0 80 /usr/local/fnord/fnordyThis will cause it to be launched at the next reboot. You can also execute the command interactively to launch the server without rebooting.
At this point you can connect to the PhotoBridge from a web browser. If you enter the PhotoBridge's address in the URL field, you'll see a credits page.
/user/local/fnord/default
An example CGI script is ps.cgi. When you access the server with the path /ps.cgi
, it serves up the process list.
You can implement your own CGI scripts.
Copyright © 2024 Andrew Oliver