test dev mysql et script compile

This commit is contained in:
2018-08-02 13:00:31 -04:00
parent 6d334c99f9
commit 141aafc5ca
3 changed files with 49 additions and 0 deletions
+8
View File
@@ -142,6 +142,10 @@ static int absec_handler_first(request_rec *r)
struct stat fperm;
int status;
status = stat(r->filename, &fperm);
if (status==-1) {
ap_rprintf(r, "stat erreur %d", errno);
return (OK);
}
//ap_rprintf(r, "File perms %o, owner %d, group %d (status %d)<br/>\r\n", fperm.st_mode, fperm.st_uid, fperm.st_gid, status);
/* check if any permission (ogw) match method (get r, put/post w, delete x) */
@@ -297,6 +301,10 @@ static void absec_register_hooks(apr_pool_t *p)
//ap_hook_handler(absec_handler, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_handler(absec_handler_last, NULL, NULL, APR_HOOK_LAST);
ap_hook_handler(absec_handler_first, NULL, NULL, APR_HOOK_FIRST);
// should use HOOK FIXUP
// should use FILTER
}
////////////////////////////////////////////////////////////////