Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: file location - localhost

  1. #11
    Join Date
    Oct 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: file location - localhost

    Quote Originally Posted by gandalf458 View Post
    I've changed the http.conf file to point to /home/user/www and restarted Ubuntu (I haven't figured out how to stop and restart the http server yet) but localhost still seems to be looking in /var/www

    Any idea what I might be doing wrong please?
    You can restart apache with:
    Code:
    sudo /etc/init.d/apache restart
    I guess. Hit TAB after typing init.d/ to see all the possibilities
    Please remember to mark the thread "solved" if we have success helping you out. This helps people to look for help later on.

  2. #12
    Join Date
    Jun 2008
    Location
    United States
    Beans
    28
    Distro
    Ubuntu Karmic Koala (testing)

    Re: file location - localhost

    thanks been looking for this

  3. #13
    Join Date
    Aug 2005
    Beans
    123

    Re: file location - localhost

    Quote Originally Posted by kesman View Post
    You can restart apache with:
    Code:
    sudo /etc/init.d/apache restart
    I guess. Hit TAB after typing init.d/ to see all the possibilities
    Thanks. G

  4. #14
    Join Date
    Aug 2005
    Beans
    123

    Re: file location - localhost

    I'm not sure what has happened between yesterday and today but I seem to be having trouble with my permissions although I have given create and delete permissions to everyone in my www directory.

    When I navigate to a PHP page I get
    Code:
    Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
     
     Fatal error: Unknown: Failed opening required '/home/graham/www/php_vars.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •