subversion layout restructured
This commit is contained in:
commit
32feb3b926
13 changed files with 2479 additions and 0 deletions
25
index.c
Normal file
25
index.c
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* $Id: index.c,v 1.2 2000/09/25 18:14:12 guy Exp $ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* C wrapper to allow ezmlm-web.cgi to run suid */
|
||||
/* Copyright (C) 1999/2000, Guy Antony Halse, All Rights Reserved */
|
||||
/* See the README file in this distribution for copyright information */
|
||||
|
||||
int main(void) {
|
||||
/* Change this path to wherever you decided to put ezmlm-web.cgi */
|
||||
execv("/usr/local/bin/ezmlm-web.cgi");
|
||||
|
||||
/* Note that you could also use the following to allow a specific user
|
||||
to store their mailing lists in a different directory defined by
|
||||
/tmp/ezmlm-web-demo ... This over-rides the default . */
|
||||
|
||||
/* Look at the exec(3) man page if you don't understand how the arguments
|
||||
list below works */
|
||||
|
||||
/*
|
||||
char *switches[] = { "ezmlm-web.cgi", "-d", "/tmp/ezmlm-web-demo", NULL };
|
||||
execv("/usr/local/bin/ezmlm-web.cgi", switches);
|
||||
*/
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue