httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: [users@httpd] Installing Apache as caching proxy
Date Mon, 13 Jan 2003 18:47:37 GMT
I didn't do any customization to the source, bulided from default source as described in "Compiling
Apache for Microsoft Windows document"

Maybe I receive this errors because mod_cache is now experimental module and not included
in default compilation ?


-----Original Message-----
From: [] 
Sent: Monday, January 13, 2003 8:27 PM
Subject: Re: [users@httpd] Installing Apache as caching proxy

Is it possible you didn't do the options for compiling the modules?

(Embedded image moved to file: pic09161.gif)

          >           To:     <>       
                    01/13/2003           Subject:     [users@httpd] Installing Apache as caching
                    12:02 PM                                                             
                    Please respond                                                       
                    to users                                                             

Hi All,

I compiled  httpd-2.0.43-win32-src via command line ,as described
"nmake /f PORT=80 INSTDIR="c:\Apache" installr" And it was fine without any errors
and warnings.

Now I try to start Apache and receive the following error : C:\Apache\bin>Apache.exe Syntax
error on line 924 of C:/Apache/conf/httpd.conf: Invalid command 'CacheRoot', perhaps mis-spelled
or defined by a module not included in the server configuration

I am running Windows 2000 Pro +sp3
How can I make Apache 2.0.43 work as caching proxy ?


My httpd.conf file : (only thing that I changed from default file)

# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to
the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific
IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses
( # #Listen Listen 8080

# Dynamic Shared Object (DSO) Support
# To be able to use the functionality of a module which was built as a DSO you # have to place
corresponding `LoadModule' lines at this location so the # directives contained in it are
actually available _before_ they are used. # Statically compiled modules (those listed by
`httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/
# LoadModule access_module modules/ LoadModule actions_module modules/
LoadModule alias_module modules/ LoadModule asis_module modules/ LoadModule
auth_module modules/ #LoadModule auth_anon_module modules/ #LoadModule
auth_dbm_module modules/ #LoadModule auth_digest_module modules/
LoadModule autoindex_module modules/ #LoadModule cern_meta_module modules/
LoadModule cgi_module modules/ #LoadModule dav_module modules/ #LoadModule
dav_fs_module modules/ LoadModule dir_module modules/ LoadModule env_module
modules/ #LoadModule expires_module modules/ LoadModule file_cache_module
modules/ #LoadModule headers_module modules/ LoadModule imap_module
modules/ LoadModule include_module modules/ #LoadModule info_module
modules/ LoadModule isapi_module modules/ LoadModule log_config_module
modules/ LoadModule mime_module modules/ #LoadModule mime_magic_module
modules/ LoadModule proxy_module modules/ LoadModule proxy_connect_module
modules/ LoadModule proxy_http_module modules/ LoadModule
proxy_ftp_module modules/ LoadModule negotiation_module modules/
#LoadModule rewrite_module modules/ LoadModule setenvif_module modules/
#LoadModule speling_module modules/ #LoadModule status_module modules/
#LoadModule unique_id_module modules/ LoadModule userdir_module modules/
#LoadModule usertrack_module modules/ #LoadModule vhost_alias_module modules/
#LoadModule ssl_module modules/


# ServerName gives the name and port that the server uses to identify itself. # This can often
be determined automatically, but we recommend you specify # it explicitly to prevent problems
during startup. # # If this is not set to valid DNS name for your host, server-generated #
redirections will not work.  See also the UseCanonicalName directive. # # If your host doesn't
have a registered DNS name, enter its IP address here. # You will have to access it by its
address anyway, and this will make # redirections work in a sensible way. # ServerName here_is_my_ip:8080
... ... ... ...

# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
<IfModule mod_proxy.c>
ProxyRequests On

<Proxy *>
    Order deny,allow
    Deny from all
    Allow from all

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via:
# Set to one of: Off | On | Full | Block
ProxyVia Full

# To enable the cache as well, edit and uncomment the following lines: # (no cacheing without
CacheRoot) #

CacheRoot "c:/Apache/proxy"
CacheSize 5
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1

# End of proxy directives.

The official User-To-User support forum of the Apache HTTP Server Project. See <URL:>
for more info. To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message