Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 899

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 899

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 531

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 532

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 534
Installation of WWW Server On CentOS4.3 | Configure Install Setup Web CMS Configuration

Installation of WWW Server On CentOS4.3

warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/common.inc on line 141.

Installation of WWW server on Linux CentOS4.3

A WWW server is a computer program that is responsible for accepting HTTP requests from clients (user agents such as web browsers), and serving them HTTP responses along with optional data contents, which usually are web pages such as HTML documents and linked objects (images, etc.).

How to install WWW server on CentOS4.3?

-download httpd
  download httpd-2.0.59.tar.gz to /usr/local/src
  cd /usr/local/src
  tar xzvf httpd-2.0.59.tar.gz
  cd httpd-2.0.59

-apache build install
  ./configure \
    --enable-so \
    --enable-module=all \
    --enable-shared=max \ #for sql and php
    --enable-dav=yes \ #for ssl?
    --enable-ssl \
#    --with-ssl=/usr/local/ssl
    --enable-setenvif #for ssl
  make
  make install

-apache start
  in /etc/rc.d/rc.local
  /usr/local/apache2/bin/apachectl start

  ps aux | grep httpd

-make dir
  mkdir /home/bob
  mkdir /home/bob/public_html
  chown bob.bob/home/bob/public_html
  chmod 711 /home/bob
  chmod 711 /home/bob/public_html

-admin of apache
  in /usr/local/apache2/conf/httpd.conf
  ServerAdmin bob@configureinstallsetup.com

-default file
  in /usr/local/apache2/conf/httpd.conf
  DirectoryIndex index.php index.html index.cgi index.pl index.htm

-making cgi execable
  in /usr/local/apache2/conf/httpd.conf
  <Directory /home/bob>
    Options ExecCGI
  </Directory>
 
  AddHandler cgi-script .cgi .pl

-test cgi
  make index.cgi as
  #!/usr/bin/perl
  print "Content-type:text/html\n\n";
  print "<html>hello world by cgi</html>\n";

  chmod 755 index.cgi #don't forget


Custom Search