Re: [EMAIL PROTECTED] Experience in mod_rewrite in Apache 2.2

2007-05-23 Thread Dmitriy Gorbenko
Joshua Slive wrote: > On 5/22/07, Dmitriy Gorbenko <[EMAIL PROTECTED]> wrote: > >> I think I could do it using mod_rewrite, but now I understand, that I >> can't: in apache config file I can create rules, which will makes an >> decision: redirect or proxy reques

Re: [EMAIL PROTECTED] Experience in mod_rewrite in Apache 2.2

2007-05-22 Thread Dmitriy Gorbenko
Joshua Slive wrote: > On 5/21/07, Dmitriy Gorbenko <[EMAIL PROTECTED]> wrote: > >> And now, I did not understand how, by using only one >> RewriteRule ^(.+)$ ${rd:%{THE_REQUEST}} >> rule and one programs, I can achieve such goal. > > I can't personal

[EMAIL PROTECTED] Experience in mod_rewrite in Apache 2.2

2007-05-21 Thread Dmitriy Gorbenko
Hello everyone, Recently I begin learn capabilities of mod_rewrite, and found that task, which I want to resolv, did not resolvs with help of mod_rewrite (or I wrongly thinking, and I want to consult). So, I have Router host, which stand on border between my local network an Internet. Also,

Re: [EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Dmitriy Gorbenko
Joshua Slive пишет: On 4/14/07, Joshua Slive <[EMAIL PROTECTED]> wrote: That's relatively easy. In the first vhost, use something like ServerAlias 1*.domain.com 2*.domain.com 3*.domain.com ... I forgot to say, you'll also need to reorder the two sections, because requests that don't match an

Re[2]: [EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Dmitriy Gorbenko
megaspaz пишет: Serveralias supports * but I'm not sure if it supports the regex you want, but if it's one vhost, then ServerAlias *.some.domain should work for you. On Saturday 14 April 2007 11:05 am, Dmitriy Gorbenko wrote: Hi all I would like to create a VirtualHost to proc

[EMAIL PROTECTED] ServerName directive regular expression

2007-04-14 Thread Dmitriy Gorbenko
Hi all I would like to create a VirtualHost to process domain names such as [0-9]*.some.domain. Currently, ServerName directive did not support regular expressions, but maybe I can do it by another way ? Thanks. - The offi

[EMAIL PROTECTED] Changing content-type in response headers

2007-03-27 Thread Dmitriy Gorbenko
Hi all. I have an apache 2.2.4, which handles specific queries by module, written using mod_cplusplus library. I was using Apache2.2.3 for a long time (as only it was released) and all going right. But after changing to 2.2.4 troubles arrived: apache return in response header wrong content-typ