Results 1 to 4 of 4

Thread: questions about server

  1. #1
    Join Date
    Dec 2007
    Beans
    132

    questions about server

    Hi there.

    I have on my computer Ub server and desktop and I have some questions
    1. Where should I add UserDir directive? In apache2.conf or in httpd.conf?
    2. How can I add UserDir directive? I don't know if is already enabled or not
    3. I tried to restart apache2 and I got:
    Code:
    sudo apache2 -k restart
    apache2: bad user name ${APACHE_RUN_USER}
    what is user name ${APACHE_RUN_USER}?

    4. Where are network configurations?
    my /etc/network/interfaces looks like:
    Code:
    auto lo
    iface lo inet loopback
    that's all

    Many thanks

  2. #2
    Join Date
    Nov 2004
    Location
    gainesville, fl
    Beans
    127

    Re: questions about server

    Userdir mod is available with a default install.

    Code:
    sudo a2enmod userdir
    Code:
    sudo /etc/init.d/apache2 force-reload
    should get you set up.

  3. #3
    Join Date
    Dec 2007
    Beans
    132

    Re: questions about server

    I restarted and I get:

    Code:
    * Restarting web server apache2
    apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
       ...done.
    what does it mean?

  4. #4
    Join Date
    Mar 2008
    Beans
    1,755

    Re: questions about server

    It means you did not specify servername in the virtual host file.

    Here is an example:

    <VirtualHost MYDOMAINNAME.com>

    ServerName MYDOMAINNAME.com
    ServerAdmin root@MYDOMAINNAME.com
    ServerAlias MYDOMAINNAME.com
    DocumentRoot /var/www/mail

    </VirtualHost>

Bookmarks

Posting Permissions

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