gnari wrote:
> "Colvin" <> wrote in message
> news:...
>> The problem is that all of the references to images/*.jpeg are
>> getting changed to cgi-bin/images/*.jpeg I tried inserting a
>> chdir ".." into the Perl scripts, but that only changed the cwd
>> of the script and not the cwd of the html. What's the best way
>> to solve this?
>
> several ways. among them:
> a) skip the silly cgi-bin directory and keep your *.pl files in
> webfolder/
> b) fix the html output to point at the correct location
> c) keep the images that the *.pl refer to in cgi-bin/images/
> d) make a symbolic link between images/ and cgi-bin/images/
The cgi-bin folder is hopefully not readable from the web, so c) does
probably not work. Don't know about d).
--
Gunnar Hjalmarsson
Email:
http://www.gunnar.cc/cgi-bin/contact.pl