Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    West Yorks
    It should be in /var/www/htdocs.

  3. #3
    it is usually there, but mine defaults to /home/httpd/html

    I would do:

    locate index.html

  4. $spacer_open
  5. #4
    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
    Check your httpd.conf and see where your DocumentRoot is.

  7. #6
    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