Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Skydiver on March 23, 2005, 07:29:54 AM

Title: Callling ZoneInfo From your primary ibay
Post by: Skydiver on March 23, 2005, 07:29:54 AM
Hi

I am trying to call the zone.tab file from this location. i have confirmed the location is there and the file name is correct. But in the webpage calling it i get an error "can not open zone.tab"
I am using SME7.0 Alpha3

in the config.php file located in the primary html ibay i note this entry

/* where is your zone file on your server ? */
$this->zonetab_file="/usr/share/zoneinfo/zone.tab";
*/

Any ideas anyone
Title: zone.tab file
Post by: Skydiver on March 24, 2005, 01:12:37 AM
I have turned fopen to ON in the php.ini file.

i completed Chmod 777 zone.tab

I feel maybe the file needs to be owned or permisions changed for the group or file owner... How do i change the owner of a file.

ls -l zone.tab shows

-rwxrwxrwx    1 root     root        17591 Dec 24 00:57 zone.tab

Any other ideas...

Cheers
Title: File Perm
Post by: Skydiver on March 29, 2005, 08:41:12 AM
Can anyone tell me how i change or add:
 
group
user
id

for a file.


PERMS=0666
UID="admin"
GID="www"
Title: www access
Post by: Skydiver on March 30, 2005, 12:36:47 AM
can anyone tell me what is the user that is set for apache when on the primary website of a sme server. it is not root.

Is it www or is it nobody or something else?

What is the default user is the question?
Title: apache
Post by: Skydiver on March 30, 2005, 01:18:09 AM
Looks like i need to create a group and a user with permisions to access the file . Does anyone know how to create a apache user with permisions and add it to a group. e-smith manager allows me to create a group and a user but how do i change the permisions to the user?

Or what is the command to make apache a member of the group i created