View | Details | Raw Unified | Return to bug 34357
Collapse All | Expand All

(-)jk/native/apache-2.0/mod_jk.c (-1 / +2 lines)
Lines 2482-2488 Link Here
2482
            /* Special case to make sure that apache can serve a directory
2482
            /* Special case to make sure that apache can serve a directory
2483
               listing if there are no matches for the DirectoryIndex and
2483
               listing if there are no matches for the DirectoryIndex and
2484
               Tomcat webapps are mapped into apache using JkAutoAlias. */
2484
               Tomcat webapps are mapped into apache using JkAutoAlias. */
2485
            if (r->main != NULL && (conf->alias_dir != NULL) &&
2485
            if (r->main != NULL && r->main->handler != NULL &&
2486
                (conf->alias_dir != NULL) &&
2486
                !strcmp(r->main->handler, DIR_MAGIC_TYPE)) {
2487
                !strcmp(r->main->handler, DIR_MAGIC_TYPE)) {
2487
2488
2488
                /* Append the request uri to the JkAutoAlias directory and
2489
                /* Append the request uri to the JkAutoAlias directory and

Return to bug 34357