free(tmp);
}
}
+ va_end(va);
}
char* tw_get_mime(const char* ext, struct tw_config_entry* vhost_entry) {
char* mime = tw_get_mime(ext, vhost_entry);
tw_process_page(s, sock, tw_http_status(200), mime, f, NULL, st.st_size, 0, 0);
fclose(f);
+ if(ext != NULL) free(ext);
free(p);
found = true;
break;
# $Id$
# This is an example config
-LoadModule /home/nishi/SVN/tewi/trunk/Module/mod_cgi.so
+#LoadModule /home/nishi/SVN/tewi/trunk/Module/mod_cgi.so
Listen 80
ListenSSL 443
EndDirectory
BeginDirectory /var/www/cgi-bin
- AllowCGI
+# AllowCGI
EndDirectory