Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Please let's add support for mod_rewrite directives

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


imagenesis at gmail

Jul 10, 2009, 3:36 PM

Post #1 of 7 (507 views)
Permalink
Please let's add support for mod_rewrite directives

Hey so I spent a lot of time converting mod_rewrite to the approriate
redirection rules. I gotta say it's a huge hassle. If doing it manually with
the conf file you have to label it with a valid rule number so that's a lot
of find/replaces and it's just way too much typing. How posible would it be
to add support for mod rewrite alteast the syntax so we can copy/paste. I'm
going to look at source tonight but let me know what you think...


santagada at gmail

Jul 10, 2009, 4:54 PM

Post #2 of 7 (470 views)
Permalink
Re: Please let's add support for mod_rewrite directives [In reply to]

On Jul 10, 2009, at 7:36 PM, Hello wrote:

> Hey so I spent a lot of time converting mod_rewrite to the
> approriate redirection rules. I gotta say it's a huge hassle. If
> doing it manually with the conf file you have to label it with a
> valid rule number so that's a lot of find/replaces and it's just way
> too much typing. How posible would it be to add support for mod
> rewrite alteast the syntax so we can copy/paste. I'm going to look
> at source tonight but let me know what you think...


This could probably be done in the admin interface, a simple wizard or
something where you paste the mod_rewrite rules and it converts it to
the cherokee format.

--
Leonardo Santagada
santagada at gmail.com



_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


stefan at konink

Jul 10, 2009, 9:57 PM

Post #3 of 7 (472 views)
Permalink
Re: Please let's add support for mod_rewrite directives [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Leonardo Santagada wrote:
> On Jul 10, 2009, at 7:36 PM, Hello wrote:
>
>> Hey so I spent a lot of time converting mod_rewrite to the
>> approriate redirection rules. I gotta say it's a huge hassle. If
>> doing it manually with the conf file you have to label it with a
>> valid rule number so that's a lot of find/replaces and it's just way
>> too much typing. How posible would it be to add support for mod
>> rewrite alteast the syntax so we can copy/paste. I'm going to look
>> at source tonight but let me know what you think...
>
>
> This could probably be done in the admin interface, a simple wizard or
> something where you paste the mod_rewrite rules and it converts it to
> the cherokee format.

It would have to be some sort of compiler; must be possible, don't know
if this will have priority. I would say: log a RFE :)


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkpYG7oACgkQYH1+F2Rqwn2LrACZAW3lwsT0OyqAuELcpT34xQcK
IZYAnA1JZJbHivSOznT6wmqTJJjmtffL
=Wdeq
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


anoopalias01 at gmail

Jul 10, 2009, 10:22 PM

Post #4 of 7 (469 views)
Permalink
Re: Please let's add support for mod_rewrite directives [In reply to]

I second that.

The one big thing that would lead to the adoption of cherokee in the mass
hosting market would be an apache compatible rewrite rule parser.

The Litespeed web server had a tremendous adoption rate because it was
apache compatible
--
Anoop P Alias (PGP Key ID : 0x014F9953)
GNU system administrator
http://GnuSys.net


dririan at gmail

Jul 10, 2009, 10:42 PM

Post #5 of 7 (474 views)
Permalink
Re: Please let's add support for mod_rewrite directives [In reply to]

I remember having issues with this from switching to Cherokee. I volunteer
to write a Python mod_rewrite-to-Cherokee translater/lexer/compiler/whatever
you want to call it/etc. that integrates with cherokee-admin.

--
Ayron Jungren
Cisco Certified Network Professional, Zend Certified Engineer (PHP5)

On Sat, Jul 11, 2009 at 1:22 AM, Anoop Alias <anoopalias01 [at] gmail> wrote:

>
> I second that.
>
> The one big thing that would lead to the adoption of cherokee in the mass
> hosting market would be an apache compatible rewrite rule parser.
>
> The Litespeed web server had a tremendous adoption rate because it was
> apache compatible
> --
> Anoop P Alias (PGP Key ID : 0x014F9953)
> GNU system administrator
> http://GnuSys.net
>
> _______________________________________________
> Cherokee mailing list
> Cherokee [at] lists
> http://lists.octality.com/listinfo/cherokee
>
>


alvaro at octality

Jul 11, 2009, 1:10 AM

Post #6 of 7 (469 views)
Permalink
Re: Please let's add support for mod_rewrite directives [In reply to]

On 11-jul-09, at 07:42, Ayron Jungren wrote:

> I remember having issues with this from switching to Cherokee. I
> volunteer to write a Python mod_rewrite-to-Cherokee translater/lexer/
> compiler/whatever you want to call it/etc. that integrates with
> cherokee-admin.

First of all, allow me to make it clear: Cherokee will not support
Apache configuration files.

Having said that, I'd like to say that I'm *all* for integrating a
converter (as long as it works well enough). So, any effort of writing
one is more than welcome. :-)

Personally, I think that's the best option: It'd allow to make
migrations easier (which of course is a very interesting feature) and
the same time that it would not make Cherokee depend on a
configuration format that is neither user-friendly nor easily machine-
readable (and that would basically make cherokee-admin imposible).

> On Sat, Jul 11, 2009 at 1:22 AM, Anoop Alias
> <anoopalias01 [at] gmail> wrote:
>
> I second that.
>
> The one big thing that would lead to the adoption of cherokee in the
> mass hosting market would be an apache compatible rewrite rule parser.
>
> The Litespeed web server had a tremendous adoption rate because it
> was apache compatible

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


dririan at gmail

Jul 11, 2009, 2:30 AM

Post #7 of 7 (485 views)
Permalink
Re: Please let's add support for mod_rewrite directives [In reply to]

My plan was to write a translator; my apologies if that was not clear. I
tried to clear that up with the "integrates with cherokee-admin" and
"Python" parts, but I do apologize. With your approval, I will begin right
away. The translator should be easy enough, but I'll have to study
cherokee-admin more closely to integrate it. I'll let all of you know how it
goes. Alvaro, once I'm done, would you like me to just send the patches to
you via e-mail?

On Sat, Jul 11, 2009 at 4:10 AM, Alvaro Lopez Ortega <alvaro [at] octality>wrote:

> On 11-jul-09, at 07:42, Ayron Jungren wrote:
>
> I remember having issues with this from switching to Cherokee. I volunteer
>> to write a Python mod_rewrite-to-Cherokee translater/lexer/compiler/whatever
>> you want to call it/etc. that integrates with cherokee-admin.
>>
>
> First of all, allow me to make it clear: Cherokee will not support Apache
> configuration files.
>
> Having said that, I'd like to say that I'm *all* for integrating a
> converter (as long as it works well enough). So, any effort of writing one
> is more than welcome. :-)
>
> Personally, I think that's the best option: It'd allow to make migrations
> easier (which of course is a very interesting feature) and the same time
> that it would not make Cherokee depend on a configuration format that is
> neither user-friendly nor easily machine-readable (and that would basically
> make cherokee-admin imposible).
>
> On Sat, Jul 11, 2009 at 1:22 AM, Anoop Alias <anoopalias01 [at] gmail>
>> wrote:
>>
>> I second that.
>>
>> The one big thing that would lead to the adoption of cherokee in the mass
>> hosting market would be an apache compatible rewrite rule parser.
>>
>> The Litespeed web server had a tremendous adoption rate because it was
>> apache compatible
>>
>
> --
> Octality
> http://www.octality.com/
>
>


--
Ayron Jungren
Cisco Certified Network Professional, Zend Certified Engineer (PHP5)

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.