Some doubts in apache2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasimca007
    New Member
    • Sep 2007
    • 129

    Some doubts in apache2

    If we are using Apache1.3.31 version then in man apache will come and we can use default functions and variables like document_root and send_http_heade r() etc...

    But in Apache2 version what is the solution to use those or replaced because when we type man apache or man apache2 then it will not come and showing there is no man page for apache2.

    Then what is the solution to use those variables or functions used in apache to be replaced in apache2 with some modules or etc...........

    Please help me it is very urgent for my project.
  • dgreenhouse
    Recognized Expert Contributor
    • May 2008
    • 250

    #2
    Try entering: man httpd

    Comment

    • dgreenhouse
      Recognized Expert Contributor
      • May 2008
      • 250

      #3
      There are two default locations in: /etc/httpd/conf/httpd.conf that need to be changed.

      DocumentRoot "/var/www/html" & <Directory "/var/www/html">

      Both these should point to the same location.

      They are usually separated in the file by the directive:
      <Directory />
      Options FollowSymlinks
      AllowOverride All
      </Directory>

      Comment

      Working...