Results 1 to 8 of 8
  1. #1

    Can we install thttpd together with apache?

    Hello , i hear alot of good thing about thttpd , but can we install thttpd in another port when apache still running in port 80 ?

  2. #2
    I dont see why not.

    Check out the -p option via command line, or a simple change in the source could make it listen on a different port.

  3. #3
    Join Date
    Apr 2004
    Canada, Montreal
    Yes. No problem - apache use 80 port while thttpd over port.

  4. #4
    Join Date
    Mar 2003
    California USA
    you can also run thttpd on another ip thats not used for sites and make apache not bind to it
    Steven Ciaburri | Proactive Linux Server Management -
    Managed Servers (AS62710), Server Management, and Security Auditing.

  5. #5
    Join Date
    Feb 2004
    a cool thing would be to make the kernel decide which one should give the content

    if static -> thttpd
    else -> apache

    hehe... i guess there're already some modules/hacks for kernel... but i don't do that on running kernels

  6. #6
    Lem0nHead . what do you mean ? thttpd and apache in same port or difference port ?

  7. #7
    i am planing to put all of my wma files to thttpd , but are there anyway to prevent hot link to my wma files under thttpd ? anybody here have used thttpd before ? and any comment about it ?
    Thank you

  8. #8
    Join Date
    Feb 2004
    Originally posted by blackmoont
    Lem0nHead . what do you mean ? thttpd and apache in same port or difference port ?
    i think it's needed to be in different ports

    AFAIK, there would be a kernel module checking for HTTPd requests on port 80
    if it requests a static object (html, gif, jpg...), it's sent to thttpd, else it's sent to apache

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts