Re: Deleting a cookie

2001-11-27 Thread Mohit Agarwal

On Tue, 27 Nov 2001, Jon Robison wrote:

 My only problem is that I want to provide the users with a logout
 button which will delete the cookie from thier browser, yet I cannot
 find how!.  I have reviewed every module on my system with 'Cookie'
 in the name (Apache::Cookie, CGI::Cookie, etc.) and nowhere does it
 tell how to do this. There is a small mention of changing the
 expiration to  0, but apparently I am doing it wrong (possible
 confusing point is the use of an 'expires' value in the cookie
 itself, seperate, I think, from the 'expires' attribute on the
 cookie?)

Never tried the negative value for expiration time, but setting it to
a very small value, say 1s, works.  I'm not sure, but setting the
cookie value to null should also have the same effect.




Re: Proble by Build mod_perl as a DSO outside the Apache Source Treevia APXS

2001-11-09 Thread Mohit Agarwal

On Fri, 9 Nov 2001, SubbaReddy M wrote:

 Hello Gurus,
 please help me to get update for mod_perl.

[...]

PLEASE -don't- post any HTML mails on the list.

We are humans here, not browsers.




Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Mohit Agarwal

On Fri, 9 Nov 2001, Jorge Godoy wrote:

 Philip Mak [EMAIL PROTECTED] writes:
 
  My current solution is to touch index.asp in the port 80 DocumentRoot
  and have DirectoryIndex index.asp so that it knows to ProxyPass those
  requests. I'd have to touch index.asp manually for every directory,
  though. Is there a better way around this?
 
 To ease your task... I think there might be a better solution that
 does not involve this index.asp file, but I can't think of it now.
 
 
 ==
 #!/bin/bash
 cd document_root
 for i in `find -type d`
 do
   cd $i
   touch index.asp
   cd -
 done
 ==

If this is the only way then you don't need such a huge script.  One line
will do:

   find document_root -type d -exec touch \{\}/index.asp \;