Re: Static content switching in Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think forwarding a request from Apache will not create any overhead.

If I use mod_proxy then how could i verify that response is return by the lightweight webserver (thttpd)

Waiting for reply

Regards,
Anam


From: Jaco Kroon <jaco@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Wednesday, 29 February 2012, 14:14
Subject: Re: [users@httpd] Static content switching in Apache

H Anam,

I'm with Tom on this one.  The additional processing required in order to "forward" the request most likely far outweighs the "lightweight" benefit of using a lightweight server.  I would recommend doing this the other way round if you would like to do this, so lightttpd receives the request, if it's static, serve it, if not, forward to apache.  That way round you might actually get a benefit from using one of the lightweight http servers.

Kind Regards,
Jaco

On 29/02/12 11:08, Anam Ali Khan wrote:
Thank you Tom for your reply.

I don't want to serve static content from Apache, i want to forward those requests to lightweight web servers and they should be capable to serve those content.


From: Tom Evans <tevans.uk@xxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx; Anam Ali Khan <anamalikhan@xxxxxxxxx>
Sent: Tuesday, 28 February 2012, 19:54
Subject: Re: Static content switching in Apache

On Tue, Feb 28, 2012 at 2:32 PM, Anam Ali Khan <anamalikhan@xxxxxxxxx> wrote:
> Hello,
>
> I would like to implement following configurations in Apache web server:
>
> Static content switching (forwarding) of files in Apache to lightweight web
> servers -> Servers like thttpd/lightttpd
> Responce should be return directly by those lightweight web servers.
>

mod_proxy will do that.

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

Apache is quite capable of serving files from disk though, why not just let it?

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "  from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx







[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux