mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Fix CGI pattern logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2040 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user