(Sat, Jan 28, 2006 at 11:51:36AM -0300) Pupeno wrote/schrieb/egrapse:
> On Friday 27 January 2006 05:18, Sascha Welter wrote:
> > The proper solution is:
...
> 
> This is the proper ? I would expect something more plonish to be proper 

Haha! Something more *plonish*? That would be something that is
incredible slow out of the box (and barely acceptable speedwise with a
huge machine and tons of cacheing) and is excessively complicated to 
program or customize :-)

>(not 
> something that needs the aid of Apache).

I like riding around on a bicycle. It is good for me and the environment
and I can go to lots of place where cars can't go. But when I want to
travel 600km in a day I might choose to use a car (or even better a
train). Use the right tool for the job. 
Zope is a good application server. Apache is a good http server.

> Anyway, I gave it a try, I wrote:
> 
> RewriteCond %{HTTP_HOST} ^new.pupeno.com [NC]
>                 RewriteRule ^/(.*) 
> http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/pupeno.com/VirtualHostRoot/blog/$1
>  
> [NC,P,L]
> 
> on my apache rules and it successfully shows the blog, but with some problems:
> - It shows "Blog" selected instead of "Home" on the navigation bar. I believe 
> I can solve that by disabling the top level (aka home) of the navigation bar.

Maybe your setup isn't quite right yet. The above rule does not look
like it comes from the witch. And looking at it closer, it also does not
look quite right at all (the /blog/ part is contrary to what you stated
about your setup, and even if you wanted it, it would not fit in with
the rest). So before mucking around with plone settings, you should try 
to get the RewriteRule right, which is quite easy when you use the
witch and feed it with some reasonable settings.

> - No matter where I am, the tab "blog" is the one always selected 

Because your rule is broken and contains the string /blog/ maybe?

> I'd prefeer to show the blog on home rather than redirect. I hate sites that 
> redirect me somewhere else when I type its URL, 

Fine, then use a RewriteRule, if (for example) you can't control your
apache settings (for example some people are on shared hosting where
that's not possible), then a simple redirect works, even if it isn't so
elegant.

> Anyway, I am playing with having the blog itself named index_url, I know it 
> behaves funny (folderwise), but so far, it works.

Sure, go ahead, instead of taking the time to get your setup right, play 
around some more with other settings.

Regards,

Sascha

_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to