Esr Tek
11-11-2003, 12:40 PM
I have a user that ties 3 sites into each other, 2 use the same shopping cart and then send the cart info to a 3rd domain for transaction.
Previously before update of apache (1.3.28 to 1.3.29) the user had it working where the sites can read/write to the others space.
However since update this has stopped working.
I used basically the same configuration during rebuild of apache so I don't understand how it broke.
User also is stating now in FTP he sees that ownership permissions have changed
e.g. drwxr-xr-x 2 32250 userid 4096 Nov 11 08:43 lists
Where as before they were always in the format
drwxr-xr-x 2 userid userid 4096 Nov 11 08:43 lists
I checked via SSH and can not find where the owner/user is incorrect.
Any ideas?
SystemV
11-11-2003, 02:36 PM
Originally posted by Esr Tek
I have a user that ties 3 sites into each other, 2 use the same shopping cart and then send the cart info to a 3rd domain for transaction.
Previously before update of apache (1.3.28 to 1.3.29) the user had it working where the sites can read/write to the others space.
However since update this has stopped working.
I used basically the same configuration during rebuild of apache so I don't understand how it broke.
User also is stating now in FTP he sees that ownership permissions have changed
e.g. drwxr-xr-x 2 32250 userid 4096 Nov 11 08:43 lists
Where as before they were always in the format
drwxr-xr-x 2 userid userid 4096 Nov 11 08:43 lists
I checked via SSH and can not find where the owner/user is incorrect.
Any ideas?
which control panel are you using, or a custom one.
For the shopping cart, any php variables/values changed?
I have faced the same problem with proftpd... just check if the vhost entry for user is correct in ftpd conf..for me, the entry in /etc/groups for the user too was missing.
Thx
genlee
11-11-2003, 02:38 PM
Check to see if apache is running under the same uid/gid as before
Esr Tek
11-11-2003, 02:55 PM
Originally posted by SystemV
which control panel are you using, or a custom one.
For the shopping cart, any php variables/values changed?
I have faced the same problem with proftpd... just check if the vhost entry for user is correct in ftpd conf..for me, the entry in /etc/groups for the user too was missing.
Thx
cPanel 8.5.4 and no variables/values in cart changed.
in etc/groups I see the usernames and now I see where the number:username came from.
As every user entry in it has some number:username (not sure if this is normal).
However FTp (TMK) isn't the problem, it's reading writting files via HTTP (I believe).
SystemV
11-11-2003, 03:24 PM
yes, the FTP and cart issues shouldnt be related, was suggesting what I did when I had the same kind of FTP problem you mentioned:)
the number with the username is UID and group is GID. Each one should have a unique ID and so what you saw is normal.
For cart issue, is your php.ini changed? have you enabled/disabled phpsuexec in your new apache build?
Also as genlee mentioned, check if the user as which apache runs is still "nobody" in httpd.conf, and if you have enabled suexec, the user and group are correct in the apache entries of the domain.
Thz
Esr Tek
11-11-2003, 04:50 PM
yeah I knew what ya meant, thanks ;)
Opps sorry meant to add the reply to genlee :eek:
Nah the UID/GID both still set to nobody.
Php.ini hasn't changed since Oct 2.
I haven't enabled phpSuexec and suExec has always been on this server.
All 3 have the correct UID/GID in apache.
I did add a few things during compile, one of them must be interferreing. However a few of them where needed and have to stay. (e.g. Curl SSL, flash etc) the rest of it should be same.
I had a txt file where I had the before and after ./configure line listing the differnces (I must find that).
I'll probably just rerun the apache build tonight.
Thanks for the help :D