| ASUS WL-Series thttpd CGI / Perl guide |
|
|
|
| Written by macsat | |
| Friday, 25 November 2005 | |
|
This is a step for step guide for adding perl / .pl / CGI support to your ASUS WLxxxx based webserver. If you are the lucky owner of any of the above devices, you have come to the right place. After following the steps in this guide, your ASUS WL device will have all its normal functionality, Guide Index1. Prerequisites - What is needed to get started.2. Installing needed software packages 3. Configuring the webserver PrerequisitesThis guide is made as a "follow-up" for my thttpd Web Server Tutorial.This means that I consider the setup to be simular to the setup you will have after completing that guide. Installing Needed Software PackagesThe needed package will be installed using the ipkg package management system. ipkg install microperl < enter > Configuring the Web ServerThe webserver is quite easy to configure for using .pl / .cgi scriptsFirst create a cgi-bin directory : mkdir /opt/share/www/cgi-bin < enter > Edit the webserver configuration file : /opt/bin/nano /opt/etc/thttpd.conf < enter > At the bottom of the file, add the following line : cgipat=/cgi-bin/* Save the file by pressing < ctrl > + O followed by < enter >, exit nano with < ctrl > + X followed by < enter > Restart the webserver : /opt/etc/init.d/S80thttpd restart < enter > Now your web server will be able to execute Perl based cgi / pl scripts in the /cgi-bin of your webserver :-) I hope you found this guide useful. Comments are welcome to This e-mail address is being protected from spam bots, you need JavaScript enabled to view it |
|
| Last Updated ( Tuesday, 10 January 2006 ) |
| < Prev | Next > |
|---|







