wamp does not resolve partial image url's
Posted by: artero (101.175.206.---)
Date: January 26, 2015 05:09AM

I am developing many websites under the www. directory of wamp with most live websites using relative urls for images ie "/imagedirectory/imagename.jpg"

on the live websites this works. on my local wamp it does not.

all help welcome.

!!! I DO NOT want to use virtual domains as the management for this with the number of websites and sub-domains I currently manage would be appalling

Options: ReplyQuote
Re: wamp does not resolve partial image url's
Posted by: Otomatic (Moderator)
Date: January 26, 2015 09:37AM

Hi,

> !!! I DO NOT want to use virtual domains as the management

You are free to not want to use the VirtualHost, but then, do not come complaining that it does not work.
All your hosters uses the VirtualHost.
The only way that relative links work on your websites AND locally is to use the VirtualHost. Full stop.

Read carefully : The Homepage, Your Projects Menu and the need for Virtual Hosts

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.