/[mod_czs]/mod_czs.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /mod_czs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Wed Aug 9 06:54:43 2000 UTC revision 1.4 by dpavlin, Wed Aug 9 19:14:33 2000 UTC
# Line 52  static int czs_handler(request_rec *r) { Line 52  static int czs_handler(request_rec *r) {
52          }          }
53          if(r->args != 0 || do_czs) {          if(r->args != 0 || do_czs) {
54                  ap_table_setn(r->headers_out, "X-czs_filename", r->filename);                  ap_table_setn(r->headers_out, "X-czs_filename", r->filename);
55                  ap_table_setn(r->headers_out, "X-czs_args", r->args);                  if (r->args != 0) {
56                            ap_table_setn(r->headers_out, "X-czs_args", r->args);
57                    }
58          }          }
59    
         r->content_type = "text/html";  /* hm? */  
   
60          ap_soft_timeout("send", r);          ap_soft_timeout("send", r);
61          ap_send_http_header(r);          ap_send_http_header(r);
62        
# Line 100  static int czs_handler(request_rec *r) { Line 100  static int czs_handler(request_rec *r) {
100  int translate_path(request_rec *r) {  int translate_path(request_rec *r) {
101          char *uri = r->uri;          char *uri = r->uri;
102          request_rec *subr;          request_rec *subr;
103            do_czs=0;
104    
105          if (uri[0]=='/' && uri[1]=='_' && uri[2]=='/') {          if (uri[0]=='/' && uri[1]=='_' && uri[2]=='/') {
106  #if 0  #if 0

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26