Am 05.08.2009 um 14:44 schrieb Joachim Seibert:

Hi laconica-Devels,

can anyone explain me, why the field user.uri is filled with a complete uri including the hostname?

For example:

mysql> select id, nickname, uri from user where nickname like 'jseibert';
+----+----------+-----------------------------------------------+
| id | nickname | uri                                           |
+----+----------+-----------------------------------------------+
|  2 | jseibert | http://laconicavm.rp.seibert-media.net/user/2 |
+----+----------+-----------------------------------------------+

This has the effect, that all uris have to be updated manually when changing the systems hostname. Can I change this to an absolute uri without hostname: "/user/2"? Is there any code, where the systems hostname has to be added dynamically then?

Ok. At a second glance I found out that nearly all tables have URIs with the full hostname, like profile, avatar, notice, ... Although I find it interesting, why this is done, I suppose changing this will be too time-consuming and dangerous.

So: Forget about it! I will change that directly in the database and hope, the hostname won't change one more time...

Cheers
Jseibert



_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to