[horde] Pretty URLs

Aleksey Chudov aleksey at bb.lv
Fri Nov 21 19:08:48 UTC 2008


>> Hello!
>>
>> I try to configure pretty URLs in Horde, but can't find any useful 
>> information.
>> I specify $conf['urls']['pretty'] = 'rewrite'; in configuration file 
>> but nothing changes.
>>
>> How to configure pretty URLs in Horde?
>
> First of all, you should be aware that these are not supported in 
> every application - what application are you expected to see them 
> in?Second, I am assuming that you are using Apache and that you have 
> mod_rewrite enabled. If your not using Apache you need to make sure 
> that your webserver's rewrite engine is active and that it has 
> appropriate rules defined.  There are example rewrite rules for 
> lighttpd in the docs directory of the applications that support this 
> setting.
I have Apache web server with mod_rewrite enabled.
I try to "grep -d recurse 'RewriteRule' ./horde" to find all .htaccess 
files with rewrite rules in horde directory and found only the following 
files:

horde/rpc/.htaccess
horde/kronolith/feed/.htaccess

Is it right?

I have Horde Groupware Webmail Edition and Password applications.
After login I always see the following URL: 
"https://mail.example.com/horde/index.php?url=https%3A%2F%2Fmail.example.com%2Fhorde%2F"
I can manually change URL to "https://mail.example.com/horde/" and it is OK.
Then I click on different applications URL is not changes, no meter how 
"$conf['urls']['pretty']" is configured.
What is the porpose of "$conf['urls']['pretty']" configuration key?

I want that URL automatically changes to 
"https://mail.example.com/horde/" after login.
How to do this?



More information about the horde mailing list