Re: [Catalyst] Too greedy name-based Virtual Host

2007-05-18 Thread Xavier Robin
Carl Johnstone a écrit : Have you setup another VirtualHost for site.domain.tld? The first VirtualHost is automatically the default for all hostnames that don't have their own VirtualHost configured. It was exactly that ! VirtualHost site1.domain.tld:80 ServerName

[Catalyst] Too greedy name-based Virtual Host

2007-05-16 Thread Xavier Robin
regards, Xavier Robin [1] http://httpd.apache.org/docs/2.0/vhosts/name-based.html PS : Apache 2.0.52 CentOS 4 (based on RedHat) mod_perl 2.0.3 Perl 5.8.5 Catalyst 5.008001 ___ List: Catalyst@lists.rawmode.org Listinfo: http

[Catalyst] Apache/mod_perl 2.0 deep documentation and troubleshooting

2007-04-02 Thread Xavier Robin
Hello, I have a Catalyst application MIAPE working as standalone server. Now I would like to use it in mod_perl (perl 5.8.5, Apache 2.0.52, mod_perl 2.0.3 on a 64 bit machine). So I took the documentation

Re: [Catalyst] HTML to plain text conversion

2007-01-16 Thread Xavier Robin
On Thursday 11 January 2007 18:24, Matt S Trout wrote: On 9 Jan 2007, at 17:10, Xavier Robin wrote: I also tried HTML::Scrubber as proposed by Carl Franks, but basically it keeps some tags we chose to allow. Have a look at the scrubber docs, there are options to select exactly which tags

Re: [Catalyst] HTML to plain text conversion

2007-01-09 Thread Xavier Robin
On Monday 08 January 2007 20:19, Peter Karman wrote: Xavier Robin scribbled on 1/8/07 11:14 AM: Do you know a (catalyst plugin|perl module|external tool) that converts HTML to plain text? I mean, keeping some formatting (especially lists and links...), not just stripping HTML tags... I

Re: [Catalyst] Getting the result of the template processing

2007-01-04 Thread Xavier Robin
On Wednesday 03 January 2007 12:20, Ash Berlin wrote: Marc Logghe wrote: (...) # only want the output from the template, # no wrapping wanted $c-stash-{nowrap} = 1; (...) No no no no - don't forward to the view and mess about with resetting stash params/body. Look at the docs on

[Catalyst] How safe are database transactions?

2007-01-04 Thread Xavier Robin
Hello all, I'm sorry if it is the wrong list, but I thought it was more a Catalyst-specific issue than a DBIx::Class one, as it is about the way Catalyst uses DBIx::Class. I would like to use transactions in Catalyst. my $transaction = $c-model('MyAppDB')-storage; $transaction-txn_begin; eval

[Catalyst] Directory with Catalyst::Model::File

2006-12-20 Thread Xavier Robin
Hello, I want to save uploaded files in a directory specific for the user (using the user_id). For example, the files of user 326 would be saved in directory /root/files/3/2/6/. I use Catalyst::Model::File to do this. It's really great! I configured it to store files in /root/files/ by default

Re: [Catalyst] Null values in DBIx::Class

2006-11-24 Thread Xavier Robin
On Thursday 23 November 2006 17:23, Ash Berlin wrote: First wrong list - you want dbix-class Oops, sorry, I didn't know there was a dbix-clas list. Where can I find it? The answer two your problems: undef Thanks, I'll look at this more carefully if it is the answer (I don't know why it

[Catalyst] Null values in DBIx::Class

2006-11-23 Thread Xavier Robin
Hello, I have the following table defined in a PostgreSQL database: CREATE TABLE test_table ( id SERIAL PRIMARY KEY, column1 INTEGER REFERENCES test_table2, column2 INTEGER UNIQUE NOT NULL REFERENCES test_table3 ); I have set up MYAPPDB::TestTable with the unique key

Re: [Catalyst] Chained actions in different packages

2006-10-23 Thread Xavier Robin
On Monday 23 October 2006 13:54, Matt S Trout wrote: Chained('MyApp::Controller::Experiment::experiment') Args(0) { } Chained('/experiment/experiment') You need the action private path, as shown in the startup debug log. Hello, I knew the answer would be simple, but I really