Re: COREBlog as home page

Pupeno <[email protected]>
Newsgroups gmane.comp.python.zope.coreblog.english
Message-ID <[email protected]>
On Saturday 28 January 2006 20:18, Sascha Welter wrote:
> > 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/V
> >irtualHostRoot/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.
What witch ? what do you mean ?

> 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).
Why is it contrary ? I want to turn http://pupeno.com/ into 
http://pupeno.com/blog, so I have to add the blog on the second part.

> 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.
Again the witch... what witch ?

> > - No matter where I am, the tab "blog" is the one always selected
>
> Because your rule is broken and contains the string /blog/ maybe?
This is getting repetitive, but how do I make it fetch the contents of /blog/ 
without using the string "blog" ?

Disclaimer: I have found two acceptable solutions and I picked one, but I am 
writting a little article about how to solve this problem in various 
different ways, so, feel free not to reply if you are too short on time.
Thanks.
-- 
Pupeno <[email protected]> (http://pupeno.com)
Vendemos: Kit del guitarrista: http://pupeno.com/vendo/#kit

_______________________________________________
COREblog-en mailing list
COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBD3FkDfW48a9PWGkURAkmrAKCLTwvwHTBwKcy3w5exufBMuz3+RACdGvF3
zAADX6dMub0Usx+w/D9XJDs=
=MxT4
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.