You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Ricardo Hermida Méndez <rh...@tuplaza.es> on 2008/01/30 11:04:56 UTC
two questions: about search and url with templates
Hello to all,
Im a new user of apache roller 4.0 with mysql 5.0. I like roller, is very
good application to make blogs. Nice job!
My questions are:
I see the mailing list and manuals, and I dont find nothing about to
config the search in the blog. If somebody tell me where is any
documentation o tell me about activate the search. Im thankful
The other question is about templates url. I have a template that roller
set a url like http://ip/roller/page/template. My question is if would be
possible change this url to something like http://ip/roller/template.
Thanks
Ricardo Hermida
Re: two questions: about search and url with templates
Posted by Dave <sn...@gmail.com>.
On Jan 30, 2008 5:04 AM, Ricardo Hermida Méndez <rh...@tuplaza.es> wrote:
> I'm a new user of apache roller 4.0 with mysql 5.0. I like roller, is very
> good application to make blogs. Nice job!
Thanks!
> My questions are:
>
> I see the mailing list and manuals, and I don't find nothing about to
> config the search in the blog. If somebody tell me where is any
> documentation o tell me about activate the search. I'm thankful
All you should have to do is to make sure you've set the
'search.index.dir' property in your roller-custom.properties file.
Then you can use the search feature built into your Roller blog theme.
> The other question is about template's url. I have a template that roller
> set a url like http://ip/roller/page/template. My question is if would be
> possible change this url to something like http://ip/roller/template.
The URL of a page is formed like this:
http://hostname/<context-name>/<blog-handle>/page/<page-name>
If you deploy Roller at the root context then you can get this:
http://hostname/<context-name>/<blog-handle>/page/<page-name>
And in that case, the URL of a page is formed like this:
http://hostname/<blog-handle>/page/<page-name>
It is possible to change that but such change will require a number of
changes to Roller's Java code.
- Dave