svn commit: samba r19111 - in branches/SAMBA_4_0/source/web_server:
.
tridge at samba.org
tridge at samba.org
Fri Oct 6 05:36:30 GMT 2006
Author: tridge
Date: 2006-10-06 05:36:29 +0000 (Fri, 06 Oct 2006)
New Revision: 19111
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19111
Log:
fixed basic web server operation
Modified:
branches/SAMBA_4_0/source/web_server/http.c
Changeset:
Modified: branches/SAMBA_4_0/source/web_server/http.c
===================================================================
--- branches/SAMBA_4_0/source/web_server/http.c 2006-10-06 03:48:22 UTC (rev 19110)
+++ branches/SAMBA_4_0/source/web_server/http.c 2006-10-06 05:36:29 UTC (rev 19111)
@@ -896,6 +896,7 @@
p = strrchr(web->input.url, '.');
if (p == NULL) {
page_type = page_type_esp;
+ file_type = "text/html";
}
for (i=0;p && i<ARRAY_SIZE(mime_types);i++) {
if (strcmp(mime_types[i].extension, p+1) == 0) {
More information about the samba-cvs
mailing list