User conflict with ISPConfig and apache

Discussion in 'Installation/Configuration' started by JimXL, Jan 17, 2010.

  1. JimXL

    JimXL New Member

    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[3052]: 3A33A27579C: to=<[email protected]>,
    orig_to=<[email protected]>, 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
    cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail. 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.

    Suggestions welcome.

    This is a Centos 5.4 system installed following the howo perfect system guide.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. JimXL

    JimXL New Member

    OK, thanks. I'm surprised that isn't included in the ISPConfig install instructions or something.

    Screw it, I'm backing ISPConfigure out and starting over. I thought this would be easier than rolling my own virtual hosts, it's not.

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats simple. Solutions like suphp that have to switch the user are slower then mod_php. I run a lot of cms systems with mod_php, so there is no real reason. You just have to make the upload directory of the cms writable to the apache user.

Share This Page