dimm
05-11-2008, 20:05
хочу сделать так, чтобы вместо стандартных страниц ошибок сервер thttpd выдавал мои собственные, как?
В описаловке (http://www.acme.com/software/thttpd/options.html#ERR_DIR) нашел вот что:
ERR_DIR
Subdirectory for custom error pages. The error filenames are $WEBDIR/$ERR_DIR/err%d.html - if virtual hosting is enabled then $WEBDIR/hostname/$ERR_DIR/err%d.html is searched first. This allows different custom error pages for each virtual hosting web server. If no custom page for a given error can be found, the built-in error page is generated. If ERR_DIR is not defined at all, only the built-in error pages will be generated.
Что добавить в thttpd.conf?
В описаловке (http://www.acme.com/software/thttpd/options.html#ERR_DIR) нашел вот что:
ERR_DIR
Subdirectory for custom error pages. The error filenames are $WEBDIR/$ERR_DIR/err%d.html - if virtual hosting is enabled then $WEBDIR/hostname/$ERR_DIR/err%d.html is searched first. This allows different custom error pages for each virtual hosting web server. If no custom page for a given error can be found, the built-in error page is generated. If ERR_DIR is not defined at all, only the built-in error pages will be generated.
Что добавить в thttpd.conf?