From: Wesley M. <we...@we...> - 2005-01-29 19:16:05
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Have you tried checking your error log file? I think you are having a general authentication issue with your server configuration. I was able to enable HTTP authentication and upload a file without any problems. > I have a problem when trying to publish a calendar to > phpicalendar with http authentication. When I remove > my .htaccess file everything works, as soon as I add > it back iCal cannot publish. > > - I have tried both basic and digest auth. > - I have checked the username/password used in iCal. > - I have checked that I can access the page in a > webbrowser if I enter the username passwd. > - Nothing appears in the publish_log.txt file. > > Here is my .htaccess file: > AuthType Basic > AuthName "Restricted Area" > AuthUserFile > "/home2/apineapp/.htpasswds/calendar/passwd" > require valid-user > > I have tried this on the released version of > phpicalendar and the 2.0 beta. My web host is using > Apache 1.3.33 with PHP 4.3.10 (it is with hosting > company so there is nothing I can do with the > httpd.conf files). > > There is nothing in the Apache error log. In the > access log I see: > 69.196.163.140 - - [15/Jan/2005:16:50:40 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 401 2503 "-" "DAVKit/0.1" > 69.196.163.140 - - [15/Jan/2005:16:51:19 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 401 2502 "-" "DAVKit/0.1" > > If I remove the .htaccess file I get: > 69.196.163.140 - - [15/Jan/2005:17:11:47 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 500 2656 "-" "DAVKit/0.1" > 69.196.163.140 - - [15/Jan/2005:17:17:16 -0500] "PUT > /admin/calendar/calendars/publish.ical.php/Home.ics > HTTP/1.1" 200 5 "-" "DAVKit/0.1" > > So it looks to me that iCal is not sending the > username (no user is listed in the access log) and > getting a 401 response or for some other reason it's > not being authenticated. I wondered if my host > company httpd.conf file had stopped PUTs into > directories, but it does work if my .htaccess file is > removed so it can't be that. - -- Wesley Miaw http://www.wesman.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFB++DvQv4agqRAk2kRAhL3AKCqLK72QiBjPiC8oX9PhXUxzZUaEQCfcc8x BA7jDtGm5C4u3PPZ6koOzGk= =Fii5 -----END PGP SIGNATURE----- |