Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 25554
Collapse All | Expand All

(-)httpd_1.5.2a-export-orig/cgi-bin/archie (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
ARCHIE=/usr/local/bin/archie
3
ARCHIE=/usr/bin/archie
4
4
5
5
6
echo Content-type: text/html
6
echo Content-type: text/html
(-)httpd_1.5.2a-export-orig/cgi-bin/finger (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
FINGER=/usr/ucb/finger
3
FINGER=/usr/bin/finger
4
4
5
echo Content-type: text/html
5
echo Content-type: text/html
6
echo
6
echo
(-)httpd_1.5.2a-export-orig/cgi-bin/mail (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl 
1
#!/usr/bin/perl 
2
2
3
# ======================================================================
3
# ======================================================================
4
# WebMonitor Standalone Module: mail
4
# WebMonitor Standalone Module: mail
(-)httpd_1.5.2a-export-orig/cgi-bin/nph-error.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
#
2
#
3
# Non-parsed headers CGI 1.1 error script in Perl to handle error requests
3
# Non-parsed headers CGI 1.1 error script in Perl to handle error requests
4
# from NCSA HTTPd 1.4 via ErrorDocument.  This should handle all errors in 
4
# from NCSA HTTPd 1.4 via ErrorDocument.  This should handle all errors in 
(-)httpd_1.5.2a-export-orig/cgi-bin/redirect (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl 
1
#!/usr/bin/perl 
2
#
2
#
3
# redirect -- PERL redirection script
3
# redirect -- PERL redirection script
4
#
4
#
(-)httpd_1.5.2a-export-orig/cgi-bin/test-cgi.tcl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/tclsh
1
#!/usr/bin/tclsh
2
# tcl-cgi.tcl
2
# tcl-cgi.tcl
3
# robert.bagwill@nist.gov, no warranty, no rights reserved
3
# robert.bagwill@nist.gov, no warranty, no rights reserved
4
# print out command line args, stdin, and environment variables
4
# print out command line args, stdin, and environment variables
(-)httpd_1.5.2a-export-orig/cgi-bin/uptime (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
UPTIME=/usr/ucb/uptime
3
UPTIME=/usr/bin/uptime
4
4
5
echo Content-type: text/plain
5
echo Content-type: text/plain
6
echo
6
echo
(-)httpd_1.5.2a-export-orig/cgi-bin/wais.pl (-2 / +2 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
#
2
#
3
# wais.pl -- WAIS search interface
3
# wais.pl -- WAIS search interface
4
#
4
#
Lines 10-16 Link Here
10
#     map topdir wais.pl &do_wais($top, $path, $query, "database", "title")
10
#     map topdir wais.pl &do_wais($top, $path, $query, "database", "title")
11
#
11
#
12
12
13
$waisq = "/usr/local/bin/waisq";
13
$waisq = "/usr/bin/waisq";
14
$waisd = "/u/Web/wais-sources";
14
$waisd = "/u/Web/wais-sources";
15
$src = "www";
15
$src = "www";
16
$title = "NCSA httpd documentation";
16
$title = "NCSA httpd documentation";
(-)httpd_1.5.2a-export-orig/cgi-src/phf.c (-1 / +1 lines)
Lines 181-187 Link Here
181
181
182
    if (!atleastonequery) printf("<B>You did not enter a query!</B>%c",LF);
182
    if (!atleastonequery) printf("<B>You did not enter a query!</B>%c",LF);
183
    else {
183
    else {
184
        strcpy(commandstr, "/usr/local/bin/ph -m ");
184
        strcpy(commandstr, "/usr/bin/ph -m ");
185
        if (strlen(serverstr)) {
185
        if (strlen(serverstr)) {
186
           strcat(commandstr, " -s ");
186
           strcat(commandstr, " -s ");
187
           /* RM 2/22/94 oops */
187
           /* RM 2/22/94 oops */
(-)httpd_1.5.2a-export-orig/conf/httpd.conf-dist (-7 / +7 lines)
Lines 97-110 Link Here
97
# Default: If you do not specify a ServerName, HTTPd attempts to retrieve
97
# Default: If you do not specify a ServerName, HTTPd attempts to retrieve
98
#	   it through system calls.
98
#	   it through system calls.
99
99
100
#ServerName new.host.name
100
ServerName localhost
101
101
102
# ServerAdmin: Your address, where problems with the server should be
102
# ServerAdmin: Your address, where problems with the server should be
103
# e-mailed.
103
# e-mailed.
104
# Valid within <VirtualHost>
104
# Valid within <VirtualHost>
105
# Default: <none> (or DEFAULT_ADMIN)
105
# Default: <none> (or DEFAULT_ADMIN)
106
106
107
ServerAdmin you@your.address
107
ServerAdmin nobody@localhost
108
108
109
#===========================================================================
109
#===========================================================================
110
# File Locations
110
# File Locations
Lines 261-269 Link Here
261
# You can also specify an error level with this setting, by denoting the 
261
# You can also specify an error level with this setting, by denoting the 
262
# VirtualHost as Optional or Required.
262
# VirtualHost as Optional or Required.
263
263
264
<VirtualHost 127.0.0.1 Optional>
264
#<VirtualHost 127.0.0.1 Optional>
265
DocumentRoot /local
265
#DocumentRoot /local
266
ServerName localhost.ncsa.uiuc.edu
266
#ServerName localhost.ncsa.uiuc.edu
267
ResourceConfig conf/localhost_srm.conf
267
#ResourceConfig conf/localhost_srm.conf
268
</VirtualHost>
268
#</VirtualHost>
269
269
(-)httpd_1.5.2a-export-orig/conf/srm.conf-dist (-3 / +3 lines)
Lines 49-60 Link Here
49
# FCGIScritpAlias: Same as ScriptAlias, except for FCGI scripts
49
# FCGIScritpAlias: Same as ScriptAlias, except for FCGI scripts
50
# Format: FCGIScriptAlias fakename realname
50
# Format: FCGIScriptAlias fakename realname
51
51
52
FCGIScriptAlias /fcgi-bin/ /usr/local/etc/httpd/fcgi-devel-kit/examples/
52
#FCGIScriptAlias /fcgi-bin/ /usr/local/etc/httpd/fcgi-devel-kit/examples/
53
53
54
# Define the AppClasses. These get hit when requests come in for
54
# Define the AppClasses. These get hit when requests come in for
55
# /fcgi-bin/tiny-fcgi.fcgi or /fcgi-bin/tiny-fcgi2.fcgi
55
# /fcgi-bin/tiny-fcgi.fcgi or /fcgi-bin/tiny-fcgi2.fcgi
56
AppClass /usr/local/etc/httpd/fcgi-devel-kit/examples/tiny-fcgi.fcgi -listen-queue-depth 10 -processes 2
56
#AppClass /usr/local/etc/httpd/fcgi-devel-kit/examples/tiny-fcgi.fcgi -listen-queue-depth 10 -processes 2
57
AppClass /usr/local/etc/httpd/fcgi-devel-kit/examples/tiny-fcgi2.fcgi -listen-queue-depth 10 -processes 2
57
#AppClass /usr/local/etc/httpd/fcgi-devel-kit/examples/tiny-fcgi2.fcgi -listen-queue-depth 10 -processes 2
58
58
59
#===========================================================================
59
#===========================================================================
60
# Directory Indexing
60
# Directory Indexing
(-)httpd_1.5.2a-export-orig/src/Makefile (-1 / +1 lines)
Lines 71-77 Link Here
71
# Place here any extra libraries you may need to link to. You
71
# Place here any extra libraries you may need to link to. You
72
# shouldn't have to.
72
# shouldn't have to.
73
73
74
EXTRA_LIBS=
74
EXTRA_LIBS=-lcrypt
75
75
76
# Place here any flags you may need upon linking, such as a flag to
76
# Place here any flags you may need upon linking, such as a flag to
77
# prevent dynamic linking (if desired)
77
# prevent dynamic linking (if desired)
(-)httpd_1.5.2a-export-orig/src/config.h (-1 / +1 lines)
Lines 149-155 Link Here
149
149
150
#define HTTPD_ROOT "/usr/local/etc/httpd"
150
#define HTTPD_ROOT "/usr/local/etc/httpd"
151
151
152
#define DOCUMENT_LOCATION "/usr/local/etc/httpd/htdoc"
152
#define DOCUMENT_LOCATION "/usr/local/etc/httpd/htdocs"
153
#define DEFAULT_ADMIN "[no address given]"
153
#define DEFAULT_ADMIN "[no address given]"
154
154
155
#define SERVER_CONFIG_FILE "conf/httpd.conf"
155
#define SERVER_CONFIG_FILE "conf/httpd.conf"
(-)httpd_1.5.2a-export-orig/src/fdwrap.c (-2 / +2 lines)
Lines 132-138 Link Here
132
   DIR* dp;
132
   DIR* dp;
133
   int fd;
133
   int fd;
134
   if ((dp = opendir(dirname))) {
134
   if ((dp = opendir(dirname))) {
135
       fd = DIR_FILENO(dp);
135
       fd = dirfd(dp);
136
       if (fd >= nSize)
136
       if (fd >= nSize)
137
	 if (!GrowTable(fd)) {
137
	 if (!GrowTable(fd)) {
138
	   closedir(dp);
138
	   closedir(dp);
Lines 220-226 Link Here
220
220
221
int Closedir (DIR *dp) 
221
int Closedir (DIR *dp) 
222
{
222
{
223
    int fd = DIR_FILENO(dp);
223
    int fd = dirfd(dp);
224
224
225
    FdTab[fd].bOpen = FDW_CLOSED;
225
    FdTab[fd].bOpen = FDW_CLOSED;
226
    if (FdTab[fd].fp != dp) {
226
    if (FdTab[fd].fp != dp) {
(-)httpd_1.5.2a-export-orig/support/Makefile (-1 / +1 lines)
Lines 49-55 Link Here
49
	make all CC=gcc CFLAGS="-DHPUX" EXTRA_LIBS=-lndbm
49
	make all CC=gcc CFLAGS="-DHPUX" EXTRA_LIBS=-lndbm
50
50
51
linux:
51
linux:
52
	make all CC=gcc CFLAGS="-DLINUX" EXTRA_LIBS=-lgdbm
52
	make all CC=gcc CFLAGS="-DLINUX" EXTRA_LIBS="-lgdbm -lcrypt"
53
53
54
netbsd: 
54
netbsd: 
55
	make all CC=cc CFLAGS="-DNETBSD" EXTRA_LIBS=-lcrypt
55
	make all CC=cc CFLAGS="-DNETBSD" EXTRA_LIBS=-lcrypt

Return to bug 25554