Hello, I am testing the new HTTP method match rule. For a mercurial repository webserver.
Has I say, The repository has public access for the http method GET, and has to ask for a valid user when someone tries to POST to the server. I guess I am missing something, Trying to setup the virtual host I can get it work, here it is the conf for the vserver: [EMAIL PROTECTED]:~$ cat /etc/cherokee/cherokee.conf | grep vserver\!20 vserver!20!document_root = /home/mariocesar/public_html/hg vserver!20!domain!1 = hg vserver!20!keepalive = 1 vserver!20!logger = combined vserver!20!logger!access!filename = /tmp/cherokee.hg.access vserver!20!logger!access!type = file vserver!20!logger!error!filename = /tmp/cherokee.hg.error vserver!20!logger!error!type = file vserver!20!nick = hg vserver!20!rule!300!auth = authlist vserver!20!rule!300!auth!list!1!password = hola vserver!20!rule!300!auth!list!1!user = mariocesar vserver!20!rule!300!auth!methods = basic vserver!20!rule!300!auth!realm = Repositorio Mercurial vserver!20!rule!300!encoder!deflate = 0 vserver!20!rule!300!encoder!gzip = 0 vserver!20!rule!300!match = method vserver!20!rule!300!match!method = post vserver!20!rule!300!only_secure = 0 vserver!20!rule!200!encoder!deflate = 0 vserver!20!rule!200!encoder!gzip = 0 vserver!20!rule!200!handler = cgi vserver!20!rule!200!handler!check_file = 1 vserver!20!rule!200!handler!error_handler = 0 vserver!20!rule!200!handler!pass_req_headers = 0 vserver!20!rule!200!handler!script_alias = /home/mariocesar/public_html/hg/hgwebdir.cgi vserver!20!rule!200!handler!xsendfile = 0 vserver!20!rule!200!match = directory vserver!20!rule!200!match!directory = / vserver!20!rule!200!match!final = 1 vserver!20!rule!200!only_secure = 0 vserver!20!rule!100!handler = common vserver!20!rule!100!match = default vserver!20!rule!100!match!final = 1 Using the rule 300, I get "405 Method Not Allowed" on all the site... I am confused, I think setting the rule would ask me the password. Like I say, I maybe missing something. Any clue? --- Mario César Señoranis Ayala. _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
