<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Cool, =D.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks for that.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=ostmann@qe.de href="mailto:ostmann@qe.de">QE :: Felix Ostmann</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=catalyst@lists.scsys.co.uk 
  href="mailto:catalyst@lists.scsys.co.uk">The elegant MVC web framework</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, March 02, 2016 10:01 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Catalyst] Feasibility 
  questions ref transition to Catalyst</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr>
  <DIV class=gmail_default 
  style="FONT-SIZE: small; FONT-FAMILY: arial,helvetica,sans-serif">Uh, i guess 
  in some old wiki is that already mentioned. We use this for our static 
  content:</DIV>
  <DIV class=gmail_default 
  style="FONT-SIZE: small; FONT-FAMILY: arial,helvetica,sans-serif"><BR></DIV>
  <DIV class=gmail_default 
  style="FONT-SIZE: small; FONT-FAMILY: arial,helvetica,sans-serif">Alias 
  /static/ /path/to/static/directory</DIV>
  <DIV class=gmail_default 
  style="FONT-SIZE: small; FONT-FAMILY: arial,helvetica,sans-serif">Alias / 
  /path/to/<A href="http://myapp_fastcgi.pl/">myapp_fastcgi.pl/</A></DIV>
  <DIV class=gmail_default 
  style="FONT-SIZE: small; FONT-FAMILY: arial,helvetica,sans-serif"><BR></DIV>
  <DIV class=gmail_default 
  style="FONT-SIZE: small; FONT-FAMILY: arial,helvetica,sans-serif">And in our 
  app we use Static::Simple with the same directory. So while developing only 
  with the buildin server all works fine and later apache serves the static 
  content and all works fine :)</DIV></DIV>
  <DIV class=gmail_extra><BR clear=all>
  <DIV>
  <DIV class=gmail_signature>
  <DIV dir=ltr>
  <DIV>
  <DIV>Mit freundlichen Grüßen<BR>Felix Ostmann</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">______________________________</SPAN><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">___________________</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">QE GmbH &amp; Co. 
  KG</SPAN><BR style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Martinistraße 3</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">49080 Osnabrück</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Deutschland</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Tel.:&nbsp;<A 
  style="COLOR: rgb(17,85,204)" target=_blank 
  href="tel:%2B49%20%280%29%20541%20%2F%2040666%2011" value="+495414066611">+49 
  (0) 541 / 40666 11</A></SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Fax:&nbsp;<A 
  style="COLOR: rgb(17,85,204)" target=_blank 
  href="tel:%2B49%20%280%29%20541%20%2F%2040666%2022" value="+495414066622">+49 
  (0) 541 / 40666 22</A></SPAN></DIV>
  <DIV><SPAN style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Email:&nbsp;<A 
  style="COLOR: rgb(17,85,204)" target=_blank 
  href="mailto:info@qe.de">info@qe.de</A></SPAN></DIV>
  <DIV><FONT color=#666666>Web:&nbsp;<A style="COLOR: rgb(17,85,204)" 
  target=_blank href="http://www.qe.de/">www.qe.de</A></FONT></DIV>
  <DIV><SPAN style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><BR></SPAN></DIV>
  <DIV><SPAN style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Unsere 
  Geschäftszeiten:</SPAN><BR></DIV>
  <DIV><SPAN style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Montag bis Freitag 
  von 8 bis 16 Uhr</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Firmensitz: 
  Osnabrück</SPAN><BR style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">AG Osnabrück - HRA 
  200252</SPAN><BR style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Steuer-Nr.: 
  66/204/54104</SPAN><BR style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Ust-IdNr.: 
  DE814737310</SPAN><BR style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Komplementärin:</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">QE24 GmbH</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">AG Osnabrück - HRB 
  200359</SPAN><BR style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Geschäftsführer: Ansas 
  Meyer</SPAN><BR style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">______________________________</SPAN><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">___________________</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><BR><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Die in dieser Email 
  enthaltenen Informationen sind vertraulich</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">zu behandeln und 
  ausschließlich für den Adressaten bestimmt.</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Jegliche Veröffentlichung, 
  Verteilung oder sonstige in diesem</SPAN><BR 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)"><SPAN 
  style="FONT-SIZE: 12px; COLOR: rgb(102,102,102)">Zusammenhang stehende 
  Handlung wird ausdrücklich untersagt.</SPAN></DIV></DIV></DIV></DIV></DIV><BR>
  <DIV class=gmail_quote>2016-03-02 8:39 GMT+01:00 Andrew <SPAN dir=ltr>&lt;<A 
  target=_blank 
  href="mailto:catalystgroup@unitedgames.co.uk">catalystgroup@unitedgames.co.uk</A>&gt;</SPAN>:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Just 
    discovered something else that's pretty cool.<BR><BR>When setting up FastCGI 
    in Apache,<BR>you have something like:<BR><BR>&lt;IfModule 
    mod_fastcgi.c&gt;<BR>FastCgiExternalServer<BR>/home/username/public_html/myapp/script/<A 
    target=_blank href="http://myapp_fastcgi.pl" 
    rel=noreferrer>myapp_fastcgi.pl</A> -host<BR><A target=_blank 
    href="http://www.mydomain.com:55900" 
    rel=noreferrer>www.mydomain.com:55900</A><BR>Alias / 
    /home/username/public_html/myapp/script/<A target=_blank 
    href="http://myapp_fastcgi.pl/" 
    rel=noreferrer>myapp_fastcgi.pl/</A><BR>&lt;/IfModule&gt;<BR><BR>...in your 
    virtual host configuation.<BR>(Because I have CPanel on my Apache server, 
    I'm not editing the httpd.conf<BR>file directly. Rather the httpd.conf file 
    links to some include files, so I<BR>just edit the include files.)<BR><BR>I 
    realised the Alias bit, was making any URL from the domain name, go to 
    the<BR>Catalyst Web App.<BR>However.... I had a few old CGIs I wanted to 
    run.<BR>I played about a bit, trying to copy and paste the CGI code into a 
    new<BR>Catalyst Controller... but I thought: "This is too much 
    work".<BR><BR>The CGIs I wanted to run were in a directory - let's pretend 
    the directory<BR>was literally called "directory".<BR>I added a new Alias 
    line to this part of the Apache configuration:<BR><BR>&lt;IfModule 
    mod_fastcgi.c&gt;<BR>FastCgiExternalServer<BR>/home/username/public_html/myapp/script/<A 
    target=_blank href="http://myapp_fastcgi.pl" 
    rel=noreferrer>myapp_fastcgi.pl</A> -host<BR><A target=_blank 
    href="http://www.mydomain.com:55900" 
    rel=noreferrer>www.mydomain.com:55900</A><BR>Alias /directory 
    /home/username/public_html/directory<BR>Alias / 
    /home/username/public_html/myapp/script/<A target=_blank 
    href="http://myapp_fastcgi.pl/" 
    rel=noreferrer>myapp_fastcgi.pl/</A><BR>&lt;/IfModule&gt;<BR><BR>.....Now...if 
    the url is <A target=_blank href="http://www.mydomain.com/directory" 
    rel=noreferrer>www.mydomain.com/directory</A> it goes to the 
    directory<BR>folder in my public_html folder, and serves it just as apache 
    always did,<BR>including running the <A target=_blank href="http://index.pl" 
    rel=noreferrer>index.pl</A> file I had there - a cgi perl script no 
    less!<BR>Everything else starting with <A target=_blank 
    href="http://www.mydomain.com" rel=noreferrer>www.mydomain.com</A> gets sent 
    to my new Catalyst<BR>Web App.<BR><BR>In short - you can setup apache 
    aliases, to still run some CGIs in specific<BR>places, while all other URLs 
    run your new Catalyst Web App, =).<BR><BR>That means you can have old CGI 
    scripts and your new Catalyst web app,<BR>running at the same domain 
    name.<BR>As long as there's no conflict of names. I.e. any Catalyst 
    subroutine<BR>designed to be triggered by the 'directory' path, won't get 
    triggered, as<BR>you've redirected all such requests to your directory 
    folder instead.<BR><BR>I simply added a one line alias to achieve this. If 
    there are better ways to<BR>run your old CGIs on the same server as your new 
    Catalyst app, I'm happy to<BR>hear suggestions, =).<BR><BR>One idea that 
    popped into my head was to maybe setup a subdomain that isn't<BR>setup with 
    fastcgi, and have all your old CGIs at the sub domain, running as<BR>they 
    normally would, on what's a normal apache subdomain. And then have 
    your<BR>Catalyst web app running at the normal web domain.<BR>So if your 
    CGIs were part of your old website,<BR>you could have your new catalyst 
    website at <A target=_blank href="http://www.mydomain.com" 
    rel=noreferrer>http://www.mydomain.com</A> and your<BR>old cgi website at <A 
    target=_blank href="http://old.mydomain.com" 
    rel=noreferrer>http://old.mydomain.com</A><BR>Then you wouldn't have the 
    conflict of names problem.<BR><A target=_blank 
    href="http://www.mydomain.com/directory" 
    rel=noreferrer>http://www.mydomain.com/directory</A><BR>and<BR><A 
    target=_blank href="http://old.mydomain.com/directory" 
    rel=noreferrer>http://old.mydomain.com/directory</A><BR>...could both give 
    different responses.<BR><BR>Some food for thought, 
    =).<BR><BR>Yours,<BR>Andrew.<BR>
    <DIV class=HOEnZb>
    <DIV class=h5><BR><BR><BR>----- Original Message -----<BR>From: "Tom 
    Browder" &lt;<A 
    href="mailto:tom.browder@gmail.com">tom.browder@gmail.com</A>&gt;<BR>To: 
    "The elegant MVC web framework" &lt;<A 
    href="mailto:catalyst@lists.scsys.co.uk">catalyst@lists.scsys.co.uk</A>&gt;<BR>Sent: 
    Wednesday, February 17, 2016 8:20 PM<BR>Subject: Re: [Catalyst] Feasibility 
    questions ref transition to Catalyst<BR><BR><BR>On Wed, Feb 17, 2016 at 
    10:03 AM, Andrew<BR>&lt;<A 
    href="mailto:catalystgroup@unitedgames.co.uk">catalystgroup@unitedgames.co.uk</A>&gt; 
    wrote:<BR>&gt;<BR>&gt; 1.&nbsp; Is possible to move to Catalyst 
    incrementally?&nbsp; In other words, can I<BR>&gt; start deploying Catalyst 
    using at least some of my existing static code?<BR>&gt;<BR>&gt; ---&gt; I'm 
    new to Catalyst, and have found, although as a framework, it sets<BR>&gt; up 
    a structure in terms of folders and where scripts are, I can 
    pretty<BR>much<BR>...<BR><BR>Good information, Andrew--thanks!<BR><BR>&gt; 
    ---&gt; As a n00b, forgive me for not being sure what you mean by 
    virtual<BR>&gt; hosts. I've managed to get everything working on a VPS from 
    a web hosting<BR><BR>What I meant was I run multiple hosts (known as virtual 
    hosts) on a<BR>single instance of Apache on a single server.&nbsp; Your 
    operation on a<BR>shared host is similar, so your answer was 
    helpful.<BR><BR>Thanks so 
    much.<BR><BR>Best,<BR><BR>-Tom<BR><BR>_______________________________________________<BR>List: 
    <A 
    href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</A><BR>Listinfo: 
    <A target=_blank 
    href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" 
    rel=noreferrer>http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</A><BR>Searchable 
    archive: <A target=_blank 
    href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" 
    rel=noreferrer>http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</A><BR>Dev 
    site: <A target=_blank href="http://dev.catalyst.perl.org/" 
    rel=noreferrer>http://dev.catalyst.perl.org/</A><BR><BR><BR>_______________________________________________<BR>List: 
    <A 
    href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</A><BR>Listinfo: 
    <A target=_blank 
    href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" 
    rel=noreferrer>http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</A><BR>Searchable 
    archive: <A target=_blank 
    href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" 
    rel=noreferrer>http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</A><BR>Dev 
    site: <A target=_blank href="http://dev.catalyst.perl.org/" 
    rel=noreferrer>http://dev.catalyst.perl.org/</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>List: 
  Catalyst@lists.scsys.co.uk<BR>Listinfo: 
  http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst<BR>Searchable 
  archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/<BR>Dev site: 
  http://dev.catalyst.perl.org/<BR></BLOCKQUOTE></BODY></HTML>