[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] CGI Extensions



    Anyone know how to add additional extensions to my CGI? I would like to
be able to use alternate extensions, for example, .xgi (blah.xgi). I've
tried inserting an AddHandler directive (AddHandler cgi-wrapper .xgi) in
both my .htaccess and httpd.conf (within a virtual host section).

If I the cgi, in my case, test.xgi, I get the following error:

    CGIWrap Error: Execution of this script not permitted

    Execution of (/home/sites/home/web/factory/test.xgi) is not permitted
for the following reason:
    Script file not found.

    If I rename my cgi to test.cgi, it works fine. You can take a look at
some examples I've setup:

    Normal: http://www.pixelunion.com/factory/<cginame>
    Debug: http://www.pixelunion.com/cgiwrapDir/cgiwrap/factory/<cginame>

    test.xgi - Directive Used: AddHandler cgi-wrapper .xgi (Does NOT
work,says Script file not found.)
    test.wgi - Directive Used: AddHandler cgi-script .wgi (Runs fine,
notusing cgiwrap though)
    test.cgi - using default configuration (AddHandler cgi-wrapper .cgi -
Runs fine, using cgiwrap)


    If I do not use cgiwrap, alternate extensions work fine, however, I want
to use cgiwrap. When using cgiwrap, the only extensions that will execute
successfully are .pl and .cgi. Anyone have any ideas?


Regards,
Justin Time
juzzin@xxxxxxxxxxxxxx