[Catalyst] What to upload

Paul Falbe paul at cassens.com
Mon Apr 5 14:00:06 GMT 2010



Oleg, thank you for your help.  Problem I'm having is the main site is at a hosting site
where I can't experiment to easily.  :{  I sent them what I wanted put into the Apache conf file
and they responded that it wasn't possible in their shared environment.  And a VPS or Dedicated
server would be required.  So, I guess I left with .htaccess methods or getting a VPS?

On Mon, Apr 05, 2010 at 04:37:00PM +0300, Oleg Kostyuk wrote:
> Did you ever tried any of them? This is not so hard.
> 
> If you adding Catalyst app as part of other site, try to place
> directives above into same config file where your site is defined.
> This could be as main Apache config, as well as separate config.
> Finally, you should have something like this:
> 
> <VirtualHost *:80>
>     #
>     # This is about your main site
>     # Site content is living under /www/somesite.com/
>     #
>     ServerName      somesite.com
>     ServerAlias     www.somesite.com
>     DocumentRoot    /www/somesite.com/
> 
>     #
>     # This is about your Catalyst app
>     # App content is living under /www/DpklNotes/
>     #
>     FastCgiServer       /www/DpklNotes/script/dpklnotes_fastcgi.pl -processes 3
>     Alias /dpklnotes/   /www/DpklNotes/script/dpklnotes_fastcgi.pl/
> 
>     Alias /dpklnotes/static /www/DpklNotes/root/static
>     <Location /dpklnotes/static>
>        SetHandler default-handler
>     </Location>
> </VirtualHost>
> 
> 
> Just try to do instead of asking :)
> 
> 
> 
> 2010/4/5 Paul Falbe <paul at cassens.com>:
> >
> >
> > And that goes into .htaccess or apache2 conf file?  Sorry for repeated questions
> > this is not familiar territory...
> >
> > On Mon, Apr 05, 2010 at 03:28:47PM +0300, Oleg Kostyuk wrote:
> >> I think, you should use:
> >>
> >>
> >> FastCgiServer       /www/DpklNotes/script/dpklnotes_fastcgi.pl -processes 3
> >> Alias /dpklnotes/   /www/DpklNotes/script/dpklnotes_fastcgi.pl/
> >>
> >> Alias /dpklnotes/static /www/DpklNotes/root/static
> >> <Location /dpklnotes/static>
> >>     SetHandler default-handler
> >> </Location>
> >>
> >>
> >> Just try and then write your experience at wiki.
> >>
> >>
> >> 2010/4/5 Paul Falbe <paul at cassens.com>:
> >> >
> >> >
> >> > do I need to add both of these? And do I add them to Apache conf or can they be added .htaccess?
> >> > I'm a little confused about /static.
> >> >
> >> >    DocumentRoot  /www/DpklNotes/root
> >> >    Alias /static /www/DpklNotes/root/static
> >> >
> >> >    FastCgiServer /www/DpklNotes/script/dpklnotes_fastcgi.pl -processes 3
> >> >    Alias /dpklnotes/ /www/DpklNotes/script/dpklnotes_fastcgi.pl/
> >> >
> >> >
> >> > On Mon, Apr 05, 2010 at 12:21:04PM +0300, Oleg Kostyuk wrote:
> >> >> http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod#Deployment
> >> >> http://wiki.catalystframework.org/wiki/faq#Deployment
> >> >>
> >> >> 2010/4/1 Paul Falbe <paul at cassens.com>:
> >> >> >
> >> >> >
> >> >> > I'm getting close to uploading my first Catalyst App from my laptop
> >> >> > to our website which is hosted for us.  What directories need
> >> >> > to be uploaded to this machine?  I understand I also have to create
> >> >> > a .htaccess file so my app uses FastCGI and properly redirects.
> >> >> > Where is this file normally located?
> >> >> >
> >> >> > Thanks again.
> >> >> >
> >> >> > -Paul
> >> >> >
> >> >>
> >> >> --
> >> >> Sincerely yours,
> >> >> Oleg Kostyuk (CUB-UANIC)
> >> >>
> >> >> _______________________________________________
> >> >> List: Catalyst at lists.scsys.co.uk
> >> >> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> >> >> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> >> >> Dev site: http://dev.catalyst.perl.org/
> >> >
> >> > _______________________________________________
> >> > List: Catalyst at lists.scsys.co.uk
> >> > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> >> > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> >> > Dev site: http://dev.catalyst.perl.org/
> >> >
> >>
> >>
> >>
> >> --
> >> Sincerely yours,
> >> Oleg Kostyuk (CUB-UANIC)
> >>
> >> _______________________________________________
> >> List: Catalyst at lists.scsys.co.uk
> >> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> >> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> >> Dev site: http://dev.catalyst.perl.org/
> >
> > _______________________________________________
> > List: Catalyst at lists.scsys.co.uk
> > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> > Dev site: http://dev.catalyst.perl.org/
> >
> 
> 
> 
> -- 
> Sincerely yours,
> Oleg Kostyuk (CUB-UANIC)
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/



More information about the Catalyst mailing list