I installed phpwebgallery and set the user and group recursively to the same owner as all the other files/directories in /var/www/web1/, thinking that would make things work right. However I finally discovered that httpd runs as apache.apache which broke the phpwebgallery. Once I changed everything over to user apache, it all started to work.
My question is, have I configured something wrong?
Second question concerns email. I'm seeing this in the maillog
Jan 17 10:15:31 server postfix/smtp: 3A33A27579C: to=<firstname.lastname@example.org>,
orig_to=<email@example.com>, relay=none, delay=0.38, delays=0.29/0.08/0.01/0, dsn=5.4.4, stat
us=bounced (Host or domain name not found. Name service error for name=server.localdomain type=A
: Host not found)
My host name is set to www (hostname command, /etc/hostname and in the /etc/hosts file it is
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
I have no idea where it is getting a host name of server. Again, I guess I've got something configured wrong.
This is a Centos 5.4 system installed following the howo perfect system guide.