Subversion Repositories Tewi

Rev

Rev 40 | Rev 215 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 40 Rev 41
Line 1... Line 1...
1
/* $Id: mod_cgi.c 40 2024-09-17 12:31:08Z nishi $ */
1
/* $Id: mod_cgi.c 41 2024-09-18 08:18:41Z nishi $ */
2
 
2
 
3
#include "../Server/tw_module.h"
3
#include "../Server/tw_module.h"
4
 
4
 
5
#include <cm_string.h>
5
#include <cm_string.h>
6
 
6
 
Line 15... Line 15...
15
		return TW_CONFIG_PARSED;
15
		return TW_CONFIG_PARSED;
16
	}
16
	}
17
	return TW_CONFIG_NOTME;
17
	return TW_CONFIG_NOTME;
18
}
18
}
19
 
19
 
20
int mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_PASS; }
20
int mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) {
-
 
21
	res->status = 403;
-
 
22
	return TW_MODULE_STOP;
-
 
23
}