Problem with alias and relative paths
Posted by: Khaoz (201.72.145.---)
Date: May 05, 2010 02:05PM

I have the folowing alias:

Alias /tf "c:/dev/customer/tf/dev/"

<Directory "c:/dev/customer/tf/dev/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>

But every call to a relative path like:

uploads/noticias
img/myimg.png
css/mycss.css
js/myjs.js

Throws an error like:

[Wed May 05 08:47:48 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/tf
[Wed May 05 08:47:55 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/uploads
[Wed May 05 08:47:55 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/css, referer: [localhost]
[Wed May 05 08:47:55 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/js, referer: [localhost]

Why wamp try to locate my files under c:/wamp/www instead of my project, where the files are ?

Ty

Options: ReplyQuote


Sorry, only registered users may post in this forum.