You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tapas Mishra <mi...@gmail.com> on 2010/06/02 11:47:42 UTC

[users@httpd] caching proxy

Hi,
I did try to read apache docs given here.
http://httpd.apache.org/docs/2.2/mod/mod_cache.html#cacheenable
http://www.google.co.in/search?hl=en&safe=active&q=how+to+set+up+an+apache+caching+proxy&aq=f&aqi=&aql=&oq=&gs_rfai=
actually I am a bit new to this so if some one can let me know.
I am having a reverse proxy based website.


The reverse proxy forwards any request to main website to an internal
server.Looks like this
I tried putting
CacheEnable disk http://site5.abc.com/
but after that apache2 failed to restart how should I do that can any
one let me know.

<VirtualHost *:80 >

        ServerName site5.abc.com
        ServerAdmin webmaster@localhost
        ServerName site5.abc.com
ProxyRequests off
<Proxy *>
        Order deny,allow
        Allow from all
</Proxy>
        ProxyPass / http://192.168.1.5
        ProxyPassReverse / http://192.168.1.5
        ErrorLog /var/log/apache2/site5_error.log
        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn
        CustomLog /var/log/apache2/site5_access.log combined
</VirtualHost>


-- 
Tapas

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] caching proxy

Posted by Igor Cicimov <ic...@gmail.com>.
CacheEnable disk /

On Wed, Jun 2, 2010 at 7:47 PM, Tapas Mishra <mi...@gmail.com> wrote:

> Hi,
> I did try to read apache docs given here.
> http://httpd.apache.org/docs/2.2/mod/mod_cache.html#cacheenable
>
> http://www.google.co.in/search?hl=en&safe=active&q=how+to+set+up+an+apache+caching+proxy&aq=f&aqi=&aql=&oq=&gs_rfai=
> actually I am a bit new to this so if some one can let me know.
> I am having a reverse proxy based website.
>
>
> The reverse proxy forwards any request to main website to an internal
> server.Looks like this
> I tried putting
> CacheEnable disk http://site5.abc.com/
> but after that apache2 failed to restart how should I do that can any
> one let me know.
>
> <VirtualHost *:80 >
>
>        ServerName site5.abc.com
>        ServerAdmin webmaster@localhost
>        ServerName site5.abc.com
> ProxyRequests off
> <Proxy *>
>        Order deny,allow
>        Allow from all
> </Proxy>
>        ProxyPass / http://192.168.1.5
>        ProxyPassReverse / http://192.168.1.5
>        ErrorLog /var/log/apache2/site5_error.log
>        # Possible values include: debug, info, notice, warn, error, crit,
>        # alert, emerg.
>        LogLevel warn
>        CustomLog /var/log/apache2/site5_access.log combined
> </VirtualHost>
>
>
> --
> Tapas
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>