codered.cgi installation and configuration


Installation under Freesco:

Unzip this file and copy codered.cgi in freesco to:
 
mnt\router\wwa\cgi\
YES to \wwa\cgi NOT \www\cgi that would make it public.
Then type:
 chmod 755 mnt\router\wwa\cgi\codered.cgi
Open a browser and launch this url:
 http://freesco-router:adminport/cgi/codered.cgi?help
  Example: http://192.168.1.1:82/cgi/codered.cgi?help

If you like to customize the script:
 Open codered.cgi in your editor and change the setup options.


NOTE: This script is for Apache webserver.
If you do not have Apache as a webserver but the default thttpd read this:

Modify the /rc/rc_httpd file. 
         
 Change: 
 thttpd -p $WWWPORT -u nobody -d /www -l /www/logs/thttpd.log && $DONE          
         
Now setup the codered.cgi by the line:

  WORMLOG="/mnt/router/packages/apache/logs/access_log"
and change is in the path of your choice. in this case:
    WORMLOG="/mnt/router/www/logs/thttpd.log"



Back to mainpage for freesco

 

Build by a FrysianFool