Инвертируйте rdesktop или изображение наложения VNC!

Как Вы знаете, thttpd, в отличие от dhttpd, CGI поддержек, но страница справочника не относится к уровню HTTP, поддерживаемому для запросов в документации. Из thttpd страницы справочника:

CGI

   thttpd supports the CGI 1.1 spec.

   In order for a CGI program to be run, its name must match  the  pattern
   specified  either  at  compile  time or on the command line with the -c
   flag.  This is a simple shell-style filename pattern.  You can use * to
   match  any  string  not  including  a  slash, or ** to match any string
   including slashes, or ? to match any single character.   You  can  also
   use  multiple  such  patterns separated by |.  The patterns get checked
   against the filename part of the incoming URL.  Don’t forget  to  quote
   any wildcard characters so that the shell doesn’t mess with them.

   Restricting  CGI  programs to a single directory lets the site adminis‐
   trator review them for security holes, and is strongly recommended.  If
   there  are individual users that you trust, you can enable their direc‐
   tories too.

   If no CGI pattern is specified, neither here nor at compile time,  then
   CGI  programs  cannot  be  run at all.  If you want to disable CGI as a
   security measure, that’s how you do it, just comment out  the  patterns
   in the config file and don’t run with the -c flag.

   Note:  the current working directory when a CGI program gets run is the
   directory that the CGI program lives in.  This isn’t  in  the  CGI  1.1
   spec, but it’s what most other HTTP servers do.

   Relevant   config.h   options:  CGI_PATTERN,  CGI_TIMELIMIT,  CGI_NICE,
   CGI_PATH, CGI_LD_LIBRARY_PATH, CGIBINDIR.

На конкретном вопросе поддержки HTTP 1.1 я думаю, спрашивая относительно thttpd форума поддержки, был, вероятно, наилучший путь вперед, за исключением чтения кода. Я не был бы удивлен HTTP 1.0 только, поскольку он сохраняет сервер, имеющий необходимость сохранить части страницы, пока целая страница не доступна для заполнения количества байта правильно в заголовке HTTP 1.1.

Конечно, в стандартной программе cgi_interpose_output( httpd_conn* hc, int rfd ) в libhttpd.c запуск последовательности

(void) my_snprintf( buf, sizeof(buf), "HTTP/1.0 %d %s\015\012", status, title );

кажется, поддерживает это представление, но я ожидаю, что Вы, вероятно, более знакомы с кодом, чем я и будут люди в списке рассылки, которые знают это подробно и могли быть более категоричными.

2
задан 13 April 2010 в 18:42
2 ответа

То, что Вы хотите, является отражателем VNC. Регистрируйте источник здесь: у http://sourceforge.net/projects/vnc-reflector/ и Вас есть практическое руководство в http://links.episd.org/DLoads/PDFs/vncreflector-how-to.pdf

Всего наилучшего,
João Miguel Neves

1
ответ дан 3 December 2019 в 13:30
  • 1
    I' ll испытывают Ваше решение с такой скоростью, как я могу и возвращаться в конечном счете для маркировки ответа, как принято!Большое спасибо! –  carlesso 4 May 2010 в 17:02

Другое затем использование RDP в режиме служб удаленных рабочих столов, или SSH или другой из соединения полосы, я понятия не имею.

0
ответ дан 3 December 2019 в 13:30

Теги

Похожие вопросы