zm 1.21 debian apache2 cgi path problem

Support and queries relating to all previous versions of ZoneMinder
Locked
rob
Posts: 15
Joined: Sat Sep 03, 2005 8:22 am

zm 1.21 debian apache2 cgi path problem

Post by rob »

I think i'm down to 1 remaing problem
apache wants to force /usr/lib/cgi-bin and zms is at /var/www/cgi-bin
this is a stock debian with a 2.4.26 kernel i tried a ScriptAlias in
apache2.conf no go
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
it won't allow a sym link in /usr/lib/cgi-bin
how do i fix it?

this is the apache error log

[Sat Sep 03 18:56:26 2005] [error] [client 127.0.0.1] script not found or unable to stat: /usr/lib/cgi-bin/zms, referer: http://localhost/zm.php?view=watchfeed& ... 0&control=
[Sat Sep 03 18:56:31 2005] [error] [client 127.0.0.1] script not found or unable to stat: /usr/lib/cgi-bin/zms

thanks
rob
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

add to your alias options followsymlinks.

http://www.zoneminder.com/forums/viewto ... owsymlinks

Regards,
Cordel
Locked