> Here is a small followup question though.  After I moved the files, say, to
> directory /var/www/html/files  and I tried to reference them from the perl
> generated html with a hard reference...
>
>           <img src="/var/www/html/files/titlePic.gif">
>
> it didnt work, however, if I referenced it with a URL...
>
>         <img src="http://localhost/files/titlePic.gif";>
>
> it DID work (will I have to change localhost to the server IP address when
> im ready to go live?).  I thought this was odd.  But nevertheless, it works
> now and I'm happy.  Thanks for everyones help
>

No changes are necessary.
The web-server root is not the same as your computers file-system root.
This is so that people on the web can't see all the files on your computer.

In your case, your web-servers root "/" is actually the same folder as
"/var/www/html" in your computers file-system.

further example:
the folder "/files" that your web-server (apache) sees
IS THE FOLDER
"/var/www/html/files" on your computer

Carl

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to