You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Kes Morland (A83066) Cobblers Hall Surgery DL5 4SE" <Ke...@gp-A83066.nhs.uk> on 2005/11/04 13:56:08 UTC
[users@httpd] Proxy set-up problem Urgent
Hi,
I have been struggling for quite some time now trying to get the proxy
working.
I have googled through the manuals!
We have three sites all connected onto the internet via adsl links and two
of the sites has a 128k dedicated pipe bridged onto the main site.
Our intranet pages need to be opened over the slow 128k link and I am trying
to set-up the proxy at each of the two satellite sites.
With tens of computers all competing on the 128k link, it can sometimes take
5 minutes for a small word doc to open in the intranet pages.
We have our intranet running on Windows 2k Server running ISS at the main
site.
The server is set-up correctly, with content expiration set for 10 days
until I get this up and working.
The pages are all served ok, but it is not caching any pages, the access log
reports (200's and not 300's) the following e.g.:
'machine_name..domain.local - - [04/Nov/2005:12:32:42 +0000] "GET
http://jmg-net/images/resize.gif HTTP/1.0" 200 134'
I am not certain if it is the filter set-up?
I have commented out the filters that I have tried, but receive filter not
found errors when trying these.
Where does the cache live? There is nothing hitting the JMGNET or proxy
folders.
Thanks for any help.
##########################################
#
## Httpd.Conf File
#
##########################################
<Directory "C:/Apache Group/Apache2/Proxy">
Order Deny,Allow
Allow from all
</Directory>
<Directory "C:/Apache Group/Apache2/JMGNET/*">
Order Deny,Allow
Allow from all
</Directory>
# Filters
#AddType text/html .html
#AddType text/asp .asp
#AddOutputFilter fltJMGN .asp
#AddOutputFilter fltJMGN .html
# Directory
<Directory /JMGNET/>
Order deny,allow
Allow from all
SetOutputFilter fltJMGN /*INCLUDES don't give
filter errors*/
</Directory>
# Modules
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
<ifModule mod_proxy.c>
ProxyRequests on
AllowCONNECT
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# ProxyPass /path/ http://192.168.0.134/path/
# ProxyPassReverse /path/ http://192.168.0.134/path/
ProxyPass /JMGNET/ http://jmg-net/
ProxyPassReverse /JMGNET/ http://jmg-net/
<Proxy http://jmg-net/*>
Order allow,deny
Allow from all
#SetOutputFilter c:/Apache//htmldocs/JMGNET/
SetOutputFilter fltJMGN
</Proxy>
</ifModule>
<IfModule mod_cache.c>
#LoadModule disk_cache_module modules/mod_disk_cache.so
#loaded earlier in file
<IfModule mod_disk_cache.c>
CacheRoot C:/Apache Group/Apache2/proxy
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
</IfModule>
LoadModule mem_cache_module modules/mod_mem_cache.so
<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
</IfModule>
#
##########################################
Re: [users@httpd] Proxy set-up problem Urgent
Posted by Joshua Slive <js...@gmail.com>.
On 11/4/05, Kes Morland (A83066) Cobblers Hall Surgery DL5 4SE
<Ke...@gp-a83066.nhs.uk> wrote:
> CacheSize 256
Gosh, that's small. I think you want a much larger number here.
And make sure to set LogLevel to debug to get interesting stuff about
caching in the error log.
Joshua.
---------------------------------------------------------------------
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