New to 4MLinux?

If you are a new 4MLinux user, you should jump here

Sunday, February 24, 2013

HTTP server in 4MLinux

4MLinux has the following set of its main servers: FTP, HTTP, SSH, and Telnet. This post aims to describe shortly how to use the HTTP server. 4MLinux includes a Busybox applet as its HTTP server daemon.

Note: 4MLinux 9.1 Server Edition (and later) uses Apache (with PHP and MariaDB) as its default HTTP server. There is a self-explanatory online demo at

1) Open your terminal and execute the 'httpd' command:

2) Let's start the server ('httpd start') and check if it really runs ('httpd test'). After you execute these two commands, you will see the following menu screen:

3) Now you can run, for example, the "Private HTML" test:

4) By default, none of 4MLinux servers is started automatically during the boot, but you can change this by setting 'HTTP' to 'yes' in the /etc/server/autostart.conf file:

Additional notes:
1) The HTTP server is located in the /srv/http directory by default.
2) httpd configuration files are located the /etc/httpd directory by default.
3) 4MLinux uses inetd to manage its main servers. 

Further reading:

No comments:

Post a Comment