summaryrefslogtreecommitdiff
path: root/nuttx/netutils
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-11 21:09:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-11 21:09:46 +0000
commitdb73325225dfb314762b1b23e11053b050717284 (patch)
tree97d221ec1ce0ebc8468a9f95fe8ec343a5395f2e /nuttx/netutils
parent0d983d2f3bd02ae488fddf151b84145a104e01e8 (diff)
downloadpx4-nuttx-db73325225dfb314762b1b23e11053b050717284.tar.gz
px4-nuttx-db73325225dfb314762b1b23e11053b050717284.tar.bz2
px4-nuttx-db73325225dfb314762b1b23e11053b050717284.zip
Fix CGI pattern logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2040 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils')
-rw-r--r--nuttx/netutils/thttpd/config.h4
1 files changed, 2 insertions, 2 deletions
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 */