Actually, go further and just make globe.gif and hcoop.css into relative links
authorbigmike160 <bigmike160>
Wed, 5 Dec 2007 01:52:23 +0000 (01:52 +0000)
committerbigmike160 <bigmike160>
Wed, 5 Dec 2007 01:52:23 +0000 (01:52 +0000)
All of our stuff has the same DocumentRoot, so we can get away with this.
And even if it didn't, it just takes two aliases to remedy that.

app/header.mlt
vmailpasswd/passwd.mlt

index 4539873..b95bc8b 100644 (file)
@@ -3,14 +3,14 @@
                  "" => "HCoop"
                | t => ("HCoop: " ^ t) %>
 <html><head>
-<link rel="stylesheet" type="text/css" href="https://join.hcoop.net/hcoop.css" />
+<link rel="stylesheet" type="text/css" href="/hcoop.css" />
 <title><% Web.html title %></title>
 </head><body>
 
 <div class="main">
 
 <div class="title">
-<img class="globe" src="https://join.hcoop.net/globe.gif" />
+<img class="globe" src="/globe.gif" />
 <h1><% Web.html title %></h1>
 </div>
 
index eb10dab..3fa36f3 100644 (file)
@@ -1,12 +1,12 @@
 <html><head>
-<link rel="stylesheet" type="text/css" href="http://hcoop.net/hcoop.css" />
+<link rel="stylesheet" type="text/css" href="/hcoop.css" />
 <title>HCoop: Change virtual mailbox password</title>
 </head><body>
 
 <div class="main">
 
 <div class="title">
-<img class="globe" src="http://hcoop.net/globe.gif" />
+<img class="globe" src="/globe.gif" />
 <h1>HCoop: Change virtual mailbox password</h1>
 </div>