[Development] Own web page httpd

Joshup rmadrid25 at yahoo.com
Sun Nov 23 21:37:15 UTC 2008

Hi, i tried to put my own webpage on port 81

I placed a line in /etc/init.d/httpd

         [ -d /www ] && httpd -p 81 -h /tmp/mounts/sd -r OpenWrt

and also on  /etc/config/httpd

     config 'httpd'
               option 'port' '81'
              option 'home' '/tmp/mounts/sd"

But when I power/reboot the fonera it doesn't work.  I have to enter via ssh and manually do:
in the folder /etc/init.d/

  ./httpd stop     -> IT says TERMINATED.
  ./httpd  start

This way it does work.  in Firefox i put  and works.

If you could tell me if what I am doing is not correct and how I should do it, it will be thankful.


More information about the Development mailing list