Beruflich Dokumente
Kultur Dokumente
I will use the '#' to indicate the commands you should execute as root, and
'%' to indicate it is a command to run as user.
# cp /etc/apache2/httpd.conf-example /etc/apache2/httpd.conf.
3. Open the file using a text editor , and locate the following line in the file:
4. After this line we will find some important lines. Assure the user and
group are set to 'nobody'. The corresponding lines should be like this:
User nobody
Group nobody
ServerAdmin admin@mydomain.com
UseCanonicalName On
7. Find the following line containing 'Options Indexes', it should have the
following value:
<IfModule mod_userdir.c>
UserDir WWW
</IfModule>
9. Enable the use of CGI in the user's webpage directory; in this example for
the 'WWW' directory.
<Directory /home/*/WWW>
Options +ExecCGI
</Directory>
10. Also this line should just like this to enable CGI:
Note that you may require additional configuration such as TCP Wrappers
in order to make your webserver available to others in you network (or the
Internet) and maintain security. I will post about this in the next days.
---
AndresMtzA