Re: Transitioning from Apache::Registry

2000-04-03 Thread Drew Taylor
new to me. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704.370.0550 http://www.vialogix.com

Re: Transitioning from Apache::Registry

2000-04-03 Thread Drew Taylor
Ahh yes, the Perl Sections... I've read briefly about them, but have not used it yet. Looks like I'll be learning it soon. I have many sites coming online in the near future that will have nearly identical setups like this one. Thanks Stas. Stas Bekman wrote: On Mon, 3 Apr 2000, Drew Taylor

Re: Sharing memory between Apache processes

2000-04-04 Thread Drew Taylor
as the effect that each server process keeps its own copy of the templates. I would like to avoid this by using some sort of shared memory between the server processes. Does any of you have any experience in this field (or even better examples of how to do it)? -- Drew Taylor Vialogix Communicatio

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
as '.cloudstock.com' you are saying that the domain should end in those characters. since cloudstock.com does not have a leading period, it will not match. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704.370.0550 http://www.vialogix.com

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
$cookie = $CGI-cookie( -name = 'cookieName', -value = $cookievalue, -path = '/', -domain = ".$domain.com", -expires = $expires); -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704.370.0550 http://www.vialogix.com

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
Drew Taylor wrote: Perrin Harkins wrote: Does your Set-Cookie header include a path setting? Some browsers require that. Yes, it sets the path to '/'. I'm sitting here scratching my head. I'm doing everything I know to do and it's not working... :-( Here's the relevant code

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
# Proper URI for www.kuro5hin.org VirtualHost 216.181.35.174 . ServerName www.kuro5hin.org ...etc... /VirtualHost Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704.370.0550 http://www.vialogix.com

Re: [slightly OT] Problem with cookies

2000-04-07 Thread Drew Taylor
es HTTP/1.1. Anyone that doesn't send the "host:" header goes into a permanent redirect loop. So the "problems" you're not seeing are probably from the people out there that can't get to your site to report the problems. :) -- Drew Taylor Vialogix Communications, Inc. 5

Re: [slightly OT] Problem with cookies

2000-04-07 Thread Drew Taylor
arge number of people relying on browsers sending the Host header to great effect.) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704.370.0550 http://www.vialogix.com

Re: how can you lwp-request to https?

2000-04-13 Thread Drew Taylor
credit card processor and it works nicely (once I overcame a bug in my particular Solaris installation). John D Groenveld wrote: Check an archive of the LWP mailing list, but I recall you need Crypt::SSLeay John [EMAIL PROTECTED] -- Drew Taylor Vialogix Communications, Inc. 501 N. College

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Drew Taylor
dule to do checkboxes/pull-down list generation ALA CGI.pm. I might rip off some code and create a module myself. I think it would be a good first project (or maybe not - who knows until I try?) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370

Re: write a filefrom a navigator

2000-04-25 Thread Drew Taylor
rld writable directories! Hope this helps. On a unix box you would type the following (based on your example): chmod o+w /home/httpd/cgi-bin -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: mod_proxy and Name based Virtual Hosts

2000-04-27 Thread Drew Taylor
... ErrorLog... CustomLog... /VirtualHost ... etc, for all nbvh's. It can't be this hard, can it? I just want my vhosts config on 1 server - not both! And I don't want to be changing my setup - i.e. no mod_rewrite to rewrite to DocRoot/hostname - that's just annoying! -- Drew Taylor Vialogix

Re: PerlAddVar ?

2000-05-08 Thread Drew Taylor
rem" situations? :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Newbie Question -

2000-05-08 Thread Drew Taylor
) Apache::Request and still have the few HTML generation methods that I need. This would be similar to Apache::RequestNotes. One day I'll actually do it when I convert my CGI scripts to perl handlers... -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370

Re: Newbie Question -

2000-05-09 Thread Drew Taylor
Peter Haworth wrote: Drew Taylor wrote: What I would really like is a module which subclasses Apache::Request, and has the popup_menu, scrolling_list, and checkbox group methods available. That way I can use the smaller (faster) Apache::Request and still have the few HTML generation

Re: Newbie Question -

2000-05-09 Thread Drew Taylor
Geoffrey Young wrote: Drew Taylor wrote: I'm quite sure it would be an easy write, but I just haven't done it yet. I think once I convert my CGIs to handlers, it makes sense to do it then. It would be interesting to see if anyone else is interested and work out an API for the most

Re: 100% sessions?

2000-05-09 Thread Drew Taylor
that the community needs a comprehensive solution, that combines the effectiveness of Apache::Session with the configurability to use cookies or URL tracking. Is there such a beast? Would it be hard to cobble it together with existing modules? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street

Re: 100% sessions?

2000-05-09 Thread Drew Taylor
f how many ordinary users surf with cookies turned off. I just decided to force people to have them. Call me evil, but I got it past the boss. :-) Does anyone have reliable information about this topic? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370

Re: Best approach for loading several modules

2000-05-12 Thread Drew Taylor
mon module which then use'es all the other modules you need? It's well worth the effort IMHO... -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-17 Thread Drew Taylor
Autarch wrote: On Wed, 17 May 2000, Peter Haworth wrote: Drew Taylor and I are about to write a subclass of Apache::Request which includes form element generation methods, a la CGI.pm. The current favourite name is Apache::Request::Forms, but we'd like to know if anyone has a better

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-17 Thread Drew Taylor
d it. Well, in our case we are looking to make it mod_perl specific. See my previous post for my reasoning why. The name is not terribly important to me, but the Apache:: namespace seemed appropriate for it's mod_perl specificness (is that a word?). -- Drew Taylor Vialogix Communications, Inc. 501

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-17 Thread Drew Taylor
object I can use to get form params OR generate HTML, ala CGI.pm, but mod_perl specific for speed reasons. The idea is to have as small a memory footprint as possible, using the mod_perl API only. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-17 Thread Drew Taylor
smaller, as far as memory usage goes. :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-17 Thread Drew Taylor
e::Request (written in C as we all know), and it is my understanding that Apache::Request is faster that CGI.pm. It sounds like this might all be moot anyway once CGI.pm v 3 is released. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Drew Taylor
that much thought. Well, I wouldn't mind doing it in C (since the raison d'etre is to be as absolutely fast lean as possible), but I don't know C. :-( -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Drew Taylor
The effect is to emulate CGI.pm, while being leaner simpler. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Drew Taylor
brian moseley wrote: On Thu, 18 May 2000, Drew Taylor wrote: I personally have code that puts a CGI.pm object in the object ($self), which is then used for both HTML generation AND fetching params AND cookies. For example, I have lines like 'my $val = $self-{CGI}-param('blah

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Drew Taylor
be welcome. The whole module is beginning to coalesce more in my mind after all this discussion. :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Drew Taylor
a string using .= instead of using smarter methods, like pushing strings onto an array and then joining it. I didn't know joining array elements was faster. How much slower is using the .= operator rather than join "\n", @array? -- Drew Taylor Vialogix Communications, Inc. 501 N. Coll

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Drew Taylor
their work than to redo it. Based on the comment on CGI.pm v3, I guess a look-see at the new code is required. As you say, why re-implement the wheel? I'm primarily concerned with memory usage, and speed secondary. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-19 Thread Drew Taylor
or stylesheets. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: mod_perl and IPC

2000-05-22 Thread Drew Taylor
the error "Couldn't find free segment" or something like that when trying to initialize the cache. The system engineers are supposed to be changing this kernel parameter, but I haven't heard back from them yet. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte

Re: mod_perl and IPC

2000-05-22 Thread Drew Taylor
testers? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: mod_perl and IPC

2000-05-22 Thread Drew Taylor
Drew Taylor wrote: Karyn Ulriksen wrote: Great News! But it is true. It works great. I monitor the servers closely because I have quite a lot packed into them and the PHP module likes to get ugly once in a while. I use the IPC::Cache module to simply stash information I retrieve

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-23 Thread Drew Taylor
. :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Apache::Registry script problem

2000-05-24 Thread Drew Taylor
: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib' If anyone has ideas, I'd love to hear them. And of course, I can go into much greater detail if necessary. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street

Re: Apache::Registry script problem

2000-05-25 Thread Drew Taylor
Doug MacEachern wrote: On Wed, 24 May 2000, Drew Taylor wrote: The part that changes is the 'cloudstock' and '1'. However, I occasionally (and not reliably) get a page from cloudstock.com using the wiredstock.com scripts! On some debugging, I can verify that when this happens

Re: Apache::Registry script problem

2000-05-25 Thread Drew Taylor
Doug MacEachern wrote: On Thu, 25 May 2000, Drew Taylor wrote: I have tried many things to solve this problem. Many thanks go to Geoffrey Young who helped me privately (and clued me into a great solution to another future maintenance problem as well!). i glad your problem is solved

Re: High-volume mod_perl based ecommerce sites?

2000-05-25 Thread Drew Taylor
for a single site, but it would benefit a LOT from OO perl. Objects are the only thing currently saving my butt from meltdown. :-) YMMV of course. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: High-volume mod_perl based ecommerce sites?

2000-05-26 Thread Drew Taylor
ce section on OO. But, learning OO in a Java or C++ context would probably be the best way to start. I'll third Damian's book. It is clear, concise, and VERY informative. It has helped me (with no formal programming background) tremendously in learning OO Perl and OO in general. A Must Read IMHO.

[OT] Re: Cache control

2000-05-26 Thread Drew Taylor
e mac side have to be tweaked, and I have a lot of code to rework to send the proper stylesheet! Microsoft seems to be very partial to standards - CSS1 is completely implemented in IE5 mac, but it still caches dynamic content! Anyway, sorry for the OT post. I just had to vent... :-) -- Drew Taylo

Sending multiple cookies per request

2000-05-26 Thread Drew Taylor
= [$customerCookie,$lightboxCookie]); ) It's not a problem to add Apache::Cookie, but if I don't have to load it I won't. :-) TIA. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Sending multiple cookies per request

2000-05-26 Thread Drew Taylor
Thank you both for the quick response. I was just reading pg 443 which was telling me about the $r-headers_out reference to Apache::Table. [EMAIL PROTECTED] wrote: From the man pages of Apache $r-headers_out-add('Set-Cookie',$cookie); :) -- Drew Taylor Vialogix Communications, Inc

Re: Authentication implementation

2000-05-26 Thread Drew Taylor
on CPAN that do this -- Apache::AuthCookie, for example, which uses the Authentication and Authorization phases to do this. I can verify that AuthCookie works great. I had it running on one particular site in less than an hour. It was very easy to setup. -- Drew Taylor Vialogix Communications

Re: Apache::GzipChain and scalability

2000-05-26 Thread Drew Taylor
in the past about which browsers will reliably accept gzip content. Do you have a list of such browsers? IIRC, it was IE that was the most troublesome w/ proper display. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache::GzipChain and scalability

2000-05-26 Thread Drew Taylor
"Randal L. Schwartz" wrote: "Drew" == Drew Taylor [EMAIL PROTECTED] writes: Drew I have read debates in the past about which browsers will reliably Drew accept gzip content. Do you have a list of such browsers? IIRC, it was Drew IE that was the most troublesome w/ pr

Re: Wierd problem with redirect

2000-05-26 Thread Drew Taylor
the page, it will again try to do what I am doing in this, which I don't want to happen. How do I make the address (URL) to change according to the page it is showing. You might want to try adding a Status 302 (moved temporarily) header. I don't know if it would solve your problem, but it should

Data structure question

2000-06-06 Thread Drew Taylor
(performance wise) that would make this less efficient than the 2 structures? TIA for any pointers. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Data structure question

2000-06-06 Thread Drew Taylor
"Ken Y. Clark" wrote: On Tue, 6 Jun 2000, Drew Taylor wrote: I have a question about data structures. Currently, I am doing SQL queries and returning an array ref and a hash ref. The array is to preserve order, and the hash contains various bits of data about that not t

Re: Data structure question

2000-06-06 Thread Drew Taylor
for your excellent book! - but there is a performance penalty. How big is this penalty? Is it worth using tied hashes? Versus an array of hash refs? At 12:39 PM 6/6/00 -0400, Drew Taylor wrote: Hello, This doesn't directly relate to mod_perl, but I'd like to make this as memory efficient

Re: Data structure question

2000-06-06 Thread Drew Taylor
this module impose? I've heard about it in my readings, but never looked into it very much. Does anyone have experience using Tie::IxHash? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Data structure question

2000-06-06 Thread Drew Taylor
in the result set: That is a very neat idea. From a logical point of view, I like it. However, in my case that would be unnecessary overkill. I'll file it away for future use. :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Data structure question

2000-06-06 Thread Drew Taylor
I'm afraid to implement them yet until I've had time to play with them more. also take a look at this: Building a Better Hash http://www.dfan.org/real/tpj_hash.html I'll definately take a look at this article. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC

Re: Data structure question

2000-06-06 Thread Drew Taylor
the need for the array. ;-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Data structure question

2000-06-06 Thread Drew Taylor
need it. I just have to transfer that structure/order to the rest of my code. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Data structure question

2000-06-06 Thread Drew Taylor
Stas Bekman wrote: On Tue, 6 Jun 2000, Perrin Harkins wrote: On Tue, 6 Jun 2000, Drew Taylor wrote: I know about tied hashes - Thanks Damien for your excellent book! - but there is a performance penalty. How big is this penalty? Is it worth using tied hashes? Versus an array

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-08 Thread Drew Taylor
kie"=$my_cookie); return OK; } This code is good. But it doesn't jive with what you have above. Try making the first handler() actually get the cookie. Or am I missing something? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache::ASP

2000-06-08 Thread Drew Taylor
pages. Nothing you can do to Apache::ASP is going to fix the problems you are having. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-08 Thread Drew Taylor
eventually... -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-08 Thread Drew Taylor
ut I don't think I am in this case. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-08 Thread Drew Taylor
on a long week - does that get me off the hook? Note to self: double check your memory next time. :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Drew Taylor
critical factors in cookies. Could you post the result HTTP headers for perusal? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Drew Taylor
. :-) BTW, google took me right to wsnitch's homepage using the "I feel lucky" option. Google rocks! -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

[OT now] Re: Template techniques

2000-06-09 Thread Drew Taylor
always open to suggestions. I really like the fact that templates can be compiled to perl code cached. Any others besides Mason EmbPerl (and TT in the near future)? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Drew Taylor
. :-) Glad I could help diagnose your problem. The thing I like most about open source is the free, cheerful help I get from both authors fellow users. I'm just helping to pay my dues. Have a great weekend. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704

Re: err_headers_out Q

2000-06-09 Thread Drew Taylor
calling send_http_header(), if the headers_out table is not empty, add them to the outgoing headers. Am I correct? If so, what is the rational behind this? I thought that err_headers_out were only sent if an error occured. I would have made the same assumption as Geoff. -- Drew Taylor Vialogix

Re: err_headers_out Q

2000-06-09 Thread Drew Taylor
... that makes sense. So if you want a header printed no matter what, add it to err_headers_out. I'll have to remember that. Thanks for the clarification! -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Problems with Apache::DBI

2000-06-12 Thread Drew Taylor
odify your banner module. If you've installed Apache::DBI, simply grab the manpage, but basically, all you do is add it to startup.pl. Neat, ain't it!! :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: uninitialized value at ... CGI/Cookie.pm line 70.

2000-06-14 Thread Drew Taylor
of hard to tell since it looks like you snipped some lines. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Modperl Test Problem and Redhat6.2 Apache::DBI strange thing. Thanks.

2000-06-14 Thread Drew Taylor
s on this list would agree. The RPM that shipped with RH 6.1 (what about RH 6.2?) was very broken in several respects. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Platform list

2000-06-19 Thread Drew Taylor
on some high-end SGI hardware. So the answer is yes, it does work - and pretty well from what I remember. :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Drew Taylor
such software would be useful to others. I'd love to see such a thing. I need to put together a benchmark program myself. Why not build on the backs of giants? :-) -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

$r-path_info question

2000-06-27 Thread Drew Taylor
l tree. I currently am using my $filename = (split /\//, $r-path_info)[1]; but it seems like such a hack. What is the "suggested" way to get the "A1234567.jpg" part of the above URL? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: $r-path_info question

2000-06-27 Thread Drew Taylor
David Kenzik wrote: Drew Taylor said... I currently am using my $filename = (split /\//, $r-path_info)[1]; but it seems like such a hack. What is the "suggested" way to get the "A1234567.jpg" part of the above URL? Since Apache sets path_info by s

Browser Sniffing

2000-06-29 Thread Drew Taylor
the user-agent strings are terribly inconsistent... -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Browser Sniffing

2000-06-29 Thread Drew Taylor
'; } print STDERR "BrowserPlatform: Browser=$browser Platform=$platform Version=$version\n" if $DEBUG; return ($browser, $platform, $version); } -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Browser Sniffing

2000-06-29 Thread Drew Taylor
Ask Bjoern Hansen wrote: On Thu, 29 Jun 2000, Drew Taylor wrote: I'm hoping it's been done already, because the user-agent strings are terribly inconsistent... I needed something like that once and ended up with this: snip Cool! I ripped off the browser version code. It seemed much

Re: Browser Sniffing

2000-06-30 Thread Drew Taylor
. ;-) Thanks for the links. HTTP-BrowserDetect looks especially useful. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Browser Sniffing

2000-06-30 Thread Drew Taylor
a quick dirty PerlFixupHandler which I'm currently using (and it works :-). Would anyone be interested in the code? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Using handler for index

2000-07-10 Thread Drew Taylor
he default directory listing. Is there another solution instead of a RewriteRule to redirect "/" to "/index.pl"? Any thoughts would be appreciated. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Using handler for index

2000-07-10 Thread Drew Taylor
darren chamberlain wrote: Drew Taylor ([EMAIL PROTECTED]) said something to this effect: Hi all, I am using an Apache Handler module to create my home page, using Location /index.pl SetHandler perl-script PerlHandler ModuleName /Location I have DirectoryIndex set

Re: Using handler for index

2000-07-10 Thread Drew Taylor
again now. OK, I just tried it, and it overrode everything else. :-( -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Using handler for index

2000-07-10 Thread Drew Taylor
Matt Sergeant wrote: On Mon, 10 Jul 2000, Drew Taylor wrote: darren chamberlain wrote: Drew Taylor ([EMAIL PROTECTED]) said something to this effect: Hi all, I am using an Apache Handler module to create my home page, using Location /index.pl SetHandler

Re: Using handler for index

2000-07-10 Thread Drew Taylor
just tried it, and it overrode everything else. :-( Try LocationMatch ^/$ Thanks to both of you. I have never used the regular expression part of the directives before. This is exactly what I need. Thanks! -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202

Is variable initialization necessary?

2000-07-10 Thread Drew Taylor
-initialization where initialization creates a sizable more percentage of calls. So my question is: Is variable initialization necessary? Is being a lexical enough? To date, I've played it safe. But if I don't have to... then I won't. Does anyone have good evidence either way? -- Drew Taylor Vialogix

Re: Is variable initialization necessary?

2000-07-10 Thread Drew Taylor
cessary (and in fact a performance decrease). -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

[OT] Re: Is variable initialization necessary?

2000-07-10 Thread Drew Taylor
Vivek Khera wrote: "DT" == Drew Taylor [EMAIL PROTECTED] writes: DT My underlying concern is that each time the code is run, I get "clean" DT variables. Every variable is a lexical. If that is enough to guarantee DT emptiness on each run, then initialization is unne

Re: Is variable initialization necessary?

2000-07-10 Thread Drew Taylor
concensus. It sounds like all the major CPAN modules initialize to avoid warnings under -w, so I'll keep on my previous course. All in all, it was an interesting discussion - it mostly satisfied my curiosity. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370

Re: Is variable initialization necessary?

2000-07-11 Thread Drew Taylor
. Thanks again. Drew Barrie Slaymaker wrote: Drew Taylor wrote: Does anyone have good evidence either way? I don't see how Csub { my $foo ; ... could ever fail to undef $foo, modulo bugs in perl. A hell of a lot of code wouldn't work, then. My practice is to never init lexicals

Re: Best book

2000-07-11 Thread Drew Taylor
ented Perl". Scott On 11 Jul 2000, at 10:22, Pramod Sokke wrote: Any ideas on which is the best book available out there for mod_perl? I second that! It has been an invaluable source of information. And it is very readable as well. :-) -- Drew Taylor Vialogix Communications, Inc. 501

Re: Templating system

2000-07-27 Thread Drew Taylor
version 2 to come out... -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Templating System

2000-07-28 Thread Drew Taylor
for it (yet). Keep up the excellent work on these other frameworks - I might get to use them one day. :-) My $0.02. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Seeking advice on excessive memory usage

2000-07-28 Thread Drew Taylor
, DO IT! I now run about 12 mod_perl processes and about 50 "normal" httpd processes, versus 40+ mod_perl processes which sucked up GOBS of ram. The site runs quite fast, although I have not done any benchmarking with the likes of ab. Remember, mod_proxy is your friend -- Drew Taylo

Re: Templating System

2000-07-28 Thread Drew Taylor
David Hodgkinson wrote: Drew Taylor [EMAIL PROTECTED] writes: While I would love to have the session management form goodies of the other template systems, our production people are not ready for it (yet). Keep up the excellent work on these other frameworks - I might get to use

Re: Feature sets [was Re: Templating System]

2000-07-28 Thread Drew Taylor
to look at this technology. I'm currently using SSI to call mod_perl scripts to handle the dynamic parts of the pages but this is getting very unwieldy when I start doing form handling. If you would like some help with the comparison, please let me know. -- Drew

Re: Templating system

2000-07-28 Thread Drew Taylor
require(). What about having a shared memory cache ala HTML::Template? A disk cache is great, but I have RAM to spare at the moment. Any plans for a shared in-memory cache? (Someone had pointed out that TT does have in memory caching, but it is only per-process.) -- Drew Taylor Vialogix Communications

Re: Templating System

2000-07-28 Thread Drew Taylor
to newbies who don't want to slog through the hundreds of search returns on CPAN. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Feature sets [was Re: Templating System]

2000-07-28 Thread Drew Taylor
of features and let the developers check off the options their system supports. My biggest question is who comes up with the feature list in the first place? -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

Re: Feature sets [was Re: Templating System]

2000-07-28 Thread Drew Taylor
draft done, I will post with a link to the document. I'll just grow and evolve the document(s) as needed. -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704 370 0550 http://www.vialogix.com/

  1   2   >