Apache

From Alpine Linux
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows.

Simple Setup

Add the apache2 package:

# apk add apache2

Start the service:

# rc-service apache2 start

Navigate a browser to the machine's address; there you should see the default "It works" page.

Enable apache on startup (if needed):

# rc-update add apache2

Edit the configuration in /etc/apache2/ and run

# rc-service apache2 restart

to enable your changes

Additional Guides

See Also