[typo] How to I set Typo's Blog URL to be relative?
alxx at indigenious.ro
Thu May 24 02:59:52 EDT 2007
A workaround -- which works if your public IP also has a hostname --
is to use that hostname instead of the public IP, when not from home;
then, in your /etc/hosts file (or wherever Windows keeps the
equivalent file these days) you add an entry like this:
What this does is: it overwrites your machine's default use of DNS
when looking up that particular hostname, and instead always goes to
localhost for it.
And then you configure the blog absolute URL:
If you don't have a hostname and don't want to buy an entire domain
for your public IP, ask someone to lend you a subdomain. That's free
and easy. But normally your ISP should assign you a hostname too,
with that public IP.
On May 24, 2007, at 5:51 AM, Eamon Ford wrote:
> Hi all,
> I'm running Typo 4.1.1 on my own server, but because of my modem
> (Actiontec is really bad), I have to access my blog using the private
> IP address of the server if I'm behind the modem, and my public IP
> address from anywhere else. Normally this wouldn't be so much of a
> problem, except for this fact: when I set the "Blog URL" on the Typo
> admin page to be the private IP, nobody who isn't behind my modem can
> access the links. But if I set it to be my external IP, I can't
> access the links from behind my modem.
> So my question is, can I set the Blog URL to a relative url, and if
> so, how?
> Thanks in advance.
> Typo-list mailing list
> Typo-list at rubyforge.org
More information about the Typo-list