Re: cannot use cache in forward proxy configuration

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

 



hello
still stucked on this

i tried to compile the last version of apache just to be sure
Server version: Apache/2.4.55 (Unix)
Server built:   Feb  7 2023 17:13:57
Server's Module Magic Number: 20120211:126
Server loaded:  APR 1.7.2, APR-UTIL 1.6.3, PCRE 10.36 2020-12-04
Compiled using: APR 1.7.2, APR-UTIL 1.6.3, PCRE 10.36 2020-12-04
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/home/bin/httpd24"
 -D SUEXEC_BIN="/home/bin/httpd24/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

is there any suggestion on this ?

thanks


Le mar. 24 janv. 2023 à 17:47, bc BC <lbcbash@xxxxxxxxx> a écrit :
i tried in a location
<Location "/">
    CacheEnable disk
</Location>

this too:
CacheEnable disk "https://*"

CacheEnable disk "http://*"

CacheEnable disk "http://The_PROXY_IP"

apache is running, proxy is working but my cache is remains empty

any suggestion appreciated 

thank you



Le mar. 24 janv. 2023 à 17:39, Eric Covener <covener@xxxxxxxxx> a écrit :
The manual has examples of what the 2nd arg should be.

On Tue, Jan 24, 2023 at 11:35 AM bc BC <lbcbash@xxxxxxxxx> wrote:
>
> thanks for your help
> AH00526: Syntax error on line 8 of /home/conf/proxy.conf:
> CacheEnable provider (disk) is missing an URL.
>
> the line 8:
> CacheEnable disk
>
>
> Le mar. 24 janv. 2023 à 16:32, Eric Covener <covener@xxxxxxxxx> a écrit :
>>
>> > CacheEnable disk /
>>
>> https://httpd.apache.org/docs/2.4/mod/mod_cache.html#cacheenable
>>
>> I think you need a non-/ argument here for forward proxy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>


--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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