Right, and siteuser works fine for the portal. So I guess my question is, how would I display images in the repository (for example, /binaries/documents/home/testimage.jpg). I was able to access it through http://<server>:50000/assetspreview/binaries/documents/home/testimage.jpg and http://<server>:50000/binaries/documents/home/testimage.jpg, if, and only if, I'm logged into the CMS. I am also able to access it directly through port 60000, which has basic http authentication, and works fine with siteuser.
I tried setting up a ProxyPass rule in apache, but it doesn't seem to work with http://siteuser:<password>@<server>:60000/default/files/default.preview/binaries/<etc>, where it still prompts for the username and password. (I tried the http://siteuser:[EMAIL PROTECTED]:60000/default/<etc> directly in a new web browser (no authentication) and it works fine that way) These are the rules I have so far: # Binaries rules ProxyPass /binaries/ http://siteuser :<password>@localhost:60000/default/files/default.preview/binaries/ ProxyPassReverse /binaries/ http://siteuser :<password>@localhost:60000/default/files/default.preview/binaries/ # Portal application ProxyPass / http://localhost:8080/ourportal/portal/ ProxyPassReverse / http://localhost:8080/ourportal/portal/ As I said, I'm seeing no support for hard coding the user/pass into the URLs in the proxy rules. Am I on the right track going the route of proxy/rewriting, or is there an easier way? Thanks Shawn On Tue, Oct 7, 2008 at 8:48 PM, Bartosz Oudekerk <[EMAIL PROTECTED]>wrote: > S Kindrat wrote: > >> Is there any way to make the binaries public? Or have I missed something >> with regards to anonymous users? I have to admit, I have not seen >> anything >> about setting up an anonymous user at all with this software, so it could >> be >> I've missed something. >> >> Using Hippo CMS 6.05.04, I have looked through all the permissions as the >> root user, and have seen nothing about anonyomous or unauthenticated. >> > > There is no anonymous user as such, but there's a default user called > siteuser (with passwd siteuser), which has read-only rights on the > repository. That's the user you should use for your site/portal. > > Regards, > Bartosz > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
