in reply to Re: GD::Graph problem help much appreciated
in thread GD::Graph problem help much appreciated

1.I think you mean "What user does the server use?". Assuming that it is apache then ps -ef | grep http will show you the owner of the process.

2. You will need to ask your system administrator but a directory somewhere under your home directory is probably a safe bet. You will need to ensure that the web server can write there by changing the group and giving group write permission.

Replies are listed 'Best First'.
Re^3: GD::Graph problem help much appreciated
by LinuxNoobPhilip (Novice) on Jan 26, 2008 at 00:22 UTC
    Well This is my set-up on my local machine, I guess I need to know how to change the group permissions then. Write now I can only get files in my www directory a subdirectories to work in the browser.

    What you are saying is there is a way to tell apache it can look in a directory back and pull from a folder there? if so what would be the step.

      Create an images directory under www, change the group to webgroup (or whatever it is) and grant group write.

      mkdir /path/to/www/images chgrp webgroup /path/to/www/images chmod g+w /path/to/www/images
      If you want to put the images directory somewhere else then you need to put an alias directive in http.conf.
      Alias /images/ /home/you/images/
      Then apache will look in /home/you/images for URLs like http://www.linuxnoobphilip.org/images/philip.jpg.

      It sounds like you need to do a bit of reading to get going. Linux distributions typically have documentation installed and that is a good place to start. All you need to know about apache is at Appache home page but I grant it is a bit daunting.