verbose message out
[minix3.git] / commands / httpd / config.h
blobcf5891be455cae7df705806a7b1e5d50b6b3e2de
1 /* config.h
3 * This file is part of httpd.
5 * 02/26/1996 Michael Temari <Michael@TemWare.Com>
6 * 07/07/1996 Initial Release Michael Temari <Michael@TemWare.Com>
7 * 12/29/2002 Michael Temari <Michael@TemWare.Com>
8 * 07/04/2003 Al Woodhull <awoodhull@hampshire.edu>
9 * 02/08/2005 Michael Temari <Michael@TemWare.Com>
13 #define VERSION "Minix httpd 0.994"
15 struct authuser {
16 char *user;
17 struct authuser *next;
20 struct auth {
21 char *name;
22 char *desc;
23 int urlaccess;
24 char *passwdfile;
25 struct authuser *users;
26 struct auth *next;
29 struct msufx {
30 char *suffix;
31 struct mtype *mtype;
32 struct msufx *snext;
33 struct msufx *tnext;
36 struct mtype {
37 char *mimetype;
38 struct msufx *msufx;
39 struct mtype *next;
42 struct vhost {
43 char *hname;
44 char *root;
45 struct vhost *next;
48 struct vpath {
49 char *from;
50 char *to;
51 struct auth *auth;
52 int urlaccess;
53 struct vpath *next;
56 struct dirsend {
57 char *file;
58 struct dirsend *next;
61 /* urlaccess bits */
63 #define URLA_READ 1
64 #define URLA_WRITE 2
65 #define URLA_EXEC 4
66 #define URLA_HEADERS 8
68 #define HTTPD_CONFIG_FILE "/etc/httpd.conf"
70 _PROTOTYPE(int readconfig, (char *cfg_file, int testing));
72 extern struct mtype *mtype;
73 extern struct msufx *msufx;
74 extern struct vhost *vhost;
75 extern struct vpath *vpath;
76 extern struct dirsend *dirsend;
77 extern struct auth *auth;
78 extern struct auth *proxyauth;
79 extern char *direxec;
80 extern char *srvrroot;
81 extern char *LogFile;
82 extern char *DbgFile;
83 extern char *User;
84 extern char *Chroot;