Find the answer to your Linux question:
Results 1 to 5 of 5
Generally apache default path is /var/www/html, but i need the path like this /var/siva/apache ,how to accomplish that in apache.... Thanks in advance.......
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    19

    Apache path

    Generally apache default path is /var/www/html, but i need the path like this /var/siva/apache ,how to accomplish that in apache....

    Thanks in advance....

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    wich distro are you running?
    Linux and me it's a love story

  3. #3
    Linux Newbie
    Join Date
    Jun 2006
    Location
    Greece, Athens
    Posts
    214
    go to the apache directory (in ubuntu it is a subdirectory in /etc/). Then find the configuration file and open it with an editor. There is a line that says Document Root. Put the path you want in that line.

  4. #4
    Just Joined!
    Join Date
    Jun 2008
    Posts
    19
    I am using RHEL5....

  5. #5
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    if you did a default install go to
    Code:
    /usr/local/apache2/conf/httpd.conf
    and do it like kostasan pointed above
    Linux and me it's a love story

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...