On 9 Oct 2012, at 16:16, Gastón Dall' Oglio <
gaston.dalloglio@gmail.com> wrote:
> ups I forgot the concrete answer :)
>
> For handler "example-admin" I set:
> Server Path: /admin
>
> Later to enter to admin app I go to
http://example.com/admin
>
>
>
> RewriteRule ^/admin(.*)$
http://localhost:8516/example-admin$1 [proxy,last]
>
> 2012/10/9 Gastón Dall' Oglio <
gaston.dalloglio@gmail.com>
> Hi Tudor.
>
> For an app named "example" my rewrite look like this:
>
> RewriteEngine on
> RewriteRule ^/config(.*)$
http://localhost:8516/config$1 [proxy,last]
> RewriteRule ^/status(.*)$
http://localhost:8516/status$1 [proxy,last]
> RewriteRule ^/upload(.*)$
http://localhost:8516/tools/versionuploader$1 [proxy,last]
> RewriteRule ^/browser(.*)$
http://localhost:8516/tools/classbrowser$1 [proxy,last]
> RewriteRule ^/setup(.*)$
http://localhost:8516/piersetup$1 [proxy,last]
> RewriteRule ^/admin(.*)$
http://localhost:8516/example-admin$1 [proxy,last]
> RewriteRule ^/files/(.*)$
http://localhost:8516/files/$1 [proxy,last]
> RewriteCond /home/example/public_html%{REQUEST_FILENAME} !-f
> RewriteRule ^/(.*)$
http://localhost:8516/example/$1 [proxy,last]
>
> Then I go to config app, and for handler "/" I set this (to be used for all apps):
>
> Server Hostname:
example.com (or
www.example.com)
> Server Port: 80
> Server Protocol: http
>
> For handler "config" I set:
> Server Path: /config
>
> For handler "status" I set:
> Server Path: /status
>
> ...
>
> For handler "example" I set:
> Server Path: /
>
>
> Hope this help.
> Regard.
>
> 2012/10/9 Tudor Girba <
tudor@tudorgirba.com>
> Hi,
>
> I am trying to set up a Pier3 webpage with Pier Admin inside, but I
> have problems with the Apache2 configuration.
>
> Does anyone have a sample of such a configuration?
>
> Cheers,
> Doru
>
> --
>
www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki