/[hydra]/hydra/src/config.c
ViewVC logotype

Diff of /hydra/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by nmav, Wed Sep 25 10:33:19 2002 UTC revision 1.7 by nmav, Wed Sep 25 19:55:53 2002 UTC
# Line 64  char *ssl_protocol = NULL; Line 64  char *ssl_protocol = NULL;
64  char *default_document_root;  char *default_document_root;
65  int default_document_root_size;  int default_document_root_size;
66    
 char *directory_index;  
67  char *default_type;  char *default_type;
68  char *dirmaker;  char *dirmaker;
69  char *cachedir;  char *cachedir;
# Line 93  static void c_set_unity(char *v1, char* Line 92  static void c_set_unity(char *v1, char*
92  static void c_add_type(char *v1, char* v2, char* v3, char* v4, void *t);  static void c_add_type(char *v1, char* v2, char* v3, char* v4, void *t);
93  static void c_add_vhost(char *v1, char* v2, char* v3, char*v4, void *t);  static void c_add_vhost(char *v1, char* v2, char* v3, char*v4, void *t);
94  static void c_add_alias(char *v1, char* v2, char* v3, char* v4, void *t);  static void c_add_alias(char *v1, char* v2, char* v3, char* v4, void *t);
95    static void c_add_dirindex(char *v1, char* v2, char* v3, char* v4, void *t);
96    
97  /* Fakery to keep the value passed to action() a void *,  /* Fakery to keep the value passed to action() a void *,
98     see usage in table and c_add_alias() below */     see usage in table and c_add_alias() below */
# Line 137  struct ccommand clist[] = { Line 137  struct ccommand clist[] = {
137      {"VerboseCGILogs", S0A, c_set_unity, &verbose_cgi_logs},      {"VerboseCGILogs", S0A, c_set_unity, &verbose_cgi_logs},
138      {"ServerName", S1A, c_set_string, &server_name},      {"ServerName", S1A, c_set_string, &server_name},
139      {"DocumentRoot", S1A, c_set_string, &default_document_root},      {"DocumentRoot", S1A, c_set_string, &default_document_root},
140      {"DirectoryIndex", S1A, c_set_string, &directory_index},      {"DirectoryIndex", S1A, c_add_dirindex, NULL},
141      {"DirectoryMaker", S1A, c_set_string, &dirmaker},      {"DirectoryMaker", S1A, c_set_string, &dirmaker},
142      {"DirectoryCache", S1A, c_set_string, &cachedir},      {"DirectoryCache", S1A, c_set_string, &cachedir},
143      {"KeepAliveMax", S1A, c_set_int, &ka_max},      {"KeepAliveMax", S1A, c_set_int, &ka_max},
# Line 263  static void c_add_type(char *v1, char* v Line 263  static void c_add_type(char *v1, char* v
263      add_mime_type(v1, v2);      add_mime_type(v1, v2);
264  }  }
265    
266    static void c_add_dirindex(char *v1, char* v2, char* v3, char* v4, void *t)
267    {
268        add_directory_index(v1);
269    }
270    
271  static void c_add_vhost(char *v1, char *v2, char* v3, char* v4, void *t)  static void c_add_vhost(char *v1, char *v2, char* v3, char* v4, void *t)
272  {  {
273      add_virthost(v1, v2, v3, v4);      add_virthost(v1, v2, v3, v4);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26