title: Subdomain en relative URL's
body: <p>I am working on a webapplication that's running on a subdomain. In the code I used relative URL's all over the place. Nothing special, just the normal way to go.</p>
  
  <p>I have just uploaded the site, but I can't find any file that I want to include. This, for example, is working now:</p>
  
  <pre><code>Site URL: sub.domain.com
  CSS files are in: sub.domain.com/css/
  
  Adding the following to the index.php **is working:**
  &lt;link rel="stylesheet" href="/css/styleSomething.css"&gt;
  </code></pre>
  
  <p>But including PHP files it the thing that is not working</p>
  
  <pre><code>Site URL: sub.domain.com
  PHP Include files are in: sub.domain.com/inc/
  
  Adding the following to the index.php is **not** working:
  require_one(/inc/config.php)    
  </code></pre>
  
  <p>If I change the URL's to start with a ./ or with no slash at all it will find the files for the homepage. But that's not going to work when the visitor navigets to a different page.</p>
  
  <p>Am I missing some here of is this a problem with the hosting?</p>