You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by mraible <ma...@raibledesigns.com> on 2006/12/04 02:29:01 UTC

[OT] Confluence and static-looking site

How does the MINA website at http://mina.apache.org work? It has nice looking
URLs that make it look like a static site, yet it links to Confluence for
editing pages and such.  How did you go about doing this?

Thanks,

Matt
-- 
View this message in context: http://www.nabble.com/-OT--Confluence-and-static-looking-site-tf2748922.html#a7669530
Sent from the mina dev mailing list archive at Nabble.com.


Re: [OT] Confluence and static-looking site

Posted by Ersin Er <er...@gmail.com>.
Hi,

You can even configure the final view of your site using the velocity
template support of the AutoExport plugin and you can achieve nice results
like:

http://cwiki.apache.org/WICKETxSITE

( which is exported from
http://cwiki.apache.org/confluence/display/WICKETxSITE )

Cheers,

On 12/4/06, Trustin Lee <tr...@gmail.com> wrote:
>
> Hello Matt,
>
> On 12/4/06, mraible <ma...@raibledesigns.com> wrote:
> >
> >
> > How does the MINA website at http://mina.apache.org work? It has nice
> > looking
> > URLs that make it look like a static site, yet it links to Confluence
> for
> > editing pages and such.  How did you go about doing this?
>
>
> We used AutoExport plugin and mod_rewrite Apache module.  AutoExport
> module
> will suffice if you are a super user.  We had to put a trivial trick in
> .htaccess file because I am not:
>
> RewriteEngine on
> # Exclusions
> RewriteRule ^/mail/(.*) /mail/$1 [L]
> RewriteRule ^/apidoc(.*) /apidoc$1 [L]
> # Proxy to cwiki.apache.org
> RewriteRule ^(.*) http://cwiki.apache.org/MINA/$1 [P]
>
> That's all!
>
> HTH,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP key fingerprints:
> * E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
> * B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6
>
>


-- 
Ersin

Re: [OT] Confluence and static-looking site

Posted by Trustin Lee <tr...@gmail.com>.
Hello Matt,

On 12/4/06, mraible <ma...@raibledesigns.com> wrote:
>
>
> How does the MINA website at http://mina.apache.org work? It has nice
> looking
> URLs that make it look like a static site, yet it links to Confluence for
> editing pages and such.  How did you go about doing this?


We used AutoExport plugin and mod_rewrite Apache module.  AutoExport module
will suffice if you are a super user.  We had to put a trivial trick in
.htaccess file because I am not:

RewriteEngine on
# Exclusions
RewriteRule ^/mail/(.*) /mail/$1 [L]
RewriteRule ^/apidoc(.*) /apidoc$1 [L]
# Proxy to cwiki.apache.org
RewriteRule ^(.*) http://cwiki.apache.org/MINA/$1 [P]

That's all!

HTH,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6