[users@httpd] Proxy set-up problem Urgent

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

 



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>

 

#

##########################################

 


[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