Find the answer to your Linux question:
Results 1 to 6 of 6
i have set up an apache web server, and i wanna find the index html file, and edit it..can anybody tell me how can i find this file and edit ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    31

    Apache Web Server


    i have set up an apache web server, and i wanna find the index html file, and edit it..can anybody tell me how can i find this file and edit it..thankyouuu

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    It should be in /var/www/htdocs.

  3. #3
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    101
    it is usually there, but mine defaults to /home/httpd/html

    I would do:

    Code:
    locate index.html
    --Erik

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2007
    Posts
    31
    Quote Originally Posted by daark.child View Post
    It should be in /var/www/htdocs.
    i tried this but it says, No target file...

    i tried in many ways but nothing..

    i just wanna edit and put some simple text, and a small logo..Nothing else, i cannot enter with ftp too..

    does anybody have any advice..ThankYOU

  6. #5
    Just Joined! vigour's Avatar
    Join Date
    Oct 2007
    Posts
    68
    Check your httpd.conf and see where your DocumentRoot is.

  7. #6
    Just Joined!
    Join Date
    Dec 2007
    Posts
    31
    thankyouu very much it worked!

Posting Permissions

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