[HCoop-Help] web page is redirected to hcoop.net

rob at hcoop.net rob at hcoop.net
Wed Feb 18 18:16:10 EST 2009


Hello,

I am setting up a new site, http://backyardbrewers.com, and its being
redirected to http://hcoop.net.  Does apache need to be restarted for my
domtool changes to go into effect?

I setup the directory serving the webpage using the following ACL
permissions:

rob at mire:~/web$ fsr setacl backyardbrewers.com/ system:anyuser l
rob at mire:~/web$ fsr setacl backyardbrewers.com/ rob.daemon all



I can't seem to access either of the apache log files.  I have no
backyardbrewers.com log files in ~/.logs/apache. Here are the error
messages when I try to use domtool-tail:

rob at mire:~/.logs/apache/mire$ domtool-tail www.backyardbrewers.com error
/usr/bin/tail: cannot open
`/var/log/apache2/user/r/ro/rob/apache/log/mire/www.backyardbrewers.com/error.log'
for reading: No such file or directory

rob at mire:~/.logs/apache/mire$ domtool-tail backyardbrewers.com access
unhandled exception: Io: flushOut "<stdout>" failed with SysErr: Broken
pipe [pipe]
/usr/bin/tail: cannot open
`/var/log/apache2/user/r/ro/rob/apache/log/mire/backyardbrewers.com/access.log'
for reading: No such file or directory



Here is what my domtool config file looks like:

rob at mire:~/web$ cat ~/.domtool/backyardbrewers.com
dom "backyardbrewers.com" where
        DocumentRoot = home "web/backyardbrewers.com/htdocs";
        WWW = begin
                addDefaultCharset "utf-8";

                scriptAlias "/cgi-bin/" ( home
"web/backyardbrewers.com/cgi-bin" );

                (* addWordPress "/melissa" *)
        end

with
        emailAlias "rob" "rob at hcoop.net";
        defaultAlias "rob at hcoop.net";
end;




Here is the output of `domtool-admin describe`:

rob at mire:~/.logs/apache/mire$ domtool-admin describe backyardbrewers.com  
         ==============================================================
Node deleuze
==============================================================

--------------------------------------------------------------
DNS SOA:
--------------------------------------------------------------

master
172800
ns1.hcoop.net

86400
1800
1209600
3600

--------------------------------------------------------------
named.conf addition:
--------------------------------------------------------------


zone "backyardbrewers.com" {
        type master;
        file "/etc/bind/zones/backyardbrewers.com.zone";
        allow-transfer {
                69.90.123.68;
                89.16.166.179;
        };
};

--------------------------------------------------------------
DNS zonefile contents:
--------------------------------------------------------------

backyardbrewers.com.    172800  IN      NS      ns1.hcoop.net.
backyardbrewers.com.    172800  IN      NS      ns2.hcoop.net.
backyardbrewers.com.    172800  IN      A       69.90.123.68
backyardbrewers.com.    172800  IN      MX      1       mail.hcoop.net.
www.backyardbrewers.com.        172800  IN      A       69.90.123.68

--------------------------------------------------------------
E-mail aliases:
--------------------------------------------------------------

rob at backyardbrewers.com: rob at hcoop.net

--------------------------------------------------------------
Default e-mail alias:
--------------------------------------------------------------

*@backyardbrewers.com: rob at hcoop.net

--------------------------------------------------------------
E-mail handling is on.
--------------------------------------------------------------


==============================================================
Node mire
==============================================================

--------------------------------------------------------------
DNS SOA:
--------------------------------------------------------------

slave
172800
ns1.hcoop.net

86400
1800
1209600
3600

--------------------------------------------------------------
named.conf addition:
--------------------------------------------------------------


zone "backyardbrewers.com" {
        type slave;
        file "/etc/bind/zones/backyardbrewers.com.zone";
        masters { 69.90.123.67; };
// Updated: 1234998151.894
};

--------------------------------------------------------------
Web vhost www.backyardbrewers.com:
--------------------------------------------------------------

# Owner: rob
<VirtualHost 69.90.123.68:80>
        ErrorLog
/var/log/apache2/user/r/ro/rob/apache/log/mire/www.backyardbrewers.com/error.log
        CustomLog
/var/log/apache2/user/r/ro/rob/apache/log/mire/www.backyardbrewers.com/access.log
combined
        ServerName www.backyardbrewers.com
        SuexecUserGroup rob nogroup
        suPHP_UserGroup rob nogroup
        WaklogEnabled on
        WaklogLocationPrincipal rob/daemon at HCOOP.NET
/etc/keytabs/user.daemon/rob
        DAVLockDB /var/lock/apache2/dav/rob/DAVLock
        DocumentRoot
/afs/hcoop.net/user/r/ro/rob/web/backyardbrewers.com/htdocs
        ServerAdmin rob at hcoop.net
        ServerAlias backyardbrewers.com
        AddDefaultCharset utf-8
        ScriptAlias     /cgi-bin/
/afs/hcoop.net/user/r/ro/rob/web/backyardbrewers.com/cgi-bin
</VirtualHost>

--------------------------------------------------------------
Webalizer config for www.backyardbrewers.com:
--------------------------------------------------------------

LogFile
/afs/hcoop.net/user/r/ro/rob/.logs/apache/mire/www.backyardbrewers.com/access.log
OutputDir      
/afs/hcoop.net/common/etc/domtool/webalizer/output/mire/www.backyardbrewers.com
HostName        www.backyardbrewers.com
HideSite        www.backyardbrewers.com
HideReferrer    www.backyardbrewers.com
HideSite        backyardbrewers.com
HideReferrer    backyardbrewers.com

==============================================================
Node outpost
==============================================================

--------------------------------------------------------------
DNS SOA:
--------------------------------------------------------------

slave
172800
ns1.hcoop.net

86400
1800
1209600
3600

--------------------------------------------------------------
named.conf addition:
--------------------------------------------------------------


zone "backyardbrewers.com" {
        type slave;
        file "/etc/bind/zones/backyardbrewers.com.zone";
        masters { 69.90.123.67; };
// Updated: 1234998151.895
};







More information about the HCoop-Help mailing list