Close to giving up.

Started by jamesdorn, August 28, 2006, 09:50:24 PM

Previous topic - Next topic

jamesdorn

Server: Trustix Secure Linux w/ Patched mod_dav
Client: OS X 10.4.7

1) The .Mac pref pane does not function. "There's a problem connecting to the required iDisk server. Please try again later."

For some strange reason (no matter if I am using the defualt script, or the script that actually finds disk space) it still shows Currently Used: 107MB / Capacity: 118MB But there is no blue/green bar for disk useage.

2) iDisk Sync mounts without issue, but syncing the folder goes to the endless loop of "Checking items".

If I stop the apache server, the idisk goes into "Offiline" mode, so clearly they are seeing each other.

I have https running for www.mac.com and idisk.mac.com. I have normal http access for configuration.apple.com

The webserver certificates are in the keychain, and keychains says they are "Trusted".

www.mac.com/WebObjects/Info.woa/wa/Query/retrieveDiskConfiguration outputs:
{
    payload = {
        guestReadEnabled = Y;
        guestWriteEnabled = N;
        hasGeneralPassword = N;
        iDiskQuotaInBytes = 77537316864;
        iDiskUsedBytes = 33457139712;
        relativePath = Public;
    };
    statusCode = success;
}

https://www.mac.com/WebObjects/Info.woa/wa/Query/accountInfo outputs:

{
payload = {
iToolsBackupActivated = Y; trialAccountDaysLeft = -1;
};
statusCode = success;
}


/etc/httpd/conf.d/idisk.mac.com.conf:
------------------
<VirtualHost *:80>
        ServerName idisk.mac.com
        ServerAlias idisk.mac.com
        DocumentRoot "/data/idisk"
        ErrorLog /home/httpd/logs/idisk.mac.com.txt
</VirtualHost>

<IfDefine SSL>
        <VirtualHost 192.168.1.113:443>
                ServerName idisk.mac.com
                ServerAlias idisk.mac.com
                DocumentRoot "/data/idisk"
                ErrorLog /home/httpd/logs/idisk.mac.com.txt
                SSLEngine on
                SSLCertificateFile /etc/httpd/conf/certs/idisk.mac.com.crt
                SSLCertificateKeyFile /etc/httpd/conf/certs/idisk.mac.com.key
        </VirtualHost>
</IfDefine>

<Directory "/data/idisk">
        Dav on
        AuthType Digest
        AuthName iTools
        AuthDigestDomain "/"
        AuthDigestFile /data/idisk/WebDavUsers
        Options None
        AllowOverride None

        <LimitExcept GET OPTIONS>
                require user james
        </LimitExcept>
</Directory>

<Directory "/data/idisk/*/Public">
        Options +Indexes
</Directory>

<Directory "/data/idisk/james">
        <LimitExcept GET OPTIONS>
                require user james
        </LimitExcept>
----------------------



/etc/httpd/conf.d/www.mac.com.conf
--------------
<VirtualHost 192.168.1.189:80>
        ServerName www.mac.com
        DocumentRoot "/data/www.mac.com"
        ErrorLog /home/httpd/logs/www.mac.com.txt
</VirtualHost>

<IfDefine SSL>
        <VirtualHost 192.168.1.189:443>
                ServerName www.mac.com
                DocumentRoot "/data/www.mac.com"
                ErrorLog /home/httpd/logs/www.mac.com.txt
                SSLEngine on
                SSLCertificateFile /usr/local/certs/www.mac.com.crt
                SSLCertificateKeyFile /usr/local/certs/www.mac.com.key
        </VirtualHost>
</IfDefine>

<Directory /data/www.mac.com/WebObjects/Info.woa/wa/Query>
        SetHandler cgi-script
        Options +ExecCGI
        Order allow,deny
        Allow from all
</Directory>
------------------

I have vlan configurations with DNS that is working.
if I use https://192.168.1.189 (https://www.mac.com) it directs to /data/www.mac.com/
if I use https://192.168.1.113 (https://idisk.mac.com) it directs to /data/idisk/html/

both work with/without SSL

All my error logs for these virtual host are blank, every one of them.

Apache logs:
access_log

192.168.1.111 - - [28/Aug/2006:22:38:49 -0500] "GET /WebObjects/Info.woa/wa/Query/retrieveDiskConfiguration HTTP/1.1" 200 256
192.168.1.111 - - [28/Aug/2006:22:38:49 -0500] "GET /favicon.ico HTTP/1.1" 404 418
192.168.1.111 - - [28/Aug/2006:22:39:16 -0500] "GET /WebObjects/Info.woa/wa/Query/accountInfo HTTP/1.1" 200 95
192.168.1.111 - - [28/Aug/2006:22:39:16 -0500] "GET /favicon.ico HTTP/1.1" 404 418

error_log

[Mon Aug 28 22:30:45 2006] [error] [client 192.168.1.111] File does not exist: /data/idisk/html/configurations/internetservices/idiskconfiguration
[Mon Aug 28 22:30:45 2006] [error] [client 192.168.1.111] File does not exist: /data/idisk/html/InterMapper.html

ssl_request_log

[26/Aug/2006:18:45:21 -0400] 192.168.1.111 TLSv1 DHE-RSA-AES256-SHA "GET / HTTP/1.1" 64


Anyone have any ideas? This is becoming truly frustrating.