On Fri, 5 May 2000, Kiran Banoor wrote:

> hi,
> 
> I have written a handler for controlling access control on the basis of
> domain/ip address so that  i can restrict the users on the limit of sessions
> from a perticular domain name.And i placed my handler in .htaccess file.
> The problem is when request is made by the client for a perticular file and
> it goes to my handler Gatekeeper.pm were if the requested file is having any
> ssis it takes as a seperate request so i don't know wether it is write or
> not and when i send the file by using send_fd(filehandle)it just displays
> the contents of the document but not the ssis.
> Another problem is when i set the cookie in the header and use the
> send_fd(filehandle)to send the file back it will not work but if i use
> print() it works i don't know why ..

i don't see why print() would end up with different results than
send_fd().  sounds like what you really want is
$r->lookup_uri('/foo.ssi')->run


Reply via email to