On 2/1/07, Antoine Pérus <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to display an html file stored in the svn repository directly > into the wiki. I have tried the IncludeMacro as hereafter: > [[Include(http://127.0.0.1:8800/Svn/Divers/env/doc/Guides.html)]] > but have an error : > "Error while retrieving file > HTTP Error 401: Authorization Required" > > This url, http://127.0.0.1:8800/Svn/Divers/env/doc/Guides.html, directly in > the browser runs properly. > > Any hints?
Your browser has a credential cache which will automatically be used for additional requests at the same site. Server-side code, however, won't necessarily use the current username and password to reach URLs, because sending them to arbitrary web servers is a security risk. Since apache takes care of authentication, macros probably don't even have access to that information if they wanted it. Use another browser, such as lynx, to try to retrieve that URL and see if authentication is required. Or sniff the exchange with e.g. wireshark (ethereal). > > Regards, > Antoine > -- > __o > _-\<,_ > (*)/ (*) > ``````````````````````````````````````````````````````` > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
