Apache
Configuration
 
Linux:
 
Installation:
 
§         Copy
the source file downloaded from apache site to a temporary location and extract
with the following command:
 
tar -zxvf httpd-2.2.11.tgz
 
§         This
will create a directory with the name httpd-2..2.4. Enter into this directory to
compile the source.
cd httpd-2.2.11
 
§         Compiling: Configure script is used to
compile the apache source, and it has lot of options to customize the
installation. Execute the following command to see all the options of configure
script.
./configure --help
 
§         To
make your installation error free, check the dependencies before starting
compiling.
 
 
§         Use
the following command to compile the apache source with all modules to be
shared on demand basis. This gives the flexibility to enable any module at any
time.
 
./configure --prefix=/opt/apache  --enable-mods-shared=all --enable-ssl
--enable-deflate
 

 
To enable proxy , mod rewrite & etc feature of apaceh 
then configure below configure command.
 
./configure -prefix=/opt/apache  --enable-module=so  --enable-module=auth_db  
--enable-module=digest  --enable-module=example  --enable-module=log_agent  
--enable-module=mime_magic  --enable-module=usertrack  
--enable-module=auth_anon  --enable-module=auth_digest  
--enable-module=cern_meta  --enable-module=expires  --enable-module=proxy  
--enable-module=unique_id  --enable-module=vhost_alias  
--enable-module=auth_dbm  --enable-module=headers  --enable-module=info  
--enable-module=log_referer  --enable-module=mmap_static  
--enable-module=speling
--enable-module=rewrite --enable-mods-shared=all --enable-ssl --enable-deflate
--enable-proxy --enable-proxy-connect  --enable-proxy-ftp --enable-proxy-http  
--enable-proxy-ajp  --enable-proxy-balancer --enable-mods-shared=all 
--enable-ssl
--enable-deflate
 
 
 
§         Installing: The following commands compile
and install all the apache related files in the respective directories:
make
make install
make test  or make check
                                    
To Start Apache:
                        
                        #
/opt/apache/bin/apachectl restart 
                                    OR
                        # /opt/apache/bin/apachectl  -k 
start|restart|graceful|configtest|status


To Check : http://localhost:80     OR   htttp://yourip



Regards,
Nagendra Pal
Mb: 9833518184


      Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

[Non-text portions of this message have been removed]

Reply via email to