Recommend this page to a friend! |
Download .zip |
Info | Screenshots | View files (48) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2008-02-07 (8 years ago) | 67% | Total: 1,281 This week: 1 | All time: 2,895 This week: 1,047 |
Version | License | PHP version | Categories | |||
astahttpd 0.1 | GNU General Publi... | 5.2.0 | Networking, HTTP, PHP 5 |
Description | Author | |||||||||||||
This package implements a Modular HTTP server written in pure PHP. It supports: |
|
astahttpd v0.1 beta3 README file -------------------------------- What is astahttpd? ------------------ astahttpd is free and open source web server written using 100% pure PHP. Currently astahttpd v0.1-beta3 support these following features: - GET, POST, and HEAD methods - Alias directories - Modular Architecture * - CGI Processing (mod_cgi & mod_cgi_header) - Virtual Host (mod_vhost) - URL Rewrite (mod_rewrite) - Basic Authentication (mod_auth_basic) * - Digest Authentication (mod_auth_digest) * - Log written to file (Access & Rewrite) - Bandwidth Limit (mod_bandwidth) * - Live server status (mod_status) * - Content encoding using gzip or deflate (mod_encoding) Note: * new in this release You need at least PHP 5.2.3 to run astahttpd since it implements OOP style that only available on PHP5. astahttpd should not be used in production use due many performance and security issue that has not been fixed yet. The Idea -------- The idea behind the making of astahttpd is simple, I just need simple web server for astasms (an sms server written also in pure PHP, I will released soon :) ). Since astasms front-end is web based, so it needs a web server. I don't want to use Apache or other mainstream web server player, because i think it's too bloated if used only for supporting front-end. After tried few simple httpd server written by somebody else, but most of them just make me more frustating. Many of them is really hard to install and configure and the worst, i even cannot compile them :( . So I started to make my own web server using my favorite language PHP. The first thnik I need to decide is whether to use PHP4 or PHP5. I think OOP in PHP5 is very good and make software maintanance more easy. So I decided to use PHP5. Current Version --------------- Current version that shipped with this distribution is astahttpd v0.1-beta3 Latest Release -------------- You can obtain astahttpd latest release on project homepage at http://astahttpd.sourceforge.net/ Installation ----------- Please see file called INSTALL License ------- astahttpd is licensed under GNU GPL 3, for more information see file called LICENSE ------------------------------------------------------------------------------- Rio Astamal (c0kr3x@gmail.com) ------------------------------------------------------------------------------- |
Screenshots | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
lib (11 files) | ||||
bin (1 file) | ||||
conf (1 file) | ||||
htdocs (7 files) | ||||
icons (8 files) | ||||
logs (2 files) | ||||
modules (11 files) | ||||
COPYRIGHT | Data | Copyright file | ||
INSTALL | Doc. | Installation Instruction | ||
install.sh | Data | Auto installer | ||
LICENSE | Lic. | GNU GPLv3 | ||
NEWS | Data | News and ChangeLog | ||
README | Doc. | Readme file | ||
TODO | Data | To do lists |
Files | / | lib |
File | Role | Description |
---|---|---|
class.httpserver.php | Class | Class for creating HTTP daemon |
class.urlrewrite.php | Class | This class provide simple URL Rewriting |
class.socket.php | Class | This class provide basic TCP Socket object |
class.serverdir.php | Class | Class for manipulating server directory |
class.logger.php | Class | Class for writing log to a file |
class.httpheaderparser.php | Class | Class for parsing HTTP header request |
class.httpheadermaker.php | Class | Class for creating HTTP response header |
class.httpexception.php | Class | Custom exception class to catch HTTP error |
class.htmlpage.php | Class | Class to build an HTML page |
class.cgiparser.php | Class | Class for parsing CGI script based on extension name or first line header |
class.compressor.php | Class | Class for compressing data using gzip(internal/external) or deflate |
Files | / | htdocs |
File | Role | Description |
---|---|---|
index.html | Data | Server default test page |
info.php | Aux. | PHP Environment variables test |
printenv | Data | Perl Environment variables test |
pyenv.py | Data | Python Environment variables test |
readmanual.php | Aux. | Web server Manual/API |
rewrite.php | Aux. | Server URL Rewriting example |
secret.txt | Data | Basic Auth example |
Files | / | icons |
File | Role | Description |
---|---|---|
archive.png | Icon | sample icons for directory listing |
folder.png | Icon | sample icons for directory listing |
html.png | Icon | sample icons for directory listing |
image.png | Icon | sample icons for directory listing |
kompozer.png | Icon | kompozer logo |
parent.png | Icon | sample icons for directory listing |
text.png | Icon | sample icons for directory listing |
unknown.png | Icon | sample icons for directory listing |
Files | / | logs |
File | Role | Description |
---|---|---|
access_log | Data | access log file |
rewrite_log | Data | URL rewrite log file |
Files | / | modules |
File | Role | Description |
---|---|---|
module.php | Class | Abstract class module/Parent off all modules |
mod_auth_basic.php | Class | Basic Authentication Module |
mod_auth_digest.php | Class | Digest AUthentication Module |
mod_bandwidth.php | Class | Bandwidth Limiter Module |
mod_cgi.php | Class | CGI Processing Module |
mod_cgi_header.php | Class | CGI Header Handler Module |
mod_encoding.php | Class | Gzip/Deflate Encoding Module |
mod_rewrite.php | Class | Simple URL rewrite module |
mod_status.php | Class | Live server status module |
mod_test.php | Class | Demo module |
mod_vhost.php | Class | Virtual Host Module |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.