Koozali.org: home of the SME Server

webserver is where and runs as who

aussie

webserver is where and runs as who
« on: August 19, 2004, 08:02:50 AM »
Im trying to setup some webserver application software (typo3 cms).
Ive setup a new ibay 'website' and i see the cgi-bin, files and html dir for it.
1. The application says copy the tars to your webserver: what dir is that please?
2. and it says to chgrtp -T <xxx? ...: where xxx is the user your webserver is running as: what  is that please?
(i think the answers maybe 1. 'website/html' and 2. 'admin', but Im not sure, or maybe 1. is 'website' and once its installed I change its top dir name to 'html')
TIA  :pint: Rob

Offline Boris

  • *
  • 783
  • +0/-0
webserver is where and runs as who
« Reply #1 on: August 19, 2004, 08:03:16 PM »
Modify Ibay to enable web part of it and dynamic content execution.
Copy your code to HTML folder.

Web server runs as www user, so chown www:www if required by apps (Rarely needed).
Most of the time (after new files copied and unziped in ibay) going to modify ibay property and resubmiting changes without changing any, fixes the permissions to default, that works.
...

aussie

webserver is where and runs as who
« Reply #2 on: August 20, 2004, 01:43:47 AM »
Quote from: "Boris"
Modify Ibay to enable web part of it and dynamic content execution.
Copy your code to HTML folder.

Web server runs as www user, so chown www:www if required by apps (Rarely needed).
Most of the time (after new files copied and unziped in ibay) going to modify ibay property and resubmiting changes without changing any, fixes the permissions to default, that works.


thanks Boris! (I changed owner=admin;group=www) BUT
Ive got access to it, the html/index.html is displaying when I put a test html/index.html in place.
BUT the application starts from a /html/index.php (which is a link into the app), which says 'you dont have permission to access' (when Ive removed the temporary html/index.html file).
so is my problem starting the .php? and if so how do I start it
(I must be close because Ive got phpadmin running which starts from index.php!)
TIA  :pint: Rob
ps my ibay settings are group=admin;write=group read=all; entire internet access; dynamic content enabled.

Offline Boris

  • *
  • 783
  • +0/-0
webserver is where and runs as who
« Reply #3 on: August 20, 2004, 09:43:52 AM »
use chown with -R option. That will change owner in the subfolders too. Make sure that folders with application have x (execute or open for folders) attribute.
...