From: Chad <ch...@ch...> - 2005-01-27 19:18:08
|
I wish I knew, but I'm not well versed in HTTP Auth. Sorry. -Chad On Jan 18, 2005, at 7:45 PM, Wesley Miaw wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I never tried the publish stuff. Chad, is it possible that with HTTP > Auth working for the admin section, PUT doesn't work? Maybe you would > know off the top of your head. If not, I can try to investigate more. > > On Jan 18, 2005, at 7:33 PM, kiz_0987 wrote: > >> 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) > > iD8DBQFB7dfLQv4agqRAk2kRAmR1AJ9t13qHL63EzfvhM9Uc/fKbpV4A0ACgqC2N > YmL9PpiLBB239fssGT4OFrc= > =LjKD > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |