char *linebuf;
const char *url;
char *full_url;
- char *urly;
char user[MAX_USER_LEN];
char splitprefix[MAXLEN];
enum InputLogFormat ilf;
for (str=code ; *str ; str++)
if (*str=='\t') *str=' ';
- urly=full_url;
-
if(ilf!=ILF_Sarg) {
/*
The full URL is not saved in sarg log. There is no point in testing the URL to detect
if((ReportType & REPORT_TYPE_DENIED) != 0) {
if(fp_denied && strstr(code,"DENIED/403") != 0) {
- fprintf(fp_denied, "%s\t%s\t%s\t%s\t%s\n",dia,hora,user,ip,urly);
+ fprintf(fp_denied, "%s\t%s\t%s\t%s\t%s\n",dia,hora,user,ip,full_url);
denied_count++;
}
}
if((ReportType & REPORT_TYPE_AUTH_FAILURES) != 0) {
if(fp_authfail && (strstr(code,"DENIED/401") != 0 || strstr(code,"DENIED/407") != 0)) {
- fprintf(fp_authfail, "%s\t%s\t%s\t%s\t%s\n",dia,hora,user,ip,urly);
+ fprintf(fp_authfail, "%s\t%s\t%s\t%s\t%s\n",dia,hora,user,ip,full_url);
authfail_count++;
}
}