Re: can PerlTransHandler deal with this?

2006-05-11 Thread Fayland Lam
Frank Maas wrote: I think i'm using the wrong handler, but is there any handler can handle this problem? As far as I can remember mod_rewrite kicks in after a PerlTransHandler. This should enable you to use a TransHandler to rewrite the URI based on the database contents, eg: http://o.exampl

Re: Rookie question: executable file types.

2006-05-11 Thread Jonathan Vanasco
On May 11, 2006, at 11:35 AM, Michael Peters wrote: I personally don't like this approach to organizing since it means you have to list out all of the stuff that should work normally. I prefer to move my application a directory down. You can also do something like this: my

Re: Rookie question: executable file types.

2006-05-11 Thread Fabián R. Breschi
Hi Michael,   I agree with your point of view, as a matter of fact it is necessary to make implicit references in httpd.conf for every usable directory, unfortunately I'm a bit locked to that type of structure, I'd surely prefer to move down the app directory as you sad.   I have come across to th

Re: Rookie question: executable file types.

2006-05-11 Thread Michael Peters
Fabián R. Breschi wrote: > I'd need a certain degree of flexibility, for example a directory > structure to hold my files like this: You can use something like this (using apache/mp 1) > /usr/local/apache/cgi-bin/test... <<< executables SetHandler perl-script PerlHandler Apache::Registry

Rookie question: executable file types.

2006-05-11 Thread Fabián R. Breschi
Dear All,   I'm a bit confused on how Perl/ModPERl sources executables within subdirs. I'm using Apache/1.3.12 (Unix) mod_perl/1.27.   The directory from where I run the .pl executables is /usr/local/apache/cgi-bin/test. As far as I know, the subdirectories below that one are only allowed to execut

Re: clusters

2006-05-11 Thread E.Q. McGoon
Jonathan Vanasco wrote: > Chiming in on everything thats been said: > > Proxy > You can also use lighttpd for proxying. I do and find it works well > http://lighttpd.org > > Cluster DB > Postgresql has slony for replication > http://gborg.postgresql.org/p

RE: can PerlTransHandler deal with this?

2006-05-11 Thread Frank Maas
> I think i'm using the wrong handler, but is there any handler can handle > this problem? As far as I can remember mod_rewrite kicks in after a PerlTransHandler. This should enable you to use a TransHandler to rewrite the URI based on the database contents, eg: http://o.example.com/2.gif -> h

Re: can PerlTransHandler deal with this?

2006-05-11 Thread John ORourke
Fayland Lam wrote: let me describe my situation. we have something like http://o1.example.com/1.jpg and we have a table like: 1.jpg | o1 and now we want the people visit this by http://o.example.com/1.jpg yes, o1,o2,o3 are different servers. I'd like to config the o.example.com like PerlTrans

can PerlTransHandler deal with this?

2006-05-11 Thread Fayland Lam
let me describe my situation. we have something like http://o1.example.com/1.jpg http://o2.example.com/2.gif http://o3.example.com/4.jpg and we have a table like: img | site 1.jpg | o1 2.gif | o2 and now we want the people visit this by http://o.example.com/1.jpg http://o.example.com/2.