List Info

Thread: Re: url rewrite




Re: url rewrite
country flaguser name
Spain
2008-04-16 09:41:26
Hello Dorottya,

I suppose you are trying to access it from a remote machine,
so the  
problem would be that cherokee-admin binds only to local
loopback.  
There are two workarounds:

- Create a SSH tunnel. This is my preferred option. You
would only  
have to do: ssh -L 9090:localhost:9090 your_router_ip

- Launch cherokee-admin with the -a parameter in order to
force it to  
listen to all your network interfaces.

Besides, you could install cherokee on your desktop PC,
configure it  
there, and then copy the cherokee.conf file to the router;
that would  
be fair easy and painless as well.


On 16 Apr 2008, at 15:54, Dorottya Darvas wrote:
> thank you very much alo. my main problem is that i run
cherokee- 
> admin but cannot access the admin interface don't know
why and how  
> to fix it.
> i am using cherokee on an NSLU2 system (unslung). the
page works  
> fine (http://dornyika.com), but on
port 9090 i get nothing.
>
> Dorottya Darvas
>
> On Wed, Apr 16, 2008 at 3:38 PM, Alvaro Lopez Ortega
<alvaroalobbs.com 
> > wrote:
> Hi Dorottya,
>
> That would be something like this if you are using
cherokee-admin:
>
>
>
>
>
>
> On 16 Apr 2008, at 00:59, Stefan de Konink wrote:
> On Wed, 16 Apr 2008, Dorottya Darvas wrote:
>
> i am trying to switch from lighttpd to cherokee 0.6. i
needto  
> rewrite an
> url, could you help me with that (how to do this)
> i'd like to have
> http://dornyika.com/blog

> instead of
> http://dornyi
ka.com/cgi-bin/blosxom.cgi
>
> It must beable to do it from the admin, but I didn't do
it from  
> there yet.
>
> This is an example:
>
> vserver!default!request!^.+/([a-z]+).xsl$!priority =
21
> vserver!default!request!^.+/([a-z]+).xsl$!handler =
redir
>
vserver!default!request!^.+/([a-z]+).xsl$!handler!rewrite!1!

> substring =
> /$1.xsl
>
vserver!default!request!^.+/([a-z]+).xsl$!handler!rewrite!1!
show = 0
>
> so basically it will rewrite anything
/,.p,.p,.p/bla.xsl to -> / 
> bla.xsl
>
> Stefan
>
> _______________________________________________
> Cherokee mailing list
> Cherokeecherokee-project.com
> http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee
>
> --
> Greetings, alo.
> http://www.alobbs.com/
>
>
>
>
>
> -- 
> http://dornyika.com

--
Greetings, alo.
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )