Re: ENV variables and custom 404 error page

2004-03-02 Thread Bryan Harris
> Bryan Harris wrote: >>> # do this. make sure that this line is the >>> # ONLY thing you print out to the browser. >>> print "Location: http://rightplace.com/\n\n";; >> >> >> Wow, this is cool! Where is this documented? I'm interested in >> learning about other things like this..

RE: ENV variables and custom 404 error page

2004-03-02 Thread Bob Showalter
Bryan Harris wrote: > > # do this. make sure that this line is the > > # ONLY thing you print out to the browser. > > print "Location: http://rightplace.com/\n\n";; > > > Wow, this is cool! Where is this documented? I'm interested in > learning about other things like this... This

Re: ENV variables and custom 404 error page

2004-03-01 Thread WC -Sx- Jones
Bryan Harris wrote: print "Location: http://rightplace.com/\n\n";; Wow, this is cool! Where is this documented? I'm interested in learning about other things like this... http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Perl+CGI+Apache&btnG=Google+Search 1,720,000 possibilities Try

Re: ENV variables and custom 404 error page

2004-03-01 Thread Bryan Harris
> # do this. make sure that this line is the > # ONLY thing you print out to the browser. > print "Location: http://rightplace.com/\n\n";; Wow, this is cool! Where is this documented? I'm interested in learning about other things like this... -- To unsubscribe, e-mail: [EMAIL P

Re: ENV variables and custom 404 error page

2004-03-01 Thread Morbus Iff
>I have a custom 404 error page that uses that shows the URL of the page that >couldn't be found using var="REDIRECT_URL". Is there a way to take this >variable, such as "/folder/wrong.html", strip out everything except >"folder", match "folder" and redirect (launch the web page) to >"folder/index.

ENV variables and custom 404 error page

2004-03-01 Thread Gregg O'Donnell
I have a custom 404 error page that uses that shows the URL of the page that couldn't be found using var="REDIRECT_URL". Is there a way to take this variable, such as "/folder/wrong.html", strip out everything except "folder", match "folder" and redirect (launch the web page) to "folder/index.ht