Apache installation and configuration
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
That's about it. Apache is now configured for default behavior and web
serving. If there are any other parameters that you need to set, the
configuration file is well commented and pretty much self-explanatory.
8. Starting Apache
Apache comes with a script named apachectl that facilitates starting,
stopping, restarting apache.
$ /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started
To stop apache use /usr/local/apache/bin/apachectl stop
9. Test your installation
Once Apache is running, fire up your web browser and access http://localhost/.
If your installation was successful and Apache is running, you should see a
test page saying something like "If you can see this, it means that the
installation of the Apache web server software on this system was successful".
CONGRATULATIONS! You now have a successful installation of Apache running on
your system!
For more advanced features like CGI support, module additions etc. you can
read the Apache documentation that comes bundled with your installation by
accessing http://localhost/manual/index.html.
Apu Shah is the Chief Technology Officer of FreeOS.com, a leading provider of
customised solutions, consulting, training and distribution in Free Operating
Systems such as Linux. Feel free to contact him at apu@freeos.com
- « first
- ‹ previous
- of 6