1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[suggestion] Homer or lighttpd in Tomato

Discussion in 'Tomato Firmware' started by yaqui, Aug 18, 2007.

  1. yaqui

    yaqui LI Guru Member

  2. srouquette

    srouquette Network Guru Member

    you can already run a http server on tomato (telnet and try httpd -h)
    the problem is the port 80 is already reserved for the admin page on the router, you can run the http server on another port (httpd -p 8080) but I don't know if it's possible to redirect dnsmasq to a different port than 80.

    About Homer, it's a nice idea :)
     
  3. yaqui

    yaqui LI Guru Member

    Thanks, where is httpd.conf or where should it placed?
    Code:
    # find / -name httpd.conf
    find: unable to open `/proc/7/fd': No such file or directory
    #
     
  4. srouquette

    srouquette Network Guru Member

    hum, I found some information here and there but... it's not in english :)
     
  5. yaqui

    yaqui LI Guru Member

    There is no -c option to specify the .conf file :(
    Code:
    # httpd -h
    Usage: httpd [options]
      -d        Debug mode / do not demonize
      -p <port> Port to listen on
      -s        Use HTTPS
    
     
  6. rommels

    rommels LI Guru Member

  7. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    Oh its been done http://www.macsat.com/macsat/content/view/19/30/#pre

    Question to yaqui: What is it you are looking to do? lighttpd is completely different than Homer. One is a "light" web server and the other is a light content blocker.
     
  8. rommels

    rommels LI Guru Member

    I meant on Tomato. I'll try those instructions though and see if it will work for Tomato. I'm a n00b so we shall see how far I get till I'm worn out.
     

Share This Page