<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>SlugName</title> 
  <pubDate>Fri, 10 Apr 2026 16:31:09 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/13579</link> 
  <atom:link rel="self" type="application/rss+xml" title="SlugName" href="https://bugs.horde.org/ticket/13579/rss" /> 
  <description>SlugName</description> 
 
   
   
  <item> 
   <title>Ansel is configured to work with a files on the local system</title> 
   <description>Ansel is configured to work with a files on the local system and with VFS direct source that seems to be working correctly in horde. I can also access file directly by typing the url of it.

I configured a slug named &quot;test&quot; and when I access

http://mail.spagi.net/ansel/gallery/test ( with or without the trailing / I tried both ) I get a 404 not found.

Apache log confirm the 404

192.168.0.1 - - [17/Sep/2014:21:36:52 -0400] &quot;GET /ansel/gallery/walkingtherockies/ HTTP/1.1&quot; 404 525 &quot;-&quot; &quot;Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0&quot;

Horde is installed in /horde/ on Ubuntu and apache 2.4 configuration is straight forward as follow : 

&lt;VirtualHost *:80&gt;
        ServerAdmin /*SNIP*/
        DocumentRoot /horde/
        &lt;Directory /horde&gt;
            Require all granted
        &lt;/Directory&gt;
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
&lt;/VirtualHost&gt;

Something I&#039;m missing or slug really don&#039;t work ?
</description> 
   <pubDate>Thu, 18 Sep 2014 01:43:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13579#t85808</link> 
  </item> 
   
  <item> 
   <title>Sounds like you didn&#039;t turn on &quot;pretty&quot; urls in the Horde co</title> 
   <description>Sounds like you didn&#039;t turn on &quot;pretty&quot; urls in the Horde config.</description> 
   <pubDate>Thu, 18 Sep 2014 03:44:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13579#t85809</link> 
  </item> 
   
  <item> 
   <title>&gt; Sounds like you didn&#039;t turn on &quot;pretty&quot; urls in the Horde </title> 
   <description>&gt; Sounds like you didn&#039;t turn on &quot;pretty&quot; urls in the Horde config.

You were right. I had to turn on rewrite module as well. Didn&#039;t though about that one.

Continuing on the slugs, I&#039;ve setup general permission in Horde for guest to show and read ( only way possible I found for a guest to see the gallery was to add this general permission in Horde, is that right ? ), I&#039;ve also set-up preference in Ansel as only authenticated user could download original picture. In the Gallery preference are only at show and read for guest.

While viewing the gallery thru the slug as a guest, I get the link on top of the picture to download the original picture. ( btw you can try with the link it&#039;s working now )

I&#039;ve also tried that with the setting at &quot;Users with edit permission&quot; and the download link is still available
</description> 
   <pubDate>Thu, 18 Sep 2014 12:32:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13579#t85812</link> 
  </item> 
   
  <item> 
   <title>&gt; Continuing on the slugs, I&#039;ve setup general permission in </title> 
   <description>&gt; Continuing on the slugs, I&#039;ve setup general permission in Horde for 
&gt; guest to show and read ( only way possible I found for a guest to see 
&gt; the gallery was to add this general permission in Horde, is that 
&gt; right ? )

You need to add it to the &#039;Ansel&#039; application, yes.

&gt; While viewing the gallery thru the slug as a guest, I get the link on 
&gt; top of the picture to download the original picture. ( btw you can 
&gt; try with the link it&#039;s working now )

I cannot reproduce this, though I see it on your link. You will have to track this down yourself. Look in Ansel_Gallery:canDownload() to see which case is returning true.</description> 
   <pubDate>Thu, 18 Sep 2014 13:34:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13579#t85813</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Continuing on the slugs, I&#039;ve setup general permission in</title> 
   <description>&gt;&gt; Continuing on the slugs, I&#039;ve setup general permission in Horde for
&gt;&gt; guest to show and read ( only way possible I found for a guest to see
&gt;&gt; the gallery was to add this general permission in Horde, is that
&gt;&gt; right ? )
&gt;
&gt; You need to add it to the &#039;Ansel&#039; application, yes.
&gt;
&gt;&gt; While viewing the gallery thru the slug as a guest, I get the link on
&gt;&gt; top of the picture to download the original picture. ( btw you can
&gt;&gt; try with the link it&#039;s working now )
&gt;
&gt; I cannot reproduce this, though I see it on your link. You will have 
&gt; to track this down yourself. Look in Ansel_Gallery:canDownload() to 
&gt; see which case is returning true.

Thanks for narrowing it down so tightly ! Very easy to track it, I got it to echo each case in the switch and the case &#039;all&#039; got the hands up !

When I saw this, I got it. There is two sets of permissions for download, one in the property of the gallery and one in the preferences of the users. The preference of the users supersede the property of the gallery. Later this week I&#039;ll try to put a &quot;if&quot; to grey out the property setting if the user preference is at &quot;anyone&quot; since this gallery setting become useless in this case since it&#039;s superseded and while greying it out i&#039;ll try to put a explication why it&#039;s greyed out on it&#039;s side.

Still on the Slug subject, while viewing a picture as a guest, I get after a while a session expired !? What session, I&#039;m a guest not logged in ?! The Horde session settings are all defaults and the only timer for expiration is a 72000 sec, which is a lot longer than what I&#039;m seeing here for guest expiration.</description> 
   <pubDate>Thu, 18 Sep 2014 15:02:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13579#t85814</link> 
  </item> 
   
  <item> 
   <title>
&gt; When I saw this, I got it. There is two sets of permissi</title> 
   <description>
&gt; When I saw this, I got it. There is two sets of permissions for 
&gt; download, one in the property of the gallery and one in the 
&gt; preferences of the users. The preference of the users supersede the 
&gt; property of the gallery.

This sounds like a bug. I think the per-gallery should supersede the user pref. The user-pref should really only be used to provide a default for this value. Can you please create a new bug report for this piece?

&gt; Still on the Slug subject, while viewing a picture as a guest, I get 
&gt; after a while a session expired !? What session, I&#039;m a guest not 
&gt; logged in ?! The Horde session settings are all defaults and the only 
&gt; timer for expiration is a 72000 sec, which is a lot longer than what 
&gt; I&#039;m seeing here for guest expiration.

Not sure. Either way, this would be a non-ansel issue, so please create a separate ticket in the base horde queue.

Thanks.
</description> 
   <pubDate>Thu, 18 Sep 2014 15:12:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13579#t85815</link> 
  </item> 
   
  <item> 
   <title>Original report for this ticket is dealt with, closing as no</title> 
   <description>Original report for this ticket is dealt with, closing as not a bug.</description> 
   <pubDate>Thu, 18 Sep 2014 15:13:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13579#t85816</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
