httpd chokes on ScriptAlias line in Apache httpd.conf
I'm trying to point Apache to my cgi-bin directory, but
ScriptAlias /cgi-bin /usr/www/cgi-bin is causing restarts of httpd to fail with Syntax error on line 4 of /etc/httpd/conf/httpd.conf Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a module not included in the server configuration. Of course, ScriptAlias is not mis-spelled. /etc/httpd/modules has a mod_alias.so and mod_cgi.so. Is there another module that I need? Thanks! |
The proper ScriptAlias would be this:
ScriptAlias /cgi-bin/ "/usr/www/cgi-bin" Notice the quotes. |
All times are GMT -5. The time now is 02:57 AM. |