> as it stands,
> the cgi structure looks like this
>
> https://www.foo.co.za/cgi-bin/client1/index.pl
> https://www.foo.co.za/cgi-bin/client2/index.pl
>
> it would be better if it was
>
> https://www.foo.co.za/client1
> https://www.foo.co.za/client2

You can just use this in your httpd.conf:

DirectoryIndex index.pl

> Now that we have multiple application and databse instances
> running concurrently, how do we ensure that filehandle and
> Apache::DBI symbols are reliably encapsulated in their
> own namespsaces, all running off the same codebase ?

Apache::DBI will only give you back a cached connection if your connecion
parameters (user, login, etc.) are exactly the same.  If different clients
connect to different databases, this should be fine.  You won't accidentally
get the wrong one.

As for filehandles, I suggest you use lexically scoped ones if possible.

- Perrin

Reply via email to