diff --git a/web/root/ecwebv3/ftelnet/ftelnet.xjs b/web/root/ecwebv3/ftelnet/ftelnet.xjs
index b0aadaaa3be0c10d638caff1e8d62e8b183954df..393097e386ff795b1d32aabdbab9da89049f9c9e 100644
--- a/web/root/ecwebv3/ftelnet/ftelnet.xjs
+++ b/web/root/ecwebv3/ftelnet/ftelnet.xjs
@@ -44,7 +44,7 @@ var ClientVars = {
 	CodePage : "437",
 	ConnectButtonX : 0,
 	ConnectButtonY : 0,
-	ConnectAnsi : "http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/ftelnet/ftelnet-resources/connectansi.txt",
+	ConnectAnsi : "http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/<?xjs write(webIni.appendURL); ?>/ftelnet/ftelnet-resources/connectansi.txt",
 	Enter : "\r",
 	FontWidth : 9,
 	FontHeight : 16,
diff --git a/web/root/ecwebv3/lightirc/lightirc.xjs b/web/root/ecwebv3/lightirc/lightirc.xjs
index 9f4ae43d017b3525f39a78a38678dcad65648a0b..e6d9041b375a67a33cb47ee17c15938bd45309ae 100644
--- a/web/root/ecwebv3/lightirc/lightirc.xjs
+++ b/web/root/ecwebv3/lightirc/lightirc.xjs
@@ -16,7 +16,7 @@
 <html>
 
 <head>
-<script type="text/javascript" src="http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/lightirc/swfobject.js"></script>
+<script type="text/javascript" src="http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/swfobject.js"></script>
 <link rel="stylesheet" type="text/css" href="../style/style.css" />
 </head>
 
@@ -36,7 +36,7 @@ var params = {
 	quitmsg : '<?xjs write(system.name); ?>'
 };
 if(<?xjs write(embed); ?>)
-	swfobject.embedSWF('http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/lightirc/lightIRC.swf', 'lightIRC', '730', '420', '9.0.0', null, params, null);
+	swfobject.embedSWF('http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/lightIRC.swf', 'lightIRC', '730', '420', '9.0.0', null, params, null);
 else
 	document.getElementById('lightIRC').innerHTML = 'Socket policy server not enabled.  LightIRC not loaded.';
 </script>