Re: CGI.pm problem

2000-08-30 Thread Alexei V. Barantsev
Rick Myers [EMAIL PROTECTED] writes: On Aug 29, 2000 at 16:11:39 +0400, Alexei V. Barantsev twiddled the keys to say: Dear mod_perl'ers! I have found strange difference between object and func modes of CGI library. More precisely - I have a problem with Vars function. #use

Migrating from CGI.pm to (...?), was Re: CGI.pm problem

2000-08-30 Thread Alexei V. Barantsev
Jeff Beard [EMAIL PROTECTED] writes: There isn't a Vars() function in CGI.pm. If you're looking for the query string try param(). Or if you want to make it a mod_perl program (which is what you would normally discuss on this list) Apache::Request::param(). --Jeff There is such a

Re: Why mod_perl does not like File::Recurse module?

2000-07-12 Thread Alexei V. Barantsev
Jerrad Pierce [EMAIL PROTECTED] writes: But nobody is typically a rather priveleged account... On 11 Jul 2000, Alexei V. Barantsev wrote: From command line all is ok HTML LANG="en-US"HEADTITLEUntitled Document/TITLE /HEADBODYPFile::Copy::copydir ok/P PFil

Re: Why mod_perl does not like File::Recurse module?

2000-07-12 Thread Alexei V. Barantsev
Ken Williams [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Alexei V. Barantsev) wrote: Jerrad Pierce [EMAIL PROTECTED] writes: On 11 Jul 2000, Alexei V. Barantsev wrote: From command line all is ok HTML LANG="en-US"HEADTITLEUntitled Document/TITLE /HEA

Why mod_perl does not like File::Recurse module?

2000-07-11 Thread Alexei V. Barantsev
Could you explain the following I have a little script and run it from command line and in mod_perl #!/usr/bin/perl -w use CGI qw(:standard); use File::Tools; print header, start_html, p( "File::Copy::copydir ", defined File::Copy::copydir ? "ok" : "failed" ), p( "File::Recurse::recurse

Re: CGI.pm: start_form defaults

2000-07-10 Thread Alexei V. Barantsev
Hasanuddin Tamir [EMAIL PROTECTED] writes: No wonder Alexei V. Barantsev on Jul 8 said that, AVB] Playing with CGI I have found that real behaviour of start_form AVB] without parameters does not correspond to documentation. AVB] AVB] From the documentation: AVB] AVB] The defaults

CGI.pm: start_form defaults

2000-07-08 Thread Alexei V. Barantsev
Playing with CGI I have found that real behaviour of start_form without parameters does not correspond to documentation. From the documentation: The defaults are: method: POST action: this script enctype: application/x-www-form-urlencoded From the source code of startform:

Re: Apache::AutoIndex patch

2000-05-12 Thread Alexei V. Barantsev
By the way, there exists one difference between mod_autoindex and Apache::Autoindex in DirectoryIndex option. I should write DirectoryIndex "index.html index.htm index.shtml index.phtml index.pl" for Apache::Autoindex and the same but without quotes for mod_autoindex. If I omit quotes

Apache::AutoIndex patch

2000-05-11 Thread Alexei V. Barantsev
Dear modperlers! I have found that Apache::Autoindex dos not like filenames with special characters (like space or ?). Such a name should be uri-escaped. See patch below. Best wishes, Alexei. (12:05:45) $ diff -u AutoIndex.pm AutoIndex.pm-orig --- AutoIndex.pmThu May 11

Re: Apache::AutoIndex patch

2000-05-11 Thread Alexei V. Barantsev
Ken Williams [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Alexei V. Barantsev) wrote: Dear modperlers! I have found that Apache::Autoindex dos not like filenames with special characters (like space or ?). Such a name should be uri-escaped. See patch below. This patch

HTML::Mason and path_info

2000-04-24 Thread Alexei V. Barantsev
Hello, All! I have the followin problem: HTML::Mason dhandler could not define path_info, it tries to select only first part. For example, if my request is http://server/test/hello/world and dhandler is in /test it decides that $r-path_info is /hello/. Looks like the problem appears early -