run apache at a different port and set http_accel_host and http_accel_port
to point to it.

hope it helps :)
win

Bopolissimus Platypus said:
> hello all,
>
> i'd like to know if it's possible to do transparent squid and still run
> an httpd daemon on port 80 on the same box (there is only one
> ethernet interface).
>
> what we do is, all requests to port 80 get forwarded to our
> proxy by the CISCO router.  there is no port mangling at
> the CISCO end, so they are forwarded to port 80 on the
> proxy server.
>
> on the proxy server, there are the standard transparent
> proxy rules (iptables and squid.conf) so that http requests
> that arrive on port 80 get forwarded to port 3128 and squid
> then handles them.
>
> my question is, is it possible to have squid distinguish
> requests to itself (rather than to remote hosts), and then
> have requests to itself be processed by apache?
> requests to remote hosts, of course, get sent to
> the proxy for processing.
>
> tiger
>
> --
> Gerald Timothy Quimpo  gquimpo*hotmail.com tiger*sni*ph
> http://bopolissimus.sni.ph
> Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
>
>    printk(KERN_EMERG "CPU#%d: Possible thermal failure \
>             (CPU on fire ?).\n", smp_processor_id());
>             /usr/src/linux/arch/i386/kernel/bluesmoke.c
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
>


-- 
"There is no security in life, just opportunities." Douglas McArthur
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to