httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hodgson" <>
Subject [users@httpd] Moving website that uses full paths
Date Tue, 02 Sep 2008 09:35:06 GMT

I am implementing a website that used to be available on, and I want it on  The 
problem I am finding is that the site has code in it like this:

		<link href="/file.css" rel="stylesheet" type="text/css" />

Which is causing the browser to go to

The Apache configuration I am using for this is as follows:


Alias /website d:/websites/website 
<Directory d:/websites/website>
   Order allow,deny
   Allow from all

Is there anything I can do about this issue in Apache?  I am not sure 
whether there is, since the browser is being instructed to go to the 
full path, which Apache is doing correctly, but I thought I would ask 


-- Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE.

Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88. 

Telephone: 0870 243 3434, Fax: 0870 243 6041. 

This email, and any files transmitted with it, is confidential and intended solely for the
use of the individual or entity to whom it is addressed. If you have received this email in
error please notify the Information Security Manager at the number above.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message