in reply to Re: Minimizing paths?
in thread Minimizing paths?

If you are using Apache, you can also use the cgi-script handler instead of ScriptAlias. So, in general, if your server.pl script is already running on the webserver, you can use the PATH_INFO trick to pass the URIs to the script.

You do need to watch out for root-relative URIs though; say you've got an html page with the following code:

<img src="/pix/image.gif"> <img src="pix/image.gif">
When the HTML page is called as /index.html the URIs for the images will be:
/pix/image.gif /pix/image.gif
When you call the page as server.pl/index.html the URIs will be:
/pix/image.gif /server.pl/pix/image.gif
By the way, using the BASE tag might also help.
-- Joost downtime n. The period during which a system is error-free and immune from user input.