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
Hi,
I have made the following controller:
package TranzactiiBursiere::Controller::Bunatati;
use strict;
use warnings;
use base 'Catalyst::Controller';
sub bunatati : General {
my ( $self, $c ) = @_;
$c-res-body(okokok);
}
1;
I have tried to access:
http://www.domain-name.ro/bunatati
But
On Wed, Dec 20, 2006 at 08:05:36PM -0800, Octavian Rasnita wrote:
package TranzactiiBursiere::Controller::Bunatati;
use strict;
use warnings;
use base 'Catalyst::Controller';
sub bunatati : General {
my ( $self, $c ) = @_;
$c-res-body(okokok);
}
1;
Try:
sub buntati :Path
--- Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
Could you please tell me why the templates should be
put under the /root
directory?
Well, the only good reason I can think of is that
since it's the default all other Catalyst developers
will look for them there first. Otherwise I know
--- Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
I have made the following controller:
package TranzactiiBursiere::Controller::Bunatati;
use strict;
use warnings;
use base 'Catalyst::Controller';
sub bunatati : General {
my ( $self, $c ) = @_;
$c-res-body(okokok);
}
1;
Octavian Rasnita wrote:
Hi,
Could you please tell me why the templates should be put under the /root
directory?
Wouldn't be more appropriate to have a templates directory on the same
directory where /root is?
C::View::TTSite does this (although they spell templates as src, but
for
I have my templates at the same level as root as you mention, I've not
come across any problems.
On 12/20/06, John Napiorkowski [EMAIL PROTECTED] wrote:
--- Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
Could you please tell me why the templates should be
put under the /root
directory?
On Wed, Dec 20, 2006 at 08:44:07PM -0800, Octavian Rasnita wrote:
Hi,
Could you please tell me why the templates should be put under the /root
directory?
I have all my content under root/ -- which includes templates,
static, js, and css -- all as separate directories. There's no
content in
Hi,
You might find it easier to get started with Catalyst
by running the development server instead of trying to
run under apache right from the start. It's actually
pretty robust, I have three applications running in
house for light load duty. Add in Sqlite and PAR and
you got some easy to
From: Adam Jacob [EMAIL PROTECTED]
Try:
sub buntati :Path :Args(0) { }
Yes this way works.
or
sub buntati :Index { }
Which does the same thing, basically.
Unfortunately that way it doesn't work, but it executes the default action
from Root.pm instead.
Anyway, I have seen that the
Is anyone working on a vmware image for Catalyst like the docs say? I'm
starting to make one for myself, maybe with damn small linux. Though,
I've never done this before. Let me know if anyone has suggestion, or
wants to help, or already did this.
Rhett
If that is so you can download the image and have a working development
system, I'd love it.
I want to look into Catalyst (currently use PHP / Smarty), but don't
have a lot of spare time right now to research it. A ready to run image
would make it way easier to get started, especially if it
does anyone have workable hosting for such a thing?
I do my dev on an Ubuntu VM running on an XP host. It wouldn't be
*that* much hassle for me to clone what I have, clean up a bit, and
put a basic cat install on there.
might have to wait a few weeks though, all the spare time I have goes
into
I'm glad to hear it might be helpful. I'm probably not the best person
for this job because I've never done this before, but I'll give it a shot.
I'm going to try to do it for VMware because a VMware player is free (as
in beer). However, Parallels has MacOS support, and overall seems to run
Do you know what the approximate filesize would be (zipped or RAR'd)?
Ubuntu would be great.
Thanks,
Brian
Daniel McBrearty wrote:
does anyone have workable hosting for such a thing?
I do my dev on an Ubuntu VM running on an XP host. It wouldn't be
*that* much hassle for me to clone what I
Rhett Creighton wrote:
Is anyone working on a vmware image for Catalyst like the docs say? I'm
Yes. Linux based, OpenSuSE specifically. Running into issues with
their Perl.
starting to make one for myself, maybe with damn small linux. Though,
I've never done this before. Let me know
It is definately possible to make a pretty useable package on the order of
100 MB. Maybe a minimal ubuntu install would be closer to 200 MB I think.
Rhett
On Wed, 20 Dec 2006, Brian wrote:
Do you know what the approximate filesize would be (zipped or RAR'd)?
Ubuntu would be great.
Not sure. I've never tried before. I'm just cloning my m/c now. All I
have to do then would be to remove all my working source and so on
from my home, and change the password.
That should leave you with a working cat install plus all the DBIx,
TT, as well as apache, postgres and mysql. It might
On Thursday 21 December 2006 01:15, Octavian Rasnita wrote:
I have tried it, and of course it works, but it doesn't work with Apache
right.
Apache sees a file named bunatati.tt in /root and I cannot access
http://localhost/bunatati because of that.
Why even allow apache to know that root/
19 matches
Mail list logo