Configuring Apache modules
The modules in Apache is the interface where the modules determine what features will be run on the Apache Web Server. To view the modules active is to use the command:
# / Usr / local / apache / bin / httpd-l
To load the modules in apache, there are two ways:
1.Static Module
2.DSO (Dynamic Shared Object)
If we install Apache using rpm format by default then how loading a DSO module by default. To load a DSO module is we add the following line in httpd.conf (eg we will load the php4 podul using DSO):
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
Starting the Web server
To run Apache we need to do is:
# Apachectl start
If we make changes to the configuration files so apache must be restarted in order for the changes that we are doing to give effect.
# Apachectl restart
For a more complete view of apachectl options
# Apachectl - help
Httpd file which is derived from the installation process is a daemon program that opens port 80 (default) to hear any request or application for the web. To be able to call the web server is as follows:
http://namec <---
if the name of the web server we are KINETIC If we use the ports that are not from the usual (eg 8000) then calling as follows:
http://namec:8000
Or calling to use the IP Address of the machine in question, eg:
http://192.175.0.1 <----
if your web server IP Address 192.175.0.1
Thank's..
- Other related articles:
- Tips For Linux Installation
- Spruce Up Your Hard Diks
- For Personal Computer PC so Cool
- Tips and Triks Fedora Core
- More Tips and Triks Windows XP
- Explain Storage and RAM
- Notion of Informatics
- Introduction to human computer
- History of Virus Part 2
- Finding Lost Files on Computer
- Tips and Tricks in Windows Vista
- Advantages Linux
No comments:
Post a Comment