PDA

View Full Version : Style sheets and referrer.pl


Ben Turner
06-Jan-2003, 11:08 AM
I am using v6 Business and we have redesigned the catalog using style sheets. Everything works fine except that sites referring people to me using referrer.pl are saying that the site displays incorrectly and there are no images. For example
this referral (http://www.bestinthecountry.co.uk/cgi-bin/referrer.pl?SOURCE=strasbourg&DESTINATION=FRS_Countrywear_Barbour_35.html&PATH=../acatalog/&BASEURL=http://www.bestinthecountry.co.uk/acatalog/) looks awful when it should appear like this (http://www.bestinthecountry.co.uk/acatalog/FRS_Countrywear_Barbour_35.html)

Any suggestions appreciated

Ben Turner

stuff-uk.net
06-Jan-2003, 11:30 AM
Problem is that the server is looking for the images in your cgi directory.

Either use the full url for each image or copy the images to the cgi - the first is by far the most preferable.

Alan

pinbrook
06-Jan-2003, 11:43 AM
I may be way off base on this one ....but I think I had this problem ages ago....

check out your network settings - for catalog URL you should have

yourdomain.co.uk/acatalog

and not

yourdomain.co.uk

Ben Turner
06-Jan-2003, 11:59 AM
Thanks Alan

We thought that may be a way to fix it. I think i'll copy the files over for now as it'll be quicker. It just seems a bit silly that it tries to locate the files in the cgi-bin and doesn't just redirect to the page itself. Oh well...

cheers

Ben Turner

stuff-uk.net
06-Jan-2003, 12:02 PM
Ben,

Before you do, check Jo's reply. You really dont want to have all those files in the cgi

Ben Turner
06-Jan-2003, 12:12 PM
the path is /acatalog as Jo suggested. its strange that it worked before we used style sheets though

Thanks

Ben Turner