From: kiz_0987 <kiz...@ya...> - 2005-01-19 03:33:23
|
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. Any ideas? Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |