From db73325225dfb314762b1b23e11053b050717284 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 11 Sep 2009 21:09:46 +0000 Subject: Fix CGI pattern logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2040 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/netutils/thttpd/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/netutils') diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h index b63320c7d..349c73968 100644 --- a/nuttx/netutils/thttpd/config.h +++ b/nuttx/netutils/thttpd/config.h @@ -102,12 +102,12 @@ # define CONFIG_THTTPD_CGI_PATH "/mnt/www/cgi-bin" # endif -/* Only CGI programs matching this pattern will be executed. In fact, +/* Only CGI programs whose fully expanded pathes match this pattern will be executed. In fact, * if this value is not defined then no CGI logic will be built. */ # ifndef CONFIG_THTTPD_CGI_PATTERN -# define CONFIG_THTTPD_CGI_PATTERN "/cgi-bin/*" +# define CONFIG_THTTPD_CGI_PATTERN "/mnt/www/cgi-bin/*" # endif /* These provide the priority and stack size of the CGI child tasks */ -- cgit v1.2.3