Hi Quentin, Your are right that the files are are reached at something like http://www.my.server/, but I am passing a relative link to the redirections, i.e. $Response->Redirect('page2.html').
Generally, this works, except when the real path to page2.html has too many characters. The error occurs when Apache-ASP translates the redirect to a real path. It is not a 404 error at the browser side, which is what I would expect to find in your scenario. When I move my site to higher in the directory hierachy -- all else being equal -- it works fine. Strange. Chris. --- Quentin Smith <[EMAIL PROTECTED]> wrote: > Hi- > I believe it is because you are using a local path > with $Response->Redirect. What happens > with $Response->Redirect is that Apache sends back > to the user the path > you give, and the user's web browser requests the > new page. I am guessing > that your pages aren't really at > http://www.my.server/Program Files/Apache > Group/Apache/htdocs/, but instead at just > http://www.my.server/. So, chop > off /Program Files/Apache Group/Apache/htdocs from > your path. You still > need the leading / though. > HTH, > --Quentin > > On Sun, 17 Feb 2002, Christopher Brown wrote: > > > Date: Sun, 17 Feb 2002 01:07:25 -0800 > > From: Christopher Brown <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Hiccup with long file paths using > $Response->Redirect > > > > Hi all, > > > > Here is an easy one that I am too dense to solve > myself. > > > > I am getting an error when I use > $Response->Redirect. Apache-ASP seems > > picky if I try to Redirect to a file whose path > and name is long. For > > example, my redirect points to > > '/Program Files/Apache > Group/Apache/htdocs/index.html' > > works, but does not work for > > '/Program Files/Apache > > > Group/Apache/htdocs/nwa/integration/html/index.html'. > > > > At some point it hiccups. It even hiccups when I > redirect it as a relative > > link. In all its a minor problem, but would like > to learn of a solution for > > piece of mind's sake. > > > > Thanks in Advance, > > > > Chris. > > > > > > PS. Oh yeah, here is the error: > > > > Errors Output > > [Sun Feb 17 00:34:41 2002] (eval 158): Identifier > too long at (eval 158) > > line 1. , c:/Perl/site/lib/Apache/ASP.pm line > 2135... see compile error for > > rest > > Debug Output > > [Sun Feb 17 00:34:41 2002] (eval 158): Identifier > too long at (eval 158) > > line 1. , c:/Perl/site/lib/Apache/ASP.pm line 2135 > ... > > Compile Error > > > > [Sun Feb 17 00:34:41 2002] (eval 158): Identifier > too long at (eval 158) > > line 1. > > ... > > > > Compiled Data with Error > > > > -: package > > > Apache::ASP::Compiles::c__program_files_apache_group_apache_htdocs_nwa_integ > > > ration_html___global_asax6853b58099f6e95af8bde3b47da84726; > ;; sub > > > Apache::ASP::Compiles::c__program_files_apache_group_apache_htdocs_nwa_integ > > > ration_html___global_asax6853b58099f6e95af8bde3b47da84726::__ASP_c__program_ > > > files_apache_group_apache_htdocs_nwa_integration_html_validate_login_aspx685 > > 3b58099f6e95af8bde3b47da84726 { ;; package > > > Apache::ASP::Compiles::c__program_files_apache_group_apache_htdocs_nwa_integ > > > ration_html___global_asax6853b58099f6e95af8bde3b47da84726; > ;; no strict;;use > > vars qw($Application $Session $Response $Server > $Request);;use lib > > qw(c:/program files/apache > group/apache/htdocs/nwa/integration/html//.);;; > > -: #line 1 validate_login.asp > > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at > http://mail.yahoo.com > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]