Apache deployment 'ScriptAlias' line is wrong #968

tednolan opened this Issue Oct 28, 2013 · 1 comment


None yet
2 participants

In the "Running as a cgi-script (or fast-cgi) under Apache" section, the included example suggests setting ScriptAlias as:

ScriptAlias / /srv/www.example.com/public/dispatch.cgi

I find that this gives me errors like "script not found or unable to stat" because it creates the path by concatening your URL with the ScriptAlias, and ends up with "http://whatever/dispatch.cgimorestuff" instead of "http://whatever/dispatch.cgi/morestuff"

I find that setting

ScriptAlias / /srv/www.example.com/public/dispatch.cgi/

(ie: adding a trailing '/') works for me.

yanick closed this in 8a08fc7 Dec 1, 2013


yanick commented Dec 1, 2013

Good one. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment