thttpd is a simple, small, portable, fast, and secure HTTP server.
Questions tagged [thttpd]
13 questions
4
votes
2 answers
thttpd and php in CGI mode
Is there a way to make PHP and thttpd work together in CGI mode? There are some pieces of information here and there but our naive attempts failed so far as it seems like PHP doesn't understand the environment variables set by thttpd and therefore…

Michael Pliskin
- 2,352
- 4
- 26
- 42
3
votes
1 answer
cross-compiled THTTPD server with PHP runs fine, but no PHP
We need some PHP on an ARM board. I've successfully cross-compiled both PHP 5 and THTTPD and they both seem to run fine on the ARM board, only the .php pages are shown unprocessed (if you do "View Source" in the web browser, you can see the PHP…

quadmore
- 31
- 1
- 2
3
votes
1 answer
PHP as a thttpd module vs CGI in terms of memory usage
I am planning to use php in an embedded environment. Our current web server is thttpd. I am considering two options now: whether to run it as a cgi or as SAPI module. I know cgi has advantage in terms of security. But if we are to use php as cgi, an…

green_t
- 2,997
- 3
- 21
- 18
3
votes
2 answers
Why stylesheet doesn't work?
I have a simple html page as follow:

mans
- 17,104
- 45
- 172
- 321
1
vote
0 answers
Can thttpd support multipart/form-data?
I could successfully setup thttpd and tested a sample page with form. If I replace the input element with type "file" and post a file upload, thttpd closes the connection without any response but the same works if the input type is text.
So does…

Bharathwaaj
- 2,627
- 2
- 22
- 35
1
vote
3 answers
Two small httpd servers or one big one?
I'm in the process of optimizing my website to serve static assets via a different domain so that they download/upload bandwidth is reduced and caching is easier.
Right now, I'm using Rails 3.1 with NGINX and Passenger.
So far, I've setup the system…

matsko
- 21,895
- 21
- 102
- 144
1
vote
0 answers
how to install cross compiled programs (thttpd) on arm linux boards
I cross complied thttpd with php for arm linux boards successfully and I got a single file namged thttpd. I copied this file to arm board and ran it successfully with the following command:
thttpd -C CONFIG_FILE // CONFIG_FILE is the path of thttpd…

user3806968
- 11
- 1
1
vote
1 answer
Is there a SAPI module for PHP 5 for supporting the thttpd web server?
Is there a SAPI module for PHP 5 for supporting the thttpd web server?
Oddly, the one included on PHP 5.2.6 source is for PHP 4.x.
Thanks,
Kenneth

ksuralta
- 16,276
- 16
- 38
- 36
0
votes
0 answers
thttpd directing all routes?
I'm hosting a Flutter app with thttpd via Docker.
I'm trying to understand how I can catch all routes, as there doesn't seem to be a configuration and I don't want to go down the Nginx way.
For example domain.com/some-route should load the index,…

Oliver Dixon
- 7,012
- 5
- 61
- 95
0
votes
1 answer
How can I set the HTTP header "Access-Control-Allow-Origin" for HTTP responses from a thttpd web server
I have a thttpd (http://acme.com/software/thttpd/) web-server on which I have images (svg) and JSON files.
I'm developping a small web page that needs to retrieves these resources from my web-server but I always get the following error :
No…

Nicolas Ooghe
- 1
- 1
0
votes
1 answer
What does __interceptor_strchr do?
my function crashes(due to stack overrun) right after this machine instruction:
0x00000000004b1e4c : e8 3f 85 fa ff callq 0x45a390 <__interceptor_strchr(char const*, int)>
What does __interceptor_strchr(char const*, int) do?

TYN
- 29
- 5
0
votes
1 answer
SSL connection for website hosting under THTTPD
all,
I have a website which can be accessed via HTTP well at port 86. Now it is required to add SSL to secure the connection. This website is served with thttpd web server which, yes, has no SSL support. I searched a lot through google then.…

lyonsun
- 47
- 1
- 2
- 11
0
votes
1 answer
Please tell me where to find early versions of thttpd web server
I am going write a simple web server, after read some really simple samples of http servers,
I want to read something complicated, so i went to thttpd server's web page, but I can not find
early versions of thttpd, because i want to read the source…

おおさま
- 257
- 4
- 9