Next-in-Thread Next-in-Thread
 Next Message Next Message

More crufty patch for cgi-src/imagemap.c 

Keywords: 1.6b1 problems
Forum: NCSA HTTPd 1.6 Beta Test
Re: Feedback Observations so far (Brian Millett)
Date: 1996, Aug 29
From: Brian Millett

Well I got the imagemap.c from the cgi-src directory to work.

Here is the ugly patch. I'm sure that you all will have a nice, cleaner interface

vlad: diff -w cgi-src/imagemap.c ../httpd_1.6b1/cgi-src/imagemap.c | less
65d64
< 
70c69
< #define CONF_FILE "/usr/local/httpd/conf/imagemap.conf"
---
> #define CONF_FILE "/usr/local/etc/httpd/conf/imagemap.conf"
72d70
< #define TRUE  1
255,259d252
< #ifdef SSL_SUPPORT 
<               if ((port = getenv("SERVER_PORT")) && !strcmp(port,"443")) {
<                       printf("Location: https://%s", getenv("SERVER_NAME"));
<               } else 
< #endif /* SSL_SUPPORT */

 Next-in-Thread Next-in-Thread
 Next Message Next Message
Inline:
 1 1
 All All
Outline:
 1 1
 2 2
 All All

 Add Add
to: "crufty patch for cgi-src/imagemap.c"

 Members Members
 Subscribe Subscribe
 Admin Mode Admin Mode
 Show Frames Show Frames
 Help Help


Earn money with Scour!
Google
 
Web www.HyperNews.org
Earn money with Scour!