|
|
Invalid command 'Action'
Скопировал parser3.cgi и /cgi-bin/, chmod 777 в httpd.conf директиве AllowOverride задал значение FileInfo В /www/html/ создал .htaccess:
[root@gw html]# cat .htaccess AddHandler parser3-handler html Action parser3-handler /var/www/cgi-bin/parser3.cgi ParserConfig "/var/www/html/auto.p" <Files ~ "\.p$"> Order allow,deny Deny from all </Files> ErrorDocument 404 /404.html [root@gw html]#
при обращении к странице возникает 500-я ошибка (Internal Server Error), в /httpd/error_log :
[Fri Jun 25 17:16:35 2004] [alert] [client 192.168.1.2] /var/www/html/.htaccess: Invalid command 'Action', perhaps mis-spelled or defined by a module not included in the server configuration [Fri Jun 25 17:20:01 2004] [alert] [client 192.168.1.2] /var/www/html/.htaccess: Invalid command 'Action', perhaps mis-spelled or defined by a module not included in the server configuration [Fri Jun 25 17:21:34 2004] [alert] [client 192.168.1.2] /var/www/html/.htaccess: Invalid command 'Action', perhaps mis-spelled or defined by a module not included in the server configuration
Как лечить?
|