I’m porting over a Windows httpd.conf file to a linux apache server. I’m pretty much done, but the only error i get is:
* Starting web server apache2 [Tue Feb 07 14:24:34 2012] [warn] The Alias directive in /etc/apache2/httpd.conf at line 449 will probably never match because it overlaps an earlier Alias.
Syntax error on line 461 of /etc/apache2/httpd.conf:
Invalid command 'Script', perhaps misspelled or defined by a module not included in the server configuration
Action 'start' failed.
The Apache error log may have more information.
My httpd.conf file at line 461 is as follows:
ScriptAlias /cgi-bin "/var/www/cgi-bin"
Script PUT /cgi-bin/put.py
Looks like the
mod_actionsmodule isn’t loaded. This module enables the use ofScripts.If you activate this module, the error message should disappear.
You can typically activate
mod_actionsby creating a symlink from the respectivemods_availabledirectory like this:The directory structure can be different on your machine, but the principle remains the same: There are available modules and these can be activated by symlinking into the
mods_enableddir.