Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I've got 2 problems Apache: in apache2.conf I've changed the Serverroot to .... , but when I check my server on another computer, I still see the files from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    7

    Two problems: Apache & VSFTPD


    Hello,

    I've got 2 problems

    Apache: in apache2.conf I've changed the Serverroot to .... , but when I check my server on another computer, I still see the files from /var/www. Also, I think I've added another indextype (index.htm), but it doesn't recognise it, so I see all maps and documents instead of my index.htm.

    How can I change my root so I can upload my files directly to there, and how do I add index.htm as a valid index type?


    VSFTPD: I can't find the file/command to add a user so I can log in. How can I do that?

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Location
    (.)
    Posts
    69
    Do not change the ServerRoot parameter, let it be default, if you want to change the path of your web documents and folders then you need to change the value of

    DocumentRoot

    To set the default index page you need to use

    DirectoryIndex index.htm, index.html ....

    To upload your web files/folders you need to set the FTP accordingly.

Posting Permissions

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