[horde] [addenda] Re: Page not found on ansel and wicked (url rewrite problem)

Ivan Sergio Borgonovo mail at webthatworks.it
Thu Sep 4 15:31:21 UTC 2014


It may be a problem about how debian set other apache conf files
(Alias /horde /usr/share/horde ??) and I'm getting

The requested URL /usr/share/horde/ansel/view.php was not found on this
server.

I'm investigating.

Meanwhile here are the logs I gathered to shed some light on what's
happening if someone is more accustomed to apache and url rewrite
configuration and can guess what's wrong faster than me.

thanks


On 09/03/2014 12:43 PM, Ivan Sergio Borgonovo wrote:
> Hi,
> 
> The rest of horde is working fine and I nearly installed all the
> components but I get 404 on most of wicked pages and all of ansel pages.
> 
> No page of ansel are reacheable including /horde/ansel/all/.
> I can see the home of wicked /horde/wicked/ but all links except
> "Permissions" takes me to a 404.
> 
> This is a problem with url rewrite since as soon as I turn it off in
> horde conf.php I can access wicked and ansel pages.
> 
> mod_rewrite is enabled and working (tested separately from horde).
> 
> I've tried to add
> AcceptPathInfo On
> AllowEncodedSlashes On
> 
> in <VirtualHost> and in apache2.conf (and nearly every place I could
> think of)
> 
> as noted on the documentation without any improvement (still 404 on
> ansel and wicked)
> http://www.horde.org/apps/wicked/docs/INSTALL
> 
> It's really hard to say if url rewrite works at all in horde since very
> few modules use it.
> 
> whups, turba, trean, nag, mnemo, kronolith, ingo, imp, gollem don't use it.
> 
> rpc use it but I didn't check how to test it.
> 
> horde main page should use it but I can't see any "nice" url.
> 
> The only components that really seems to use it don't work.
> 
> thanks
> 


-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it

-------------- next part --------------
[perdir /usr/share/horde/ansel/] add path info postfix: /usr/share/horde/ansel/all -> /usr/share/horde/ansel/all/, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] strip per-dir prefix: /usr/share/horde/ansel/all/ -> all/, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] applying pattern '^user/?$' to uri 'all/', referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] add path info postfix: /usr/share/horde/ansel/all -> /usr/share/horde/ansel/all/, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] strip per-dir prefix: /usr/share/horde/ansel/all/ -> all/, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] applying pattern '^category/?$' to uri 'all/', referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] add path info postfix: /usr/share/horde/ansel/all -> /usr/share/horde/ansel/all/, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] strip per-dir prefix: /usr/share/horde/ansel/all/ -> all/, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] applying pattern '^all/?$' to uri 'all/', referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] rewrite 'all/' -> 'view.php?view=List&groupby=none', referer: http://MYHOST/horde/wicked/
split uri=view.php?view=List&groupby=none -> uri=view.php, args=view=List&groupby=none, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] add per-dir prefix: view.php -> /usr/share/horde/ansel/view.php, referer: http://MYHOST/horde/wicked/
[perdir /usr/share/horde/ansel/] internal redirect with /usr/share/horde/ansel/view.php [INTERNAL REDIRECT], referer: http://MYHOST/horde/wicked/

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule   ^user/?$ group.php?groupby=owner [QSA,L]
    RewriteRule   ^category/?$ group.php?groupby=category [QSA,L]
    RewriteRule   ^all/?$ view.php?view=List&groupby=none [QSA,L]
    RewriteRule   ^user/([@a-zA-Z0-9%_+.!*',()~-]*)/rss/?$ rss.php?stream_type=user&id=$1 [L]
    RewriteRule   ^user/([@a-zA-Z0-9%_+.!*',()~-]*)/?$ view.php?view=List&groupby=owner&owner=$1 [QSA,L]
    RewriteRule   ^gallery/id/([0-9]+)/rss/?$ rss.php?stream_type=gallery&id=$1 [QSA,L]
    RewriteRule   ^gallery/id/([0-9]+)/([0-9]+)/? view.php?view=Image&gallery=$1&image=$2 [QSA,L]
    RewriteRule   ^gallery/id/([0-9]+)/?$ view.php?view=Gallery&gallery=$1 [QSA,L]
    RewriteRule   ^gallery/([a-zA-Z0-9_@]+)/rss/?$ rss.php?stream_type=gallery&slug=$1 [L]
    RewriteRule   ^gallery/([a-zA-Z0-9_@]+)/([0-9]+)/? view.php?view=Image&slug=$1&image=$2 [QSA,L]
    RewriteRule   ^gallery/([a-zA-Z0-9_@]+)/?$ view.php?view=Gallery&slug=$1 [QSA,L]
    RewriteRule   ^category/([@a-zA-Z0-9%_+.!*',()~-]*)/?$ view.php?view=List&groupby=category&category=$1 [QS
A,L]
    RewriteRule   ^tag/?$ view.php?view=Results [QSA,L]
    RewriteRule   ^tag/([a-zA-Z0-9%_+.!*',()~-]*)/rss/?$ rss.php?stream_type=tag&id=$1 [QSA,L]
    RewriteRule   ^tag/([a-zA-Z0-9%_+.!*',()~-]*)/?$ view.php?view=Results&tag=$1 [QSA,L]
</IfModule>


More information about the horde mailing list