Alvaro Lopez Ortega wrote:
  The obvious solution is to add viewvc.cgi to your DirectoryIndex.

I've set it up as a ScriptAlias, which seems to be the only way to get it to work properly without putting it in cgi-bin.

Directory / {
  Handler common
}
Extension cgi {
  Handler cgi
}

I had this:
=====
DocumentIndex index.html index.cgi viewvc.cgi

Directory / {
  Handler common
}

Directory /utils/viewvc {
  DocumentRoot /opt/viewvc/bin/cgi/
}

Extension cgi {
  Handler cgi
}
=====

Which only served to break ViewVC - if I opened http://myserver/utils/viewvc/ it ended up continually redirecting to http://myserver/utils/viewvc/////, with extra slashes added on periodically. If I opened http://myserver/utils/viewvc (note lack of trailing slash) I got redirected to the server's root (http://myserver/). Setting the viewvc directory handler to "cgi" and removing the "Extension cgi" block fixed that.

Accessing http://myserver/utils/viewvc/viewvc.cgi redirects to http://myserver/utils/viewvc/viewvc.cgi/ and throws a 500 error. So I guess ScriptAliasing is the only way to get ViewVC running on Cherokee....

Thanks,
Phil.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to