Lighttpd has error-handler-404 feature which is useful as dynamic content handler.
But it seems that Catalyst does not support this.
This is problem of Catalyst's environment parser (Catalyst::Engine::CGI)
When I set error-handler-404 to "/script/myapp_fastcgi.pl" and request /foo/bar (no exsits path),
Lighttpd call /script/myapp_fastcgi.pl with following %ENV
PATH_INFO and QUERY_STRING are always empty via error-handler-404.REQUEST_URI: /foo/bar
REDIRECT_URI: /script/myapp_fastcgi.pl
PATH_INFO: ''
QUERY_STRING: ''
Instead of those vars, set REQUEST_URI (path+query)
It seems that Lighttpd always set REQUEST_URI whether error-handler is set or not.
So the solution about this problem is that Engine::CGI parses REQUEST_URI for any lighttpd's request.
Here is the patch:
Update at 2006-09-09 14:36 +0900: updated patch--- /usr/local/share/perl/5.8.8/Catalyst/Engine/CGI.pm 2006-07-20 06:45:16.000000000 +0900
+++ lib/Catalyst/Engine/CGI.pm 2006-09-09 20:07:45.000000000 +0900
@@ -140,12 +140,28 @@
my $path = $base_path . ( $ENV{PATH_INFO} || '' );
$path =~ s{^/+}{};- my $uri = URI->new;
- $uri->scheme($scheme);
- $uri->host($host);
- $uri->port($port);
- $uri->path($path);
- $uri->query( $ENV{QUERY_STRING} ) if $ENV{QUERY_STRING};
+ my $uri;
+
+ # lighttpd always set requested uri into REQUEST_URI
+ if ( ( $ENV{SERVER_SOFTWARE} || '' ) =~ /lighttpd/ and $ENV{REQUEST_URI} ) {
+ $uri = URI->new( $ENV{REQUEST_URI} );
+ $uri->scheme($scheme);
+ $uri->host($host);
+ $uri->port($port);
+
+ use YAML;
+ warn Dump $uri;
+
+ $ENV{QUERY_STRING} = $uri->query if $uri->query;
+ }
+ else {
+ $uri = URI->new;
+ $uri->scheme($scheme);
+ $uri->host($host);
+ $uri->port($port);
+ $uri->path($path);
+ $uri->query( $ENV{QUERY_STRING} ) if $ENV{QUERY_STRING};
+ }# sanitize the URI
$uri = $uri->canonical;
@@ -167,7 +183,11 @@
my ( $self, $c ) = @_;
local (*ENV) = $self->env || \%ENV;- if ( $ENV{QUERY_STRING} ) {
+ if ( ( $ENV{SERVER_SOFTWARE} || '' ) =~ /lighttpd/ and $ENV{REQUEST_URI} ) {
+ my ($query_string) = $ENV{REQUEST_URI} =~ /\?(.*)/;
+ $self->SUPER::prepare_query_parameters( $c, $query_string );
+ }
+ elsif ( $ENV{QUERY_STRING} ) {
$self->SUPER::prepare_query_parameters( $c, $ENV{QUERY_STRING} );
}
}
Update at 2006-09-09 20:13 +0900: updated patch again, added prepare_query_parameters fixes for query_parameters.
I will test this out tonight and let you know how to goes.
Posted by: jrockway | 09/09/2006 at 03:50 AM
бесплатное порно, скачать порно видео, бесплатно скачать порно ролики, смотреть порно онлайн
порно онлайн, смотреть порно ролики онлайн, порно видео бесплатно, скачать порно бесплатно
смотреть порно онлайн, порно видео ролики скачать бесплатно, бесплатное порно онлайн, бесплатные порно ролики
скачать порно бесплатно, порно ролики онлайн, порно видео бесплатное
Posted by: mi6gan222 | 08/19/2009 at 06:37 PM
[this is good] At me a similar situation. Is ready to help.
Posted by: Humphry Stubbs | 05/02/2010 at 08:09 AM
Amoxicillin 500 Dosage Clavulanate Potassium [url=http://members.americanangler.com/furosemidenoprescription/ ]Furosemide Without Prescription[/url] What Will You Use Amoxicillin For Conceiving Clomid And Metformin Discount Flagyl No Prescriptions Amoxicillin Dba [url=http://www.netvibes.com/zetia ]Online Order Zetia Online[/url] Conceive Metformin And Clomid Brand Vardenafil No Doctor Flagyl Hallucinations Common Side Effects Of Clomid How Long Is Cycle On Clomid Unexplained Infertility [url=http://www.buncospace.com/clomidnoprescription/ ]Clomid Online No Prescription[/url] Odds Of Duplicates On Clomid Overweight For Clomid Clomid Patient Information How Long Can You Stay And Clomid [url=http://www.buncospace.com/amoxicillinnoprescription/ ]Buy Amoxicillin No Prescription[/url] Physician Prescription Vardenafil Hcl Sore Breasts After Clomid 50mg Amoxicillin Vs Drug Lavorare A Flagyl [url=http://members.americanangler.com/flagylwithoutprescription/ ]Flagyl Without Prescription[/url] Flagyl No Prescription Overnight Metformin 100 Mg Clomid Tonsillitis Treatment Amoxicillin Allergic Taking Amoxicillin With Flu [url=http://members.americanangler.com/vardenafilwithoutprescription/ ]Buy Vardenafil No Prescription[/url] Amoxicillin Antibiotic And Pregnancy Urinary Tract Infection Cost Of Clomid And Iui Does Clomid Prevent Pregnancy [url=http://genericdrugsaving.com/buy-myambutol-usa.html]buy generic myambutol cheap[/url] Urinary Tract Infection No Prescription Amoxicillin Metformin Vs Clomid Trying To Get Pregnant Amoxicillin Tired
Posted by: vadyEncappy | 10/02/2011 at 05:01 PM
Buy Tramadol Online Bargain Garden Grove [url=http://www.netvibes.com/clonazepam2mg ]Clonazepam 2mg Ml[/url] Clonazepam 1mg Gamma Aminobutyric Acid Ann Arbor Buy Finasteride No Prescription Uk France Cephalexin No Prescription Day Maryland Clonazepam Er 2 Mg Charlotte [url=http://www.netvibes.com/katze2012 ]Buy Tramadol Online Without A Otc Garden Grove[/url] Cephalexin No Prescription Click Here Fort Lauderdale Cephalexin No Prescriptions Nebraska Cephalexin No Prescription Hq Fort Collins Cephalexin No Prescription Day Tallahassee Cephalexin No Prescription Year North Dakota [url=http://www.netvibes.com/clomid50mg ]Clomid 50mg One Baby Please Richmond[/url] Clonazepam 1mg Prescription St. Louis (Saint Louis) Cephalexin No Prescription Vista Illinois Cephalexin No Prescriptions Drugs Buy Cheap Los Angeles Clonazepam 5mg Ann Arbor [url=http://www.mycraft.com/finasteridenoprescription ]Buy Finasteride With No Prescription Wisconsin[/url] Clonazepam 2.0 Hawaii Cephalexin No Prescription List Rhode Island Cephalexin No Prescription Acheter San Diego Cephalexin No Prescription Sort New Orleans [url=http://www.netvibes.com/singulair10mg ]Buy Singulair s Pharmacy[/url] Clonazepam 1mg Dose Santa Rosa Clonazepam 500 Mg Daly City Cephalexin No Prescription Cleocin Boise Clonazepam 2 Mg Allentown [url=http://www.buncospace.com/cephalexinnoprescription ]Cephalexin No Prescription Vista Georgia[/url] Clonazepam 25mg North Carolina Cephalexin No Prescriptions For Sale Topeka Cephalexin No Prescriptions Download Durham [url=http://www.archive.org/details/DsfSdfsDfasdfssdfgSdfgSdfgSdf]Buy Viagra Online Get Pharmacy Approved[/url] Buy Tramadol Online Without A Pharmacy Fairfield Cephalexin No Prescriptions Rx Gilbert Buy Singulair s Pharmacy
Posted by: neillange | 10/14/2011 at 04:55 PM
Buy Tramadol Online Bargain Garden Grove [url=http://www.netvibes.com/clonazepam2mg ]Clonazepam 2mg Ml[/url] Clonazepam 1mg Gamma Aminobutyric Acid Ann Arbor Buy Finasteride No Prescription Uk France Cephalexin No Prescription Day Maryland Clonazepam Er 2 Mg Charlotte [url=http://www.netvibes.com/katze2012 ]Buy Tramadol Online Without A Otc Garden Grove[/url] Cephalexin No Prescription Click Here Fort Lauderdale Cephalexin No Prescriptions Nebraska Cephalexin No Prescription Hq Fort Collins Cephalexin No Prescription Day Tallahassee Cephalexin No Prescription Year North Dakota [url=http://www.netvibes.com/clomid50mg ]Clomid 50mg One Baby Please Richmond[/url] Clonazepam 1mg Prescription St. Louis (Saint Louis) Cephalexin No Prescription Vista Illinois Cephalexin No Prescriptions Drugs Buy Cheap Los Angeles Clonazepam 5mg Ann Arbor [url=http://www.mycraft.com/finasteridenoprescription ]Buy Finasteride With No Prescription Wisconsin[/url] Clonazepam 2.0 Hawaii Cephalexin No Prescription List Rhode Island Cephalexin No Prescription Acheter San Diego Cephalexin No Prescription Sort New Orleans [url=http://www.netvibes.com/singulair10mg ]Buy Singulair s Pharmacy[/url] Clonazepam 1mg Dose Santa Rosa Clonazepam 500 Mg Daly City Cephalexin No Prescription Cleocin Boise Clonazepam 2 Mg Allentown [url=http://www.buncospace.com/cephalexinnoprescription ]Cephalexin No Prescription Vista Georgia[/url] Clonazepam 25mg North Carolina Cephalexin No Prescriptions For Sale Topeka Cephalexin No Prescriptions Download Durham [url=http://www.archive.org/details/DsfSdfsDfasdfssdfgSdfgSdfgSdf]Buy Viagra Online Get Pharmacy Approved[/url] Buy Tramadol Online Without A Pharmacy Fairfield Cephalexin No Prescriptions Rx Gilbert Buy Singulair s Pharmacy
Posted by: neillange | 10/14/2011 at 04:55 PM
Buy Tramadol Online Bargain Garden Grove [url=http://www.netvibes.com/clonazepam2mg ]Clonazepam 2mg Ml[/url] Clonazepam 1mg Gamma Aminobutyric Acid Ann Arbor Buy Finasteride No Prescription Uk France Cephalexin No Prescription Day Maryland Clonazepam Er 2 Mg Charlotte [url=http://www.netvibes.com/katze2012 ]Buy Tramadol Online Without A Otc Garden Grove[/url] Cephalexin No Prescription Click Here Fort Lauderdale Cephalexin No Prescriptions Nebraska Cephalexin No Prescription Hq Fort Collins Cephalexin No Prescription Day Tallahassee Cephalexin No Prescription Year North Dakota [url=http://www.netvibes.com/clomid50mg ]Clomid 50mg One Baby Please Richmond[/url] Clonazepam 1mg Prescription St. Louis (Saint Louis) Cephalexin No Prescription Vista Illinois Cephalexin No Prescriptions Drugs Buy Cheap Los Angeles Clonazepam 5mg Ann Arbor [url=http://www.mycraft.com/finasteridenoprescription ]Buy Finasteride With No Prescription Wisconsin[/url] Clonazepam 2.0 Hawaii Cephalexin No Prescription List Rhode Island Cephalexin No Prescription Acheter San Diego Cephalexin No Prescription Sort New Orleans [url=http://www.netvibes.com/singulair10mg ]Buy Singulair s Pharmacy[/url] Clonazepam 1mg Dose Santa Rosa Clonazepam 500 Mg Daly City Cephalexin No Prescription Cleocin Boise Clonazepam 2 Mg Allentown [url=http://www.buncospace.com/cephalexinnoprescription ]Cephalexin No Prescription Vista Georgia[/url] Clonazepam 25mg North Carolina Cephalexin No Prescriptions For Sale Topeka Cephalexin No Prescriptions Download Durham [url=http://www.archive.org/details/DsfSdfsDfasdfssdfgSdfgSdfgSdf]Buy Viagra Online Get Pharmacy Approved[/url] Buy Tramadol Online Without A Pharmacy Fairfield Cephalexin No Prescriptions Rx Gilbert Buy Singulair s Pharmacy
Posted by: neillange | 10/14/2011 at 04:55 PM
Buy Tramadol Online Bargain Garden Grove [url=http://www.netvibes.com/clonazepam2mg ]Clonazepam 2mg Ml[/url] Clonazepam 1mg Gamma Aminobutyric Acid Ann Arbor Buy Finasteride No Prescription Uk France Cephalexin No Prescription Day Maryland Clonazepam Er 2 Mg Charlotte [url=http://www.netvibes.com/katze2012 ]Buy Tramadol Online Without A Otc Garden Grove[/url] Cephalexin No Prescription Click Here Fort Lauderdale Cephalexin No Prescriptions Nebraska Cephalexin No Prescription Hq Fort Collins Cephalexin No Prescription Day Tallahassee Cephalexin No Prescription Year North Dakota [url=http://www.netvibes.com/clomid50mg ]Clomid 50mg One Baby Please Richmond[/url] Clonazepam 1mg Prescription St. Louis (Saint Louis) Cephalexin No Prescription Vista Illinois Cephalexin No Prescriptions Drugs Buy Cheap Los Angeles Clonazepam 5mg Ann Arbor [url=http://www.mycraft.com/finasteridenoprescription ]Buy Finasteride With No Prescription Wisconsin[/url] Clonazepam 2.0 Hawaii Cephalexin No Prescription List Rhode Island Cephalexin No Prescription Acheter San Diego Cephalexin No Prescription Sort New Orleans [url=http://www.netvibes.com/singulair10mg ]Buy Singulair s Pharmacy[/url] Clonazepam 1mg Dose Santa Rosa Clonazepam 500 Mg Daly City Cephalexin No Prescription Cleocin Boise Clonazepam 2 Mg Allentown [url=http://www.buncospace.com/cephalexinnoprescription ]Cephalexin No Prescription Vista Georgia[/url] Clonazepam 25mg North Carolina Cephalexin No Prescriptions For Sale Topeka Cephalexin No Prescriptions Download Durham [url=http://www.archive.org/details/DsfSdfsDfasdfssdfgSdfgSdfgSdf]Buy Viagra Online Get Pharmacy Approved[/url] Buy Tramadol Online Without A Pharmacy Fairfield Cephalexin No Prescriptions Rx Gilbert Buy Singulair s Pharmacy
Posted by: neillange | 10/14/2011 at 04:55 PM
Buy Tramadol Online Bargain Garden Grove [url=http://www.netvibes.com/clonazepam2mg ]Clonazepam 2mg Ml[/url] Clonazepam 1mg Gamma Aminobutyric Acid Ann Arbor Buy Finasteride No Prescription Uk France Cephalexin No Prescription Day Maryland Clonazepam Er 2 Mg Charlotte [url=http://www.netvibes.com/katze2012 ]Buy Tramadol Online Without A Otc Garden Grove[/url] Cephalexin No Prescription Click Here Fort Lauderdale Cephalexin No Prescriptions Nebraska Cephalexin No Prescription Hq Fort Collins Cephalexin No Prescription Day Tallahassee Cephalexin No Prescription Year North Dakota [url=http://www.netvibes.com/clomid50mg ]Clomid 50mg One Baby Please Richmond[/url] Clonazepam 1mg Prescription St. Louis (Saint Louis) Cephalexin No Prescription Vista Illinois Cephalexin No Prescriptions Drugs Buy Cheap Los Angeles Clonazepam 5mg Ann Arbor [url=http://www.mycraft.com/finasteridenoprescription ]Buy Finasteride With No Prescription Wisconsin[/url] Clonazepam 2.0 Hawaii Cephalexin No Prescription List Rhode Island Cephalexin No Prescription Acheter San Diego Cephalexin No Prescription Sort New Orleans [url=http://www.netvibes.com/singulair10mg ]Buy Singulair s Pharmacy[/url] Clonazepam 1mg Dose Santa Rosa Clonazepam 500 Mg Daly City Cephalexin No Prescription Cleocin Boise Clonazepam 2 Mg Allentown [url=http://www.buncospace.com/cephalexinnoprescription ]Cephalexin No Prescription Vista Georgia[/url] Clonazepam 25mg North Carolina Cephalexin No Prescriptions For Sale Topeka Cephalexin No Prescriptions Download Durham [url=http://www.archive.org/details/DsfSdfsDfasdfssdfgSdfgSdfgSdf]Buy Viagra Online Get Pharmacy Approved[/url] Buy Tramadol Online Without A Pharmacy Fairfield Cephalexin No Prescriptions Rx Gilbert Buy Singulair s Pharmacy
Posted by: neillange | 10/14/2011 at 04:56 PM
Buy Tramadol Online Bargain Garden Grove [url=http://www.netvibes.com/clonazepam2mg ]Clonazepam 2mg Ml[/url] Clonazepam 1mg Gamma Aminobutyric Acid Ann Arbor Buy Finasteride No Prescription Uk France Cephalexin No Prescription Day Maryland Clonazepam Er 2 Mg Charlotte [url=http://www.netvibes.com/katze2012 ]Buy Tramadol Online Without A Otc Garden Grove[/url] Cephalexin No Prescription Click Here Fort Lauderdale Cephalexin No Prescriptions Nebraska Cephalexin No Prescription Hq Fort Collins Cephalexin No Prescription Day Tallahassee Cephalexin No Prescription Year North Dakota [url=http://www.netvibes.com/clomid50mg ]Clomid 50mg One Baby Please Richmond[/url] Clonazepam 1mg Prescription St. Louis (Saint Louis) Cephalexin No Prescription Vista Illinois Cephalexin No Prescriptions Drugs Buy Cheap Los Angeles Clonazepam 5mg Ann Arbor [url=http://www.mycraft.com/finasteridenoprescription ]Buy Finasteride With No Prescription Wisconsin[/url] Clonazepam 2.0 Hawaii Cephalexin No Prescription List Rhode Island Cephalexin No Prescription Acheter San Diego Cephalexin No Prescription Sort New Orleans [url=http://www.netvibes.com/singulair10mg ]Buy Singulair s Pharmacy[/url] Clonazepam 1mg Dose Santa Rosa Clonazepam 500 Mg Daly City Cephalexin No Prescription Cleocin Boise Clonazepam 2 Mg Allentown [url=http://www.buncospace.com/cephalexinnoprescription ]Cephalexin No Prescription Vista Georgia[/url] Clonazepam 25mg North Carolina Cephalexin No Prescriptions For Sale Topeka Cephalexin No Prescriptions Download Durham [url=http://www.archive.org/details/DsfSdfsDfasdfssdfgSdfgSdfgSdf]Buy Viagra Online Get Pharmacy Approved[/url] Buy Tramadol Online Without A Pharmacy Fairfield Cephalexin No Prescriptions Rx Gilbert Buy Singulair s Pharmacy
Posted by: neillange | 10/14/2011 at 04:56 PM
Buy Tramadol Online Bargain Garden Grove [url=http://www.netvibes.com/clonazepam2mg ]Clonazepam 2mg Ml[/url] Clonazepam 1mg Gamma Aminobutyric Acid Ann Arbor Buy Finasteride No Prescription Uk France Cephalexin No Prescription Day Maryland Clonazepam Er 2 Mg Charlotte [url=http://www.netvibes.com/katze2012 ]Buy Tramadol Online Without A Otc Garden Grove[/url] Cephalexin No Prescription Click Here Fort Lauderdale Cephalexin No Prescriptions Nebraska Cephalexin No Prescription Hq Fort Collins Cephalexin No Prescription Day Tallahassee Cephalexin No Prescription Year North Dakota [url=http://www.netvibes.com/clomid50mg ]Clomid 50mg One Baby Please Richmond[/url] Clonazepam 1mg Prescription St. Louis (Saint Louis) Cephalexin No Prescription Vista Illinois Cephalexin No Prescriptions Drugs Buy Cheap Los Angeles Clonazepam 5mg Ann Arbor [url=http://www.mycraft.com/finasteridenoprescription ]Buy Finasteride With No Prescription Wisconsin[/url] Clonazepam 2.0 Hawaii Cephalexin No Prescription List Rhode Island Cephalexin No Prescription Acheter San Diego Cephalexin No Prescription Sort New Orleans [url=http://www.netvibes.com/singulair10mg ]Buy Singulair s Pharmacy[/url] Clonazepam 1mg Dose Santa Rosa Clonazepam 500 Mg Daly City Cephalexin No Prescription Cleocin Boise Clonazepam 2 Mg Allentown [url=http://www.buncospace.com/cephalexinnoprescription ]Cephalexin No Prescription Vista Georgia[/url] Clonazepam 25mg North Carolina Cephalexin No Prescriptions For Sale Topeka Cephalexin No Prescriptions Download Durham [url=http://www.archive.org/details/DsfSdfsDfasdfssdfgSdfgSdfgSdf]Buy Viagra Online Get Pharmacy Approved[/url] Buy Tramadol Online Without A Pharmacy Fairfield Cephalexin No Prescriptions Rx Gilbert Buy Singulair s Pharmacy
Posted by: neillange | 10/14/2011 at 04:56 PM