httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: dot problem
Date Wed, 16 Aug 1995 13:22:03 GMT
  It *is* being configured properly, but if any .htaccess file
  refers to index specific options, then the DirectoryIndex setting
  gets thumped i.e.  .index.html  is dropped and index.html used instead.

[examines code]
[kicks self repeatedly]

Try this...

*** mod_dir.c~	Sat Aug 12 10:33:47 1995
--- mod_dir.c	Wed Aug 16 13:14:01 1995
***************
*** 258,264 ****
      dir_config_rec *new =
          (dir_config_rec *) pcalloc (p, sizeof(dir_config_rec));
  
!     new->index_names = DEFAULT_INDEX;
      new->icon_list = make_array (p, 4, sizeof (struct item));
      new->alt_list = make_array (p, 4, sizeof (struct item));
      new->desc_list = make_array (p, 4, sizeof (struct item));
--- 258,264 ----
      dir_config_rec *new =
          (dir_config_rec *) pcalloc (p, sizeof(dir_config_rec));
  
!     new->index_names = NULL;
      new->icon_list = make_array (p, 4, sizeof (struct item));
      new->alt_list = make_array (p, 4, sizeof (struct item));
      new->desc_list = make_array (p, 4, sizeof (struct item));
***************
*** 757,763 ****
  {
      dir_config_rec *d =
        (dir_config_rec *)get_module_config (r->per_dir_config, &dir_module);
!     char *names_ptr = d->index_names;
      int allow_opts = allow_options (r);
  
      if (r->method_number != M_GET) return NOT_IMPLEMENTED;
--- 757,763 ----
  {
      dir_config_rec *d =
        (dir_config_rec *)get_module_config (r->per_dir_config, &dir_module);
!     char *names_ptr = d->index_names ? d->index_names : DEFAULT_INDEX;
      int allow_opts = allow_options (r);
  
      if (r->method_number != M_GET) return NOT_IMPLEMENTED;

Mime
View raw message