[Catalyst] Apache coexistence
Boris Ceranic
zextra at gmail.com
Sun Jul 23 06:50:59 CEST 2006
I have posted .htaccess solution to the problem few days before. In short:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/?script/myapp_fastcgi.pl
# Comment following two lines to disable directory browsing!
RewriteCond %{REQUEST_URI} !^/$
RewriteCond %{DOCUMENT_ROOT}/root%{REQUEST_URI} -d [OR]
RewriteCond %{DOCUMENT_ROOT}/root%{REQUEST_URI} -f
RewriteRule !^root/ /root%{REQUEST_URI} [L]
RewriteCond %{REQUEST_URI} !^/?script/myapp_fastcgi.pl
RewriteRule !^root/ script/myapp_fastcgi.pl%{REQUEST_URI} [L]
For more in-depth explanation, see:
http://www.mail-archive.com/[email protected]/msg00671.html
Boris
On 23/07/06, Eric W. Bates <ericx at vineyard.net> wrote:
> Opinion request...
>
> In an environment where one wants some portions of the URI tree served
> by apache and some munched by catalyst.
>
> Do folks feel more comfortable rigging httpd.conf to with a variety of
> 'location' tags to direct URI to the Cat hander as needed?
>
> Or is there a way to have Catalyst pass a URI request back out to apache
> for further processing? In which case, I could set up a location tag for
> '/' into Catalyst and then pass things back out as needed.
>
> Thanks for your time.
>
> --
> eric w. bates
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
More information about the Catalyst
mailing list