Teodor Lupan wrote:
Tom Collins writes:

On Jun 13, 2005, at 3:43 AM, Rick van Vliet wrote:

Teodor Lupan said the following on 6/13/2005 7:56 AM:


This is because I want to run it from webmin webserver, wich only runs cgi programs with .cgi extensions. A simple rename won`t do because


me....but it looks as though this /might/ solve your question.


Try --enable-cgipath=/cgi-bin/qmailadmin.cgi
After installing, you'll have to manually rename it (I think) because it is still installed as qmailadmin.cgi. But, the ##C in templates will be expanded to /cgi-bin/qmailadmin.cgi.

It does not work :(( if I use --enable-cgipath=/cgi-bin/qmailadmin.cgi

So folks, I still need a solution!
Thanks!


OK, One other thought. And you might take this to the Webmin lists, too.
But: perhaps you want to look into the apache httpd.conf for your webmin, and see if there isn't a way to do a ScriptAlias. Seems a little limiting IMHO, to tell you that you have to have the 'cgi' extension for a script to run in the cgi-bindir.

I'll be lurking to learn (thanks, Tom)
Rick

Reply via email to