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

RE: [cobalt-users] CGI Extensions



I think you need to edit apache "httpd.conf" Find the following line:
#######################################################################
# AddHandler allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the server
# or added with the Action command (see below)
#
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# To use CGI scripts:
#

AddHandler cgi-script .cgi
###########################################################################
And edit to::
AddHandler cgi-script .cgi, .xgi

BACKUP YOUR HTTPD:CONF BEFORE!!!
And restart apache.



-----Mensaje original-----
De: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]En nombre de Juzzin
Enviado el: Domingo, 08 de Octubre de 2000 10:47 p.m.
Para: cobalt-users@xxxxxxxxxxxxxxx
Asunto: [cobalt-users] CGI Extensions


Hi Dan,

    I appreciate your reply considerably. I also have had success when
bypassing cgiwrap, but I am a little confused why the following does not
work:

AddHandler cgi-wrapper .xgi

    Cgiwrap complains that it can not find the script file, however, if I
rename the file to .cgi or .pl, or change the handler to cgi-script, it
works fine. It simply seems as though cgiwrap does not like cgi files with
extensions outside of .cgi or .pl.

        Any ideas? Also, are there any other alternatives to securing cgi
scripts? Cgiwrap seems to work so well when it does - I just find it odd
that it chokes on varied extensions. Is it possible that the customized
cgiwrap that the RAQs use excludes extenions outside of .cgi or .pl?


Regards,
Justin Time
juzzin@xxxxxxxxxxxxxx

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users