[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
This is an old revision of the document!
Table of Contents
Setup Apache httpd server
This is a general how to to get a basic httpd service up and running.
Applies to:
Slackware 14.1 (and possibly previous versions)
Apache 2 (and possibly previous versions)
BASIC SETUP
1) edit /etc/httpd/httpd.conf and change/uncomment the following lines:
vi /etc/httpd/httpd.conf ServerAdmin you@example.com <---OPTIONAL ServerName www.myawesomeserver.com:80 Include /etc/httpd/extra/httpd-autoindex.conf <---OPTIONAL Include /etc/httpd/extra/httpd-default.conf <---OPTIONAL
All other default settings should be good.
HINT: With these settings, your default webpages should be put in /var/www/htdocs. Your default logs should be under /var/log/httpd.
2) Make it start on boot.
chmod 755 /etc/rc.d/rc.httpd /etc/rc.d/rc.httpd start
USER DIRECTORIES
Sources
- Originally written by arfon