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.


    http://www.acme.com/software/thttpd/thttpd_man.html

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

  4. #4
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    you can also run thttpd on another ip thats not used for sites and make apache not bind to it
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  5. #5
    Join Date
    Feb 2004
    Posts
    1,226
    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
    Posts
    1,226
    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
  •