[plug] problems with handlers in apache

Gavin Corfield gavin at twobluedots.com.au
Fri Jul 27 12:53:54 WST 2001


I am having problems getting my handlers working, below is an extract
from the httpd.conf file.

    262 <VirtualHost 192.168.1.1>
    263 ServerAdmin gavin at twobluedots.com.au
    264 DocumentRoot /home/angazi/web
    265 ServerName 192.168.1.1
    266 ErrorLog /var/log/apache/server-error.log
    267 TransferLog /var/log/apache/server-access.log
    268 ScriptAlias /cgi-bin/ "/home/angazi/cgi-bin/"
    269 
    270 Addtype text/html .shtml .htm .html .stm
    271 AddHandler server-parsed .shtml .html .stm
    272 
    273 <Location /angazi>
    274 SetHandler application/x-angazi
    275 Action application/x-angazi /cgi-bin/angazi/angazi.pl
    276 </Location>
    277 
    278 
    279 </VirtualHost>
    280 

When I point a browser at 192.168.1.1/angazi I get:

[Fri Jul 27 12:28:18 2001] [warn] [client 192.168.1.2] handler
"application/x-angazi" not found for: /home/angazi/web/angazi
[Fri Jul 27 12:28:18 2001] [error] [client 192.168.1.2] File does not
exist: /home/angazi/web/angazi

in the server-error.log file.

However if I point the browser at 192.168.1.1/cgi-bin/angazi/angazi.pl
all is well and the script executes.

Has anyone got any ideas I have been staring at this for longer than I
care to remember.

thanks in advance for any help.

gavin



More information about the plug mailing list