Archive for August, 2009

Invalid command ‘Script’ in Apache configuration

Monday, August 3rd, 2009

While I was trying to allow some tool’s PHP file to perform the HTTP command PUT, the tool’s manual said to put the following code in the httpd.conf Apache configuration file:
<Directory /foo/bar>
Script PUT /some.php
</Directory>

And so I did. But when I tried to reload Apache’s configuration (/etc/init.d/apache2 reload), Apache complained with the following message:

Invalid command ‘Script’, perhaps misspelled or defined by a module not included in the server configuration
failed!

(more…)