www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Di Toro <j.v.dit...@gats.hampton.va.us>
Subject mod_cgi/1640: cgi's are sent as text/plain
Date Thu, 08 Jan 1998 17:38:22 GMT

>Number:         1640
>Category:       mod_cgi
>Synopsis:       cgi's are sent as text/plain
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jan  8 09:40:00 PST 1998
>Last-Modified:
>Originator:     j.v.ditoro@gats.hampton.va.us
>Organization:
apache
>Release:        1,2,5
>Environment:
>Description:
Any cgi files are sent over as text/plain when viewed w/ Netscapes Page info.

Pertinant lins in conf files:

access.conf:
<Directory /users/gats/www/gats/docs>
Options Indexes FollowSymLinks ExecCGI
</Directory>

srm.conf:
# To use CGI scripts:
AddHandler cgi-script .cgi

-----------

>How-To-Repeat:
http://www.gats.hampton.va.us:8080/select.cgi
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]


>uname -a
Linux andor 2.0.32 #21 Tue Dec 16 14:20:04 EST 1997 i586
>gcc --version
2.7.2.1
Fresh compile on apache-1.2.5 w/ no changes to src/Configuration
Modules file as follows:
cat modules.c
/* modules.c --- automatically generated by Apache
 * configuration script.  DO NOT HAND EDIT!!!!!
 */

#include "httpd.h"
#include "http_config.h"

extern module core_module;
extern module env_module;
extern module config_log_module;
extern module mime_module;
extern module negotiation_module;
extern module includes_module;
extern module dir_module;
extern module cgi_module;
extern module asis_module;
extern module imap_module;
extern module action_module;
extern module userdir_module;
extern module alias_module;
extern module access_module;
extern module auth_module;
extern module browser_module;

module *prelinked_modules[] = {
  &core_module,
  &env_module,
  &config_log_module,
  &mime_module,
  &negotiation_module,
  &includes_module,
  &dir_module,
  &cgi_module,
  &asis_module,
  &imap_module,
  &action_module,
  &userdir_module,
  &alias_module,
  &access_module,
  &auth_module,
  &browser_module,
  NULL
};
module *preloaded_modules[] = {
  &core_module,
  &env_module,
  &config_log_module,
  &mime_module,
  &negotiation_module,
  &includes_module,
  &dir_module,
  &cgi_module,
  &asis_module,
  &imap_module,
  &action_module,
  &userdir_module,
  &alias_module,
  &access_module,
  &auth_module,
  &browser_module,
  NULL
};


Mime
View raw message