Bug 359718 - All local URLs need to be relative
diff --git a/bundles/org.eclipse.orion.client.core/web/compare/compare.html b/bundles/org.eclipse.orion.client.core/web/compare/compare.html
index e468d96..a71a887 100644
--- a/bundles/org.eclipse.orion.client.core/web/compare/compare.html
+++ b/bundles/org.eclipse.orion.client.core/web/compare/compare.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>Compare</title>    
     	<link rel="stylesheet" type="text/css" href="compare.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+		<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,29 +15,31 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
 		
 		  paths: {
-		    orion: '/orion',
-		    examples: '/examples',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+		    orion: '../orion',
+		    images: '../images',
+		    css: '../css',
+		    examples: '../examples',
+		    text: '../requirejs/text',
+		    i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/css/customsplitter.css b/bundles/org.eclipse.orion.client.core/web/css/customsplitter.css
index bad174a..6eb3d7a 100644
--- a/bundles/org.eclipse.orion.client.core/web/css/customsplitter.css
+++ b/bundles/org.eclipse.orion.client.core/web/css/customsplitter.css
@@ -19,11 +19,11 @@
 .nihilo .dojoxToggleSplitterLeft .dojoxToggleSplitterIconOpen, 
 .nihilo .dojoxToggleSplitterRight .dojoxToggleSplitterIconClosed 
 {
-background:  url(/images/splitterleft.gif) no-repeat 0px 50%;
+background:  url(../images/splitterleft.gif) no-repeat 0px 50%;
 }
 
 .nihilo .dojoxToggleSplitterRight .dojoxToggleSplitterIconOpen, 
 .nihilo .dojoxToggleSplitterLeft .dojoxToggleSplitterIconClosed 
 {
-background:  url(/images/splitterright.gif) no-repeat 0px 50%;
+background:  url(../images/splitterright.gif) no-repeat 0px 50%;
 } 
diff --git a/bundles/org.eclipse.orion.client.core/web/css/ide.css b/bundles/org.eclipse.orion.client.core/web/css/ide.css
index 6fcbc8d..fa79049 100644
--- a/bundles/org.eclipse.orion.client.core/web/css/ide.css
+++ b/bundles/org.eclipse.orion.client.core/web/css/ide.css
@@ -342,7 +342,7 @@
 }
 
 .toolbarTest {
-/*	background: #fff url("/images/titleBarTest.png")  repeat-x top left; */
+/*	background: #fff url("../images/titleBarTest.png")  repeat-x top left; */
 	border:1px solid #bfbfbf;
 	cursor: default;
 	font-size: 0.9em;
@@ -355,7 +355,7 @@
 	cursor: pointer;
 	font-size: 0.9em;
 	font-weight: bold;
-	background: #fff url("/images/titleBar.png") repeat-x top left;
+	background: #fff url("../images/titleBar.png") repeat-x top left;
 	min-width: 600px;
 }
 
@@ -427,15 +427,15 @@
 }
 
 .folderItem {
-	background: url(/images/folder.gif);
+	background: url(../images/folder.gif);
 }
 
 .fileItem {
-	background: url(/images/file.gif);
+	background: url(../images/file.gif);
 }
 
 .newItem {
-	background: url(/images/add.gif);
+	background: url(../images/add.gif);
 }
 
 .treetable {
@@ -472,7 +472,7 @@
 }
 
 .followFile {
-	background: url(/images/silk/page_go.png);
+	background: url(../images/silk/page_go.png);
 }
 
 .contentassist {
diff --git a/bundles/org.eclipse.orion.client.core/web/edit/edit.html b/bundles/org.eclipse.orion.client.core/web/edit/edit.html
index cc125ea..0e4e023 100644
--- a/bundles/org.eclipse.orion.client.core/web/edit/edit.html
+++ b/bundles/org.eclipse.orion.client.core/web/edit/edit.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>Coding</title>
     	<link rel="stylesheet" type="text/css" href="edit.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+		<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,29 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    examples: '/examples',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/edit/readonly.html b/bundles/org.eclipse.orion.client.core/web/edit/readonly.html
index 4617ed6..6f12c20 100644
--- a/bundles/org.eclipse.orion.client.core/web/edit/readonly.html
+++ b/bundles/org.eclipse.orion.client.core/web/edit/readonly.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>View File</title>
     	<link rel="stylesheet" type="text/css" href="readonly.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+		<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,31 +15,31 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    examples: '/examples',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
-		});
 		
 		require(["readonly"]);
 		</script>
diff --git a/bundles/org.eclipse.orion.client.core/web/index.html b/bundles/org.eclipse.orion.client.core/web/index.html
index cb58b9c..3852d46 100644
--- a/bundles/org.eclipse.orion.client.core/web/index.html
+++ b/bundles/org.eclipse.orion.client.core/web/index.html
@@ -3,7 +3,7 @@
 	<head>
 		<title>Welcome to Orion</title>
 		<link rel="stylesheet" type="text/css" href="index.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -12,22 +12,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: 'org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: 'org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
-		    }
+		    },
+		    {
+		      name: 'dojox',
+		      location: 'org.dojotoolkit/dojox',
+		      main: 'lib/main',
+		      lib: '.'
+		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: 'orion',
+			  images: 'images',
+			  css: 'css',
+			  examples: 'examples',
+			  text: 'requirejs/text',
+			  i18n: 'requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/commonjs-unittesting/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/commonjs-unittesting/test.html
index 5f7a32b..ee2aee1 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/commonjs-unittesting/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/commonjs-unittesting/test.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/compare/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/compare/test.html
index 63373a0..5e0bba3 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/compare/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/compare/test.html
@@ -2,30 +2,31 @@
 <html>
 <head>
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
+	
 	  // set the paths to our library packages
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
+	
 	  paths: {
-	    orion: '/orion',
-	    examples: '/examples',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../orion',
+	    text: '../../requirejs/text',
+	    i18n: '../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/test.html
index e9a0a0d..45f2bab 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/test.html
@@ -2,8 +2,7 @@
 <html>
 <head>
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
@@ -12,22 +11,22 @@
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
 	
 	  paths: {
-	    orion: '/orion',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../orion',
+	    text: '../../requirejs/text',
+	    i18n: '../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/xhrPlugin.html b/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/xhrPlugin.html
index 4072946..01fc9e4 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/xhrPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/fileapi/xhrPlugin.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
 	<script>
 		window.onload = function() {
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/pluginRegistry/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/pluginRegistry/test.html
index 688a64d..3773b04 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/pluginRegistry/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/pluginRegistry/test.html
@@ -3,8 +3,7 @@
 <head>
 <!-- standard scripts -->
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
@@ -13,22 +12,22 @@
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
 	
 	  paths: {
-	    orion: '/orion',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../orion',
+	    text: '../../requirejs/text',
+	    i18n: '../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/preferences/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/preferences/test.html
index 688a64d..3773b04 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/preferences/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/preferences/test.html
@@ -3,8 +3,7 @@
 <head>
 <!-- standard scripts -->
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
@@ -13,22 +12,22 @@
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
 	
 	  paths: {
-	    orion: '/orion',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../orion',
+	    text: '../../requirejs/text',
+	    i18n: '../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/serviceRegistry/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/serviceRegistry/test.html
index 688a64d..3773b04 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/serviceRegistry/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/serviceRegistry/test.html
@@ -3,8 +3,7 @@
 <head>
 <!-- standard scripts -->
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
@@ -13,22 +12,22 @@
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
 	
 	  paths: {
-	    orion: '/orion',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../orion',
+	    text: '../../requirejs/text',
+	    i18n: '../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/testRunAsynch/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/testRunAsynch/test.html
index 688a64d..3773b04 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/testRunAsynch/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/testRunAsynch/test.html
@@ -3,8 +3,7 @@
 <head>
 <!-- standard scripts -->
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
@@ -13,22 +12,22 @@
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
 	
 	  paths: {
-	    orion: '/orion',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../orion',
+	    text: '../../requirejs/text',
+	    i18n: '../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/test.html b/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/test.html
index 9c198a0..dabfb51 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/test.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/test.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
@@ -11,22 +11,22 @@
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
 	
 	  paths: {
-	    orion: '/orion',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../orion',
+	    text: '../../requirejs/text',
+	    i18n: '../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/xhrPlugin.html b/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/xhrPlugin.html
index 4072946..01fc9e4 100644
--- a/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/xhrPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/js-tests/webdav/xhrPlugin.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script type="text/javascript" src="../../orion/plugin.js"></script>
 	<script>
 		window.onload = function() {
diff --git a/bundles/org.eclipse.orion.client.core/web/navigate/table.html b/bundles/org.eclipse.orion.client.core/web/navigate/table.html
index 640c1fc..7901467 100644
--- a/bundles/org.eclipse.orion.client.core/web/navigate/table.html
+++ b/bundles/org.eclipse.orion.client.core/web/navigate/table.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>Navigator</title>
     	<link rel="stylesheet" type="text/css" href="table.css" />
-    	<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,28 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/plugin/install.html b/bundles/org.eclipse.orion.client.core/web/plugin/install.html
index b9da8f8..f8f36f5 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugin/install.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugin/install.html
@@ -3,7 +3,7 @@
 <head>
 <title>Add Plugin</title>
 <link rel="stylesheet" type="text/css" href="install.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -12,28 +12,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/plugin/list.html b/bundles/org.eclipse.orion.client.core/web/plugin/list.html
index 992548a..e900960 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugin/list.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugin/list.html
@@ -3,7 +3,7 @@
 	<head>
 		<title>Installed Plugins</title>
 		<link rel="stylesheet" type="text/css" href="list.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -12,28 +12,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/asyncUpperPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/asyncUpperPlugin.html
index b52bc5a..1b40467 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/asyncUpperPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/asyncUpperPlugin.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script type="text/javascript" src="../orion/plugin.js"></script>
 	<script>
 		window.onload = function() {
@@ -21,7 +21,7 @@
 				}
 			}, {
 				name : "UPPERCASE_ASYNC",
-				img : "/images/gear.gif",
+				img : "../images/gear.gif",
 				key : [ "a", true ]
 			});
 			provider.connect();
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/fileClientPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/fileClientPlugin.html
index ebd1ba1..b778755 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/fileClientPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/fileClientPlugin.html
@@ -3,7 +3,7 @@
 <head>
 	<meta name="copyright" content="Copyright (c) IBM Corporation and others 2011." >
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script type="text/javascript" src="../orion/plugin.js"></script>
 	<script type="text/javascript" src="filePlugin/fileImpl.js"></script>
 	<script type="text/javascript">
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/landingPageTasks.html b/bundles/org.eclipse.orion.client.core/web/plugins/landingPageTasks.html
index 18ac01f..18931c5 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/landingPageTasks.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/landingPageTasks.html
@@ -15,17 +15,17 @@
 			description: "Clone a repository from github",
 			steps:[
 				{href: "http://www.github.com", linkName: "github", description: "Go to github and copy the repository URL for the repository you want to clone."},
-				{href: "/git/git-clone.html", linkName: "Orion Repositories", description: "Go to the Orion repositories page and select the 'Clone' link at the top left of the page"},
+				{href: "../git/git-clone.html", linkName: "Orion Repositories", description: "Go to the Orion repositories page and select the 'Clone' link at the top left of the page"},
 				{href: "http://wiki.eclipse.org/Orion/How_Tos/Cloning_repository_from_github", linkName: "Orion/GitHub How-To", description: "The how-to provides further information about setting up credentials."}
 			]
 		});
 		provider.registerServiceProvider("orion.help.task", serviceImpl, {
-			image: "/plugins/images/upload.png",
+			image: "../images/upload.png",
 			name: "Upload some code!",
 			id: "orion.upload",
 			description: "Upload a zip file from your computer.",
 			steps:[
-				{href: "/navigate/table.html", linkName: "Navigator", description: "Go the Orion navigator.  Create a new folder and then choose import from the 'More' menu."}
+				{href: "../navigate/table.html", linkName: "Navigator", description: "Go the Orion navigator.  Create a new folder and then choose import from the 'More' menu."}
 			]
 		});
 		provider.registerServiceProvider("orion.help.task", serviceImpl, {
@@ -35,28 +35,28 @@
 			description: "Generate an HTML 5 Website Template using initializr.com",
 			steps:[
 				{href: "http://www.initializr.com", linkName: "Initializr", description: "Go to the initializr site, choose the options that you would like, and download the template to your computer."},
-				{href: "/navigate/table.html", linkName: "Navigator", description: "Go to the Orion navigator.  Create a new folder and then choose import from the 'More' menu.  Select the zip file you just generated."}
+				{href: "../navigate/table.html", linkName: "Navigator", description: "Go to the Orion navigator.  Create a new folder and then choose import from the 'More' menu.  Select the zip file you just generated."}
 			]
 		});
 		provider.registerServiceProvider("orion.page.link", serviceImpl, {
 			name: "Navigator",
 			id: "orion.navigator",
-			href: "/navigate/table.html#"
+			href: "../navigate/table.html#"
 		});
 		provider.registerServiceProvider("orion.page.link", serviceImpl, {
 			name: "Sites",
 			id: "orion.sites",
-			href: "/sites/sites.html"
+			href: "../sites/sites.html"
 		});
 		provider.registerServiceProvider("orion.page.link", serviceImpl, {
 			name: "Plugins",
 			id: "orion.plugins",
-			href: "/plugin/list.html"
+			href: "../plugin/list.html"
 		});
 		provider.registerServiceProvider("orion.page.link", serviceImpl, {
 			name: "Repositories",
 			id: "orion.repositories",
-			href: "/git/git-clone.html"
+			href: "../git/git-clone.html"
 		});
 		provider.connect();
 	};
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/lowerPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/lowerPlugin.html
index 2eb3683..0b02061 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/lowerPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/lowerPlugin.html
@@ -12,7 +12,7 @@
 				}
 			}, {
 				name : "Lowercase",
-				img : "/images/gear.gif",
+				img : "../images/gear.gif",
 				key : [ "u", true, true ] // ctrl+shift+u
 			});
 			provider.connect();
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/sampleCommandsPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/sampleCommandsPlugin.html
index 4765b26..83c05ec 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/sampleCommandsPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/sampleCommandsPlugin.html
@@ -3,7 +3,7 @@
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	<script type="text/javascript" src="../orion/plugin.js"></script>
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script>
 		window.onload = function() {
 			var provider = new eclipse.PluginProvider({postInstallUrl:"/plugin/list.html"});
@@ -12,7 +12,7 @@
 					window.alert("Running code on: " + item.Location);
 				}
 			}, {
-				image: "/profile/images/create_user.gif",
+				image: "../profile/images/create_user.gif",
 				name: "Run Code on Single Item",
 				id: "sample.commands.sample1",
 				forceSingleItem: true,
@@ -27,7 +27,7 @@
 					return clientDeferred;
 				}
 			}, {
-				image: "/images/gear.gif",
+				image: "../images/gear.gif",
 				name: "Open HTML in 5 seconds",
 				id: "sample.commands.sample11",
 				forceSingleItem: true,
@@ -40,7 +40,7 @@
 					return item.Location;
 				}
 			}, {
-				image: "/profile/images/create_user.gif",
+				image: "../profile/images/create_user.gif",
 				name: "Open HTML Raw",
 				id: "sample.commands.sample2",
 				forceSingleItem: true,
@@ -58,7 +58,7 @@
 					window.alert("Bulk operation on: " + locations);
 				}
 			}, {
-				image: "/profile/images/create_user.gif",
+				image: "../profile/images/create_user.gif",
 				name: "Bulk Item Command",
 				id: "sample.commands.sample3",
 				tooltip: "Bulk command operates on selections"
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/sampleFilePlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/sampleFilePlugin.html
index ab04ed6..e8dc2be 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/sampleFilePlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/sampleFilePlugin.html
@@ -3,7 +3,7 @@
 <head>
 	<meta name="copyright" content="Copyright (c) IBM Corporation and others 2011." >
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script type="text/javascript" src="../orion/plugin.js"></script>
 	<script type="text/javascript">
 /*******************************************************************************
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/unittestPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/unittestPlugin.html
index 7da5811..7992f68 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/unittestPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/unittestPlugin.html
@@ -8,7 +8,7 @@
 			var provider = new eclipse.PluginProvider();
 			provider.registerServiceProvider("orion.navigate.command", {
 				run: function(item) {
-					return "/test/unittest.html#" + item.Location;
+					return "../test/unittest.html#" + item.Location;
 				}
 			}, {
 				name: "Run as Unit Test",
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/upperPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/upperPlugin.html
index e4b0a80..44db072 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/upperPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/upperPlugin.html
@@ -13,7 +13,7 @@
 			};
 			var serviceProps = {
 				name : "UPPERCASE",
-				img : "/images/gear.gif",
+				img : "../images/gear.gif",
 				key : [ "u", true ]
 			};
 			provider.registerServiceProvider("orion.edit.command", serviceImpl, serviceProps);
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html
index d73c734..db09932 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html
@@ -33,7 +33,7 @@
 		var serviceImpl = {};
 		var serviceProperties = {
 			name: "Orion web editor",
-			href: "/edit/edit.html#${Location}",
+			href: "../edit/edit.html#${Location}",
 			validationProperties: {Name: "*.(css|js|json|htm|html|txt|xml|java)"}
 		};
 		provider.registerServiceProvider("orion.navigate.openWith", serviceImpl, serviceProperties);
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/webdavFilePlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/webdavFilePlugin.html
index a7c546c..615b008 100755
--- a/bundles/org.eclipse.orion.client.core/web/plugins/webdavFilePlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/webdavFilePlugin.html
@@ -3,7 +3,7 @@
 <head>
 	<meta name="copyright" content="Copyright (c) IBM Corporation and others 2011." >
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script type="text/javascript" src="../orion/plugin.js"></script>
 	<script type="text/javascript" src="filePlugin/webdavImpl.js"></script>
 	<script type="text/javascript">
diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/xhrPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/xhrPlugin.html
index e630b5b..6073692 100644
--- a/bundles/org.eclipse.orion.client.core/web/plugins/xhrPlugin.html
+++ b/bundles/org.eclipse.orion.client.core/web/plugins/xhrPlugin.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	<script type="text/javascript" src="../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<script type="text/javascript" src="../orion/plugin.js"></script>
 	<script>
 		window.onload = function() {
diff --git a/bundles/org.eclipse.orion.client.core/web/search/search.html b/bundles/org.eclipse.orion.client.core/web/search/search.html
index fcd3769..03c2a99 100644
--- a/bundles/org.eclipse.orion.client.core/web/search/search.html
+++ b/bundles/org.eclipse.orion.client.core/web/search/search.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>Search Results</title>
     	<link rel="stylesheet" type="text/css" href="search.css" /> 
-    	<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,28 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/sites/site.html b/bundles/org.eclipse.orion.client.core/web/sites/site.html
index e77d3c9..3b943fd 100644
--- a/bundles/org.eclipse.orion.client.core/web/sites/site.html
+++ b/bundles/org.eclipse.orion.client.core/web/sites/site.html
@@ -4,7 +4,7 @@
 		<meta charset="UTF-8">
 		<title>Edit Site</title>
     	<link rel="stylesheet" type="text/css" href="site.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -13,28 +13,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/sites/sites.html b/bundles/org.eclipse.orion.client.core/web/sites/sites.html
index 3bff19f..dde32bd 100644
--- a/bundles/org.eclipse.orion.client.core/web/sites/sites.html
+++ b/bundles/org.eclipse.orion.client.core/web/sites/sites.html
@@ -4,7 +4,7 @@
 		<meta charset="UTF-8">
 		<title>Site Configurations</title>
 		<link rel="stylesheet" type="text/css" href="sites.css" />
-		<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -13,28 +13,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.core/web/test/unittest.html b/bundles/org.eclipse.orion.client.core/web/test/unittest.html
index f05fafb..e342b51 100644
--- a/bundles/org.eclipse.orion.client.core/web/test/unittest.html
+++ b/bundles/org.eclipse.orion.client.core/web/test/unittest.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>JS Unit Test</title>
     	<link rel="stylesheet" type="text/css" href="unittest.css" />
-    			<script type="text/javascript" src="/requirejs/require.js"></script>
+    	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,28 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.editor/web/examples/textview/demo.html b/bundles/org.eclipse.orion.client.editor/web/examples/textview/demo.html
index d8ff1e6..e9ed566 100644
--- a/bundles/org.eclipse.orion.client.editor/web/examples/textview/demo.html
+++ b/bundles/org.eclipse.orion.client.editor/web/examples/textview/demo.html
@@ -6,14 +6,14 @@
 <meta http-equiv="Expires" content="-1"/>
 <title>Orion TextView Demo</title>
 <link rel="stylesheet" type="text/css" href="demo.css" />
-<script type="text/javascript" src="/requirejs/require.js"></script>
+<script type="text/javascript" src="../../requirejs/require.js"></script>
 <script type="text/javascript">
 	require({
 	  baseUrl: '',
 	  paths: {
-	    orion: '/orion',
-	    examples: '/examples',
-	    tests: '/js-tests',
+	    orion: '../../orion',
+	    examples: '../../examples',
+	    tests: '../../js-tests',
 	  }
 	});
 	require(["demo"]);
diff --git a/bundles/org.eclipse.orion.client.editor/web/examples/textview/textstyler.css b/bundles/org.eclipse.orion.client.editor/web/examples/textview/textstyler.css
index 93fc614..761748c 100644
--- a/bundles/org.eclipse.orion.client.editor/web/examples/textview/textstyler.css
+++ b/bundles/org.eclipse.orion.client.editor/web/examples/textview/textstyler.css
@@ -25,13 +25,13 @@
 }
 
 .token_space {
-	background-image: url('/examples/textview/images/white_space.png');
+	background-image: url('images/white_space.png');
 	background-repeat: no-repeat;
  	background-position: center center;
 }
 
 .token_tab {
-	background-image: url('/examples/textview/images/white_tab.png');
+	background-image: url('images/white_tab.png');
 	background-repeat: no-repeat;
  	background-position: left center;
 }
@@ -46,9 +46,9 @@
 }
 
 .annotationProblemRange.error {
-	background-image: url('/examples/textview/images/squiggly_error.png');
+	background-image: url('images/squiggly_error.png');
 }
 
 .annotationProblemRange.warning {
-	background-image: url('/examples/textview/images/squiggly_warning.png');
+	background-image: url('images/squiggly_warning.png');
 }
\ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/test-editor.html b/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/test-editor.html
index a02c41f..2862d3b 100644
--- a/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/test-editor.html
+++ b/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/test-editor.html
@@ -2,9 +2,9 @@
 <html>
 <head>
 <!-- standard scripts -->
-	<script type="text/javascript" src="/orion/plugin.js"></script>
+	<script type="text/javascript" src="../../orion/plugin.js"></script>
 
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 		baseUrl: '',
@@ -13,22 +13,22 @@
 		packages: [
 			{
 				name: 'dojo',
-				location: '/org.dojotoolkit/dojo',
+				location: '../../org.dojotoolkit/dojo',
 				main: 'lib/main-browser',
 				lib: '.'
 			},
 			{
 				name: 'dijit',
-				location: '/org.dojotoolkit/dijit',
+				location: '../../org.dojotoolkit/dijit',
 				main: 'lib/main',
 				lib: '.'
 			}
 		],
 	
 		paths: {
-			orion: '/orion',
-			text: '/requirejs/text',
-			i18n: '/requirejs/i18n'
+			orion: '../../orion',
+			text: '../../requirejs/text',
+			i18n: '../../requirejs/i18n'
 		}
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/textMateStyler/test-textMateStyler.html b/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/textMateStyler/test-textMateStyler.html
index 6a373d0..4f90024 100644
--- a/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/textMateStyler/test-textMateStyler.html
+++ b/bundles/org.eclipse.orion.client.editor/web/js-tests/editor/textMateStyler/test-textMateStyler.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!-- standard scripts -->
-	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<script type="text/javascript" src="../../../requirejs/require.js"></script>
 	<script type="text/javascript">
 	require({
 	  baseUrl: '',
@@ -11,22 +11,22 @@
 	  packages: [
 	    {
 	      name: 'dojo',
-	      location: '/org.dojotoolkit/dojo',
+	      location: '../../../org.dojotoolkit/dojo',
 	      main: 'lib/main-browser',
 	      lib: '.'
 	    },
 	    {
 	      name: 'dijit',
-	      location: '/org.dojotoolkit/dijit',
+	      location: '../../../org.dojotoolkit/dijit',
 	      main: 'lib/main',
 	      lib: '.'
 	    }
 	  ],
 	
 	  paths: {
-	    orion: '/orion',
-	    text: '/requirejs/text',
-	    i18n: '/requirejs/i18n'
+	    orion: '../../../orion',
+	    text: '../../../requirejs/text',
+	    i18n: '../../../requirejs/i18n'
 	  }
 	});
 	
diff --git a/bundles/org.eclipse.orion.client.git/web/git/css/git.css b/bundles/org.eclipse.orion.client.git/web/git/css/git.css
index 5157697..6a2957f 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/css/git.css
+++ b/bundles/org.eclipse.orion.client.git/web/git/css/git.css
@@ -7,13 +7,13 @@
 }
 
 .incomingCommitsdRow div {
-	background: url(/git/images/incoming_commit.gif);
+	background: url(../images/incoming_commit.gif);
 	background-repeat: no-repeat;
 	background-position: left top; 
 }
 
 .outgoingCommitsdRow div {
-	background: url(/git/images/outgoing_commit.gif);
+	background: url(../images/outgoing_commit.gif);
 	background-repeat: no-repeat;
 	background-position: left top; 
 }
@@ -24,23 +24,23 @@
 }
 
 .gitRepoItem {
-	background: url(/git/images/repository.gif);
+	background: url(../images/repository.gif);
 }
 
 .gitRemotesItem {
-	background: url(/git/images/remotes.gif);
+	background: url(../images/remotes.gif);
 }
 
 .gitBranchesItem {
-	background: url(/git/images/branches.gif);
+	background: url(../images/branches.gif);
 }
 
 .gitBranchItem {
-	background: url(/git/images/branch.gif);
+	background: url(../images/branch.gif);
 }
 
 .gitRemoteItem {
-	background: url(/git/images/remote.gif);
+	background: url(../images/remote.gif);
 }
 
 .gitDefaultItem {
diff --git a/bundles/org.eclipse.orion.client.git/web/git/git-clone.html b/bundles/org.eclipse.orion.client.git/web/git/git-clone.html
index bf7a185..64ad6d5 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/git-clone.html
+++ b/bundles/org.eclipse.orion.client.git/web/git/git-clone.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>Git Clones</title>
     	<link rel="stylesheet" type="text/css" href="git-clone.css" />
-    	<script type="text/javascript" src="/requirejs/require.js"></script>
+   	<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,28 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.git/web/git/git-log.html b/bundles/org.eclipse.orion.client.git/web/git/git-log.html
index 0ed3c19..e687c1d 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/git-log.html
+++ b/bundles/org.eclipse.orion.client.git/web/git/git-log.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>Git Log</title>
     	<link rel="stylesheet" type="text/css" href="git-log.css" />
-    	<script type="text/javascript" src="/requirejs/require.js"></script>
+   		<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,28 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.git/web/git/git-status.html b/bundles/org.eclipse.orion.client.git/web/git/git-status.html
index cbeba57..3de2fe1 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/git-status.html
+++ b/bundles/org.eclipse.orion.client.git/web/git/git-status.html
@@ -6,7 +6,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     	<title>Git Status</title>
     	<link rel="stylesheet" type="text/css" href="git-status.css" />
-    	<script type="text/javascript" src="/requirejs/require.js"></script>
+   		<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,29 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    examples: '/examples',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.html b/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.html
index 9b0c845..0b3dbcf 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.html
+++ b/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.html
@@ -11,7 +11,7 @@
 			
 			var provider = new eclipse.PluginProvider();
 			
-			temp.href = "/git/git-status.html";
+			temp.href = "../git-status.html";
 			var gitStatusURL = temp.href;
 			
 			provider.registerServiceProvider("orion.navigate.command", {
@@ -28,7 +28,7 @@
 			});
 			
 			
-			temp.href = "/git/git-log.html";
+			temp.href = "../git-log.html";
 			var gitLogURL = temp.href;
 			provider.registerServiceProvider("orion.navigate.command", {
 				run: function(item) {
@@ -56,7 +56,7 @@
 				tooltip: "Go to Git Remote"
 			});
 			
-			temp.href = "/gitapi/diff/";
+			temp.href = "../../gitapi/diff/";
 			var base = temp.href;
 			provider.registerServiceProvider("orion.core.diff", {
 				getDiffContent: function(diffURI){	
diff --git a/bundles/org.eclipse.orion.client.users.ui/web/profile/user-list.html b/bundles/org.eclipse.orion.client.users.ui/web/profile/user-list.html
index e4e456c..cde3b48 100644
--- a/bundles/org.eclipse.orion.client.users.ui/web/profile/user-list.html
+++ b/bundles/org.eclipse.orion.client.users.ui/web/profile/user-list.html
@@ -1,13 +1,13 @@
 <!doctype html>
 <html style="height: 100%">
 <head>
-<meta name="copyright"
-	content="Copyright (c) IBM Corporation and others 2011.">
-<meta http-equiv="Content-Language" content="en-us">
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>Manage Users</title>
-<link rel="stylesheet" type="text/css" href="user-list.css" />
-<script type="text/javascript" src="/requirejs/require.js"></script>
+	<meta name="copyright"
+		content="Copyright (c) IBM Corporation and others 2011.">
+	<meta http-equiv="Content-Language" content="en-us">
+	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+	<title>Manage Users</title>
+	<link rel="stylesheet" type="text/css" href="user-list.css" />
+   		<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -16,28 +16,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.users.ui/web/profile/user-profile.html b/bundles/org.eclipse.orion.client.users.ui/web/profile/user-profile.html
index 5322834..e788db6 100644
--- a/bundles/org.eclipse.orion.client.users.ui/web/profile/user-profile.html
+++ b/bundles/org.eclipse.orion.client.users.ui/web/profile/user-profile.html
@@ -1,12 +1,12 @@
 <!doctype html>
 <html style="height: 100%">
 <head>
-<meta name="copyright" content="Copyright (c) IBM Corporation and others 2011.">
-<meta http-equiv="Content-Language" content="en-us">
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>Orion User Profile</title>
-<link rel="stylesheet" type="text/css" href="user-profile.css" />
-    	<script type="text/javascript" src="/requirejs/require.js"></script>
+	<meta name="copyright" content="Copyright (c) IBM Corporation and others 2011.">
+	<meta http-equiv="Content-Language" content="en-us">
+	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+	<title>Orion User Profile</title>
+	<link rel="stylesheet" type="text/css" href="user-profile.css" />
+    		<script type="text/javascript" src="../requirejs/require.js"></script>
 		<script type="text/javascript">
 		require({
 		  baseUrl: '',
@@ -15,28 +15,30 @@
 		  packages: [
 		    {
 		      name: 'dojo',
-		      location: '/org.dojotoolkit/dojo',
+		      location: '../org.dojotoolkit/dojo',
 		      main: 'lib/main-browser',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dijit',
-		      location: '/org.dojotoolkit/dijit',
+		      location: '../org.dojotoolkit/dijit',
 		      main: 'lib/main',
 		      lib: '.'
 		    },
 		    {
 		      name: 'dojox',
-		      location: '/org.dojotoolkit/dojox',
+		      location: '../org.dojotoolkit/dojox',
 		      main: 'lib/main',
 		      lib: '.'
 		    }		    
 		  ],
-		
 		  paths: {
-		    orion: '/orion',
-		    text: '/requirejs/text',
-		    i18n: '/requirejs/i18n'
+			  orion: '../orion',
+			  images: '../images',
+			  css: '../css',
+			  examples: '../examples',
+			  text: '../requirejs/text',
+			  i18n: '../requirejs/i18n',	    
 		  }
 		});
 		
diff --git a/bundles/org.eclipse.orion.client.users.ui/web/profile/userservicePlugin.html b/bundles/org.eclipse.orion.client.users.ui/web/profile/userservicePlugin.html
index 37991ca..7babdb6 100644
--- a/bundles/org.eclipse.orion.client.users.ui/web/profile/userservicePlugin.html
+++ b/bundles/org.eclipse.orion.client.users.ui/web/profile/userservicePlugin.html
@@ -2,10 +2,10 @@
 <html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script type="text/javascript" src="/orion/plugin.js"></script>
+ <script type="text/javascript" src="../orion/plugin.js"></script>
  <script type="text/javascript" src="UsersService.js"></script>
  <script type="text/javascript"
-	src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
+	src="../org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script>
 	<!--Authentication -->
  <script>
   window.onload = function() {