You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2006/12/05 16:38:20 UTC

BXE Problem

Hi

With the most recent version of Lenya trunk I always receive an error 
when trying to edit with BXE
(bxe_path not found).

Also I always receive a HTTP BASIC authentication dialog.

Any idea what might be wrong?

Thanks

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: BXE Problem

Posted by Jonathan Addison <jo...@wyona.com>.
Hi Michael, Doug,

Doug Chestnut wrote:
> Must be something wrong with the webDAV basic auth getting in the way 
> (at least the HTTP BASIC dialog).

I was also having this problem with a custom pub.  Then I checked my 
ac/policies directory and I was missing the webdav directory.  After 
resyncing those files from the default pub (and clearing the cache) 
everything worked again.

HTH

Jonathan

>
> I don't get the dialog, and can open and edit at first.  Second 
> attempt doesn't fully load content into bxe.  Clear cache, and it 
> works for me the first time again.  Strange :(.
>
> Try disabling the webdav authentication in 
> src/webapp/lenya/config/sitemap/pipelines.xmap (and build) or
> build/lenya/webapp/sitemap.xmap
>
> comment out (really needs to be moved to the webdav module anyway):
>       <map:match pattern="*/webdav**">
>         <map:act type="authorizer">
>             <map:mount check-reload="true" reload-method="synchron" 
> src="global-sitemap.xmap" uri-prefix=""/>
>         </map:act>
>         <map:act type="authenticator">
>           <map:act type="authorizer">
>             <map:mount uri-prefix="" src="global-sitemap.xmap" 
> check-reload="true" reload-method="synchron"/>
>           </map:act>
>           <map:act type="set-header">
>             <map:parameter name="WWW-Authenticate" value="Basic 
> Realm=lenya" />
>             <map:generate src="context://lenya/content/util/empty.xml" />
>             <map:transform 
> src="fallback://lenya/xslt/exception/forbidden.xsl">
>               <map:parameter name="documentid" 
> value="{page-envelope:document-id}"/>
>               <map:parameter name="documenturl" 
> value="{page-envelope:document-url}"/>
>               <map:parameter name="area" value="{page-envelope:area}"/>
>             </map:transform>
>             <map:serialize type="xhtml" status-code="401"/>
>           </map:act>
>         </map:act>
>         <map:act type="set-header">
>           <map:parameter name="WWW-Authenticate" value="Basic 
> Realm=lenya" />
>           <map:generate src="context://lenya/content/util/empty.xml" />
>           <map:transform 
> src="fallback://lenya/xslt/exception/forbidden.xsl">
>               <map:parameter name="documentid" 
> value="{page-envelope:document-id}"/>
>               <map:parameter name="documenturl" 
> value="{page-envelope:document-url}"/>
>               <map:parameter name="area" value="{page-envelope:area}"/>
>           </map:transform>
>           <map:serialize type="xhtml" status-code="401"/>
>         </map:act>
>       </map:match>
>
> --Doug
>
> Michael Wechner wrote:
>> Hi
>>
>> With the most recent version of Lenya trunk I always receive an error 
>> when trying to edit with BXE
>> (bxe_path not found).
>>
>> Also I always receive a HTTP BASIC authentication dialog.
>>
>> Any idea what might be wrong?
>>
>> Thanks
>>
>> Michi
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Jonathan Addison                                 jon<at>wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: BXE Problem

Posted by Doug Chestnut <dh...@virginia.edu>.
Must be something wrong with the webDAV basic auth getting in the way 
(at least the HTTP BASIC dialog).

I don't get the dialog, and can open and edit at first.  Second attempt 
doesn't fully load content into bxe.  Clear cache, and it works for me 
the first time again.  Strange :(.

Try disabling the webdav authentication in 
src/webapp/lenya/config/sitemap/pipelines.xmap (and build) or
build/lenya/webapp/sitemap.xmap

comment out (really needs to be moved to the webdav module anyway):
       <map:match pattern="*/webdav**">
         <map:act type="authorizer">
             <map:mount check-reload="true" reload-method="synchron" 
src="global-sitemap.xmap" uri-prefix=""/>
         </map:act>
         <map:act type="authenticator">
           <map:act type="authorizer">
             <map:mount uri-prefix="" src="global-sitemap.xmap" 
check-reload="true" reload-method="synchron"/>
           </map:act>
           <map:act type="set-header">
             <map:parameter name="WWW-Authenticate" value="Basic 
Realm=lenya" />
             <map:generate src="context://lenya/content/util/empty.xml" />
             <map:transform 
src="fallback://lenya/xslt/exception/forbidden.xsl">
               <map:parameter name="documentid" 
value="{page-envelope:document-id}"/>
               <map:parameter name="documenturl" 
value="{page-envelope:document-url}"/>
               <map:parameter name="area" value="{page-envelope:area}"/>
             </map:transform>
             <map:serialize type="xhtml" status-code="401"/>
           </map:act>
         </map:act>
         <map:act type="set-header">
           <map:parameter name="WWW-Authenticate" value="Basic 
Realm=lenya" />
           <map:generate src="context://lenya/content/util/empty.xml" />
           <map:transform 
src="fallback://lenya/xslt/exception/forbidden.xsl">
               <map:parameter name="documentid" 
value="{page-envelope:document-id}"/>
               <map:parameter name="documenturl" 
value="{page-envelope:document-url}"/>
               <map:parameter name="area" value="{page-envelope:area}"/>
           </map:transform>
           <map:serialize type="xhtml" status-code="401"/>
         </map:act>
       </map:match>

--Doug

Michael Wechner wrote:
> Hi
> 
> With the most recent version of Lenya trunk I always receive an error 
> when trying to edit with BXE
> (bxe_path not found).
> 
> Also I always receive a HTTP BASIC authentication dialog.
> 
> Any idea what might be wrong?
> 
> Thanks
> 
> Michi
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org