[horde] Changing URLs for everything...

Ashley M. Kirchner ashley at pcraft.com
Thu Sep 6 20:13:45 UTC 2007


    Now that I have a working setup...I want to change the URLs.  
Currently I have installed:

    Horde/IMP/Mnemo/Nag/Turba/Kronolith/Gollem - all of which are 
reachable by hitting /horde/[application]/

    Horde is configured to use IMP as its authentication engine so when 
you hit http:/server/horde or http://server/horde/[application] it will 
redirect you to http://server/horde/imp as it should.

    Reading the Administrator's FAQ, it says to remove /horde/ from the 
URL, one needs to add the following two lines to their httpd.conf:

        |Alias /horde/ /usr/local/apache/htdocs/horde/
        DocumentRoot /usr/local/apache/htdocs/horde|

    * appropriate paths modified of course

    And set the cookie path in horde/config/conf.php to just '/' instead 
of '/horde'.  Great, I did that.  Restarted the server, got rid of any 
cookies I had in my browser and tried to hit http://server/ and got a 
message that the application wasn't redirecting properly.  The URL line 
became:

    http://server/login.php/imp/login.php/imp/login.php/imp/login.php 
... etc., etc.

    When I tried hitting http://server/imp I got the login screen, 
however none of the CSS was loaded.  The source of that page showed why:

<script type="text/javascript" src="/imp//js/horde.js"></script>
<script type="text/javascript" src="/imp//js/enter_key_trap.js"></script>
<title>Mail :: Welcome to Horde</title>
<link href="/imp//imp/themes/graphics/favicon.ico" rel="SHORTCUT ICON" />
<link href="/imp//imp/mailbox.php?mailbox=INBOX" rel="Top" />
<link href="/imp//imp/search.php" rel="search" />
<link href="/imp//themes/screen.css" rel="stylesheet" type="text/css" />
<link href="/imp//themes/bluewhite/screen.css" rel="stylesheet" 
type="text/css" />
<link href="/imp//imp/themes/screen.css" rel="stylesheet" type="text/css" />
<link href="/imp//imp/themes/bluewhite/screen.css" rel="stylesheet" 
type="text/css" />


    So, before I continue on really breaking things, have I forgotten 
something here?

-- 
W | It's not a bug - it's an undocumented feature.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / Websmith             .     800.441.3873 x130
  Photo Craft Imaging                       .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A. 



More information about the horde mailing list