All pastes #501623 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-22 04:12 UTC
rendered paste body
################# MY CONFIGURATION FOR ZOPE AND APACHE2 STARTS HERE #############################

NameVirtualHost *:80
<VirtualHost *:80>
        ServerAdmin sysadmin@bosslinux.in
        ServerName indraveni
        ServerAlias indraveni

#DocumentRoot /var/lib/zope2.9
#<Directory /var/lib/zope2.9>
# Options Indexes FollowSymLinks
# AllowOverride None
# Order allow,deny
# Allow from all
#</Directory>
#<Location />
# Order allow,deny
# Allow from all
#</Location>
#<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8081/VirtualHostBase/http/indraveni:80/cdac/VirtualHostRoot/$1 [L,P]
#</IfModule>
<IfModule mod_proxy.c>
 ProxyVia On

     # prevent the webserver from beeing used as proxy
  <LocationMatch "^[^/]">
    Deny from all
   </LocationMatch>
</IfModule>
ErrorLog /var/log/apache2/bosslinux/error.log
CustomLog /var/log/apache2/bosslinux/access.log combined
</VirtualHost>
###################### CONFIGURATION ENDS ##################################



Error Log:


[Mon May 21 19:54:11 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon May 21 19:54:25 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon May 21 19:58:46 2007] [error] [client 192.168.40.54] client denied by server configuration: proxy:http://127.0.0.1:8081/VirtualHostBase/http/www.indraveni:80/cdac/VirtualHostRoot/
[Mon May 21 19:58:52 2007] [error] [client 192.168.40.54] client denied by server configuration: proxy:http://127.0.0.1:8081/VirtualHostBase/http/www.indraveni:80/cdac/VirtualHostRoot/cdac
[Mon May 21 20:01:52 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon May 21 20:05:22 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue May 22 09:09:31 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue May 22 09:12:52 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue May 22 09:12:54 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue May 22 09:15:00 2007] [error] [client 127.0.0.1] client denied by server configuration: proxy:http://localhost:8081/VirtualHostBase/http/indraveni:80/cdac/VirtualHostRoot/
[Tue May 22 09:15:03 2007] [error] [client 192.168.40.54] client denied by server configuration: proxy:http://localhost:8081/VirtualHostBase/http/indraveni:80/cdac/VirtualHostRoot/
[Tue May 22 09:25:57 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue May 22 09:25:59 2007] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.