astahttpd web server 0.1-beta3 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News astahttpd web server 0.1-beta3 (Default branch)
# 1  
Old 02-08-2008
astahttpd web server 0.1-beta3 (Default branch)

Image astahttpd is a modular Web server for Linux written in pure PHP, mainly targeted for PHP developers. It supports alias directories, URL rewriting, Basic and Digest authentication, gzip and deflate content encoding, virtual hosts (IP and name based), CGI script processing, bandwidth limiting, and add-on modules. License: GNU General Public License v3 Changes:
Digest authentication. A modular architecture. Currenly available modules: mod_auth_basic, mod_auth_digest, mod_bandwidth, mod_cgi_header, mod_cgi, mod_encoding, mod_rewrite, mod_status, and mod_vhost. Bug #1887560 (CGI header was not handled properly), bug #1885235 (errors not properly handled on external gzip), and bug #1885216 (missing compression level on external gzip) have been fixed.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
APACHE_REQUEST_HEADERS(3)						 1						 APACHE_REQUEST_HEADERS(3)

apache_request_headers - Fetch all HTTP request headers

SYNOPSIS
array apache_request_headers (void ) DESCRIPTION
Fetches all HTTP request headers from the current request. RETURN VALUES
An associative array of all the HTTP headers in the current request, or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.5.7 | | | | | | | This function became available in the CLI | | | server. | | | | | 5.4.0 | | | | | | | This function became available under FastCGI. | | | Previously, it was supported when PHP was | | | installed as an Apache module or by the NSAPI | | | server module in Netscape/iPlanet/SunONE web- | | | servers. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 apache_request_headers(3) example <?php $headers = apache_request_headers(); foreach ($headers as $header => $value) { echo "$header: $value <br /> "; } ?> The above example will output something similar to: Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 Host: www.example.com Connection: Keep-Alive NOTES
Note You can also get at the value of the common CGI variables by reading them from the environment, which works whether or not you are using PHP as an Apache module. Use phpinfo(3) to see a list of all of the available environment variables. SEE ALSO
apache_response_headers(3). PHP Documentation Group APACHE_REQUEST_HEADERS(3)