"Mark T. Dame" wrote:
> 
> We have a strange problem using Redirects with Apache::ASP 2.03.
> 
> With this in the .htaccess file:
> 
> # .asp files for Session state enabled
> <Files ~ (\.asp)>
>         SetHandler perl-script
>         PerlHandler Apache::ASP
>         PerlSetVar CookiePath  /
>         PerlSetVar Global  /path/to/asp/directory
>         PerlSetVar StateDir /path/to/state/directory
> </Files>
> 
> the following works correctly:
> 
>         $Response->Redirect("/index.html");
> 
> However, if we change the .htaccess file to set up ASP to handle SSI:
> 
> # .asp files for Session state enabled
> <Files ~ (\.asp)>
>         SetHandler perl-script
>         PerlHandler Apache::ASP Apache::SSI
>         PerlSetVar Filter On
>         PerlSetVar CookiePath  /
>         PerlSetVar Global  /path/to/asp/directory
>         PerlSetVar StateDir /path/to/state/directory
> </Files>
> 
> it doesn't work.
> 
> Here is the result from each:
> 
> (with first .htaccess file)
> % telnet test.site.com 80
> Trying x.x.x.x...
> Connected to test.site.com.
> Escape character is '^]'.
> get /test.asp HTTP/1.0
> 
> HTTP/1.1 302 Found
> Date: Tue, 12 Dec 2000 17:03:13 GMT
> Server: Apache/1.3.14 (Unix) mod_perl/1.24_01 mod_ssl/2.7.1
> OpenSSL/0.9.5a
> Set-Cookie: session-id=6f995b76dccf9e0a96533aa2aacd3b60; path=/
> Location: /index.html
> Cache-Control: private
> Connection: close
> Content-Type: text/html
> 
> Connection closed by foreign host.
> 
> (with second .htaccess file)
> % telnet test.site.com 80
> Trying x.x.x.x...
> Connected to test.site.com.
> Escape character is '^]'.
> get /test.asp HTTP/1.0
> 
> Connection closed by foreign host.
> 
> We have Apache::Filter version 1.011 and Apache::SSI version 2.13.
> 
> Any ideas?

For anyone who may be interested, upgrading to Apache::ASP 2.07 and
Apache::Filter 1.014 fixed the problem.


-m
-- 
## Mark T. Dame:  mailto:[EMAIL PROTECTED]
## WWW:  http://www.mfm.com/~mdame/
## MFM Communication Software:  http://www.mfm.com/
"The opposed thumb is one of the defining characteristics of our
 species, and mine are strongly opposed to working pointing devices."
      -- Bill Machrone, PC Magazine, Sep. 28, 1993, discussing
              miniature trackballs

Reply via email to