RE: Mod-rewrite+Mod_proxy+Mod_cache

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

 



OK it works, so basixc conf is :

<IfModule mod_proxy.c>
   <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/img=(.+)
      RewriteRule ^/img=(.+)$ $1 [L,P]
      RewriteLog /var/log/RewriteLog.log
   </IfModule>
   AllowEncodedSlashes on
   ProxyRequests On
   ProxyVia On
   <IfModule mod_disk_cache.c>
      CacheEnable disk /
      CacheRoot "/var/cache/mod_proxy"
   </IfModule>
   <IfModule mod_mem_cache.c>
      CacheEnable mem /
      MCacheMaxObjectSize 1024000
      MCacheSize 102400
   </IfModule>
</IfModule>

I'know that's is not the more secure way of use but i must respect this choice and do my best to limit proxied sites.

Thx

---------------------------------------------------------------------
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