# Problem with nginx/0.8.54 and alias

**URL:** <https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301>\
**Category:** NGINX\
**Created:** [February 17, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301 "2011-02-17T14:18:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 17, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/1 "2011-02-17T14:18:57Z")

</div>

Hello,

I try to set up a simple alias louse find out how. I read many articles.  
I almost try everything but nothing works. Currently I have this code in  
the file /etc/nginx/sites-available/default.

```auto
server {
        listen 80;
        root /var/www/monsite.fr;
        index index.html index.htm index.php;
        server_name monsite.fr;

        location /phpmyadmin {
                access_log off;
                alias /var/www/monsite.fr/phpMyAdmin;
                index index.html index.php;
        }

        location / {
                try_files $uri $uri/ /index.html;
        }

        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
                include fastcgi_params;
        }
}
```

When I launch my browser’s page [http://monsite.fr/phpmyadmin/](http://monsite.fr/phpmyadmin/) I fall on  
the index.html file that I put in the directory  
/var/www/monsite.fr/phpMyAdmin/. By cons, when I run  
[http://monsite.fr/phpmyadmin/index.php](http://monsite.fr/phpmyadmin/index.php), there is nothing. The header  
returned is HTTP/1.1 404 Not Found.

Thanks.

Posted at Nginx Forum:

> **[Problem with nginx/0.8.54 and alias](https://forum.nginx.org/read.php?2,176110,176110#msg-176110)**
>
> Hello, I try to set up a simple alias louse find out how. I read many articles. I almost try everything but nothing works. Currently I have this code in the file /etc/nginx/sites-available/default. \[code\] server { listen 80; root /var/www/

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 17, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/2 "2011-02-17T15:00:18Z")

</div>

On Thu, Feb 17, 2011 at 08:16:39AM -0500, Amanager wrote:

> ```
> server_name monsite.fr;
> 
> ```
> 
> When I launch my browser’s page [http://monsite.fr/phpmyadmin/](http://monsite.fr/phpmyadmin/) I fall on  
> the index.html file that I put in the directory  
> /var/www/monsite.fr/phpMyAdmin/. By cons, when I run  
> [http://monsite.fr/phpmyadmin/index.php](http://monsite.fr/phpmyadmin/index.php), there is nothing. The header  
> returned is HTTP/1.1 404 Not Found.

Use late 0.8.x with this configuration:

location ~ ^/phpmyadmin/(?.+.php)$ {  
fastcgi\_pass 127.0.0.1:9000;  
fastcgi\_param SCRIPT\_FILENAME  
/var/www/monsite.fr/phpMyAdmin/$NAME;  
include fastcgi\_params;  
}

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 17, 2011, 7:11pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/3 "2011-02-17T19:11:14Z")

</div>

## Igor S. Wrote:

> Use late 0.8.x with this configuration:
> 
> location ~ ^/phpmyadmin/(?.+.php)$ {  
> fastcgi\_pass 127.0.0.1:9000;  
> fastcgi\_param SCRIPT\_FILENAME
> 
> /var/www/monsite.fr/phpMyAdmin/$NAME;  
> include fastcgi\_params;  
> }  
> Tried this out on 0.8.54 and got …

pcre\_compile() failed: unrecognized character after (?\< in  
“^/phpmyadmin/(?.+.php)$” at “NAME\>.+.php)$”

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,176110,176236#msg-176236](http://forum.nginx.org/read.php?2,176110,176236#msg-176236)

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 17, 2011, 8:21pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/4 "2011-02-17T20:21:34Z")

</div>

Hello!

On Thu, Feb 17, 2011 at 01:09:15PM -0500, Dayo wrote:

> ## Igor S. Wrote:
> 
> > Use late 0.8.x with this configuration:
> > 
> > location ~ ^/phpmyadmin/(?.+.php)$ {

Just a side note: forum is awful, it eats data.

> > ```
> > fastcgi_pass 127.0.0.1:9000;
> > fastcgi_param SCRIPT_FILENAME
> > 
> > ```
> > 
> > /var/www/monsite.fr/phpMyAdmin/$NAME;  
> > include fastcgi\_params;  
> > }  
> > Tried this out on 0.8.54 and got …
> 
> pcre\_compile() failed: unrecognized character after (?\< in  
> “^/phpmyadmin/(?.+.php)$” at “NAME\>.+.php)$”

Probably you have ancient PCRE library. Try (?P) form  
which is supported since PCRE 4.0.

> **[Server names](http://nginx.org/en/docs/http/server_names.html#regex_names)**
>
> Server names are defined using the server\_name directive and determine which server block is used for a given request. See also “How nginx processes a request”. They may be defined using exact names, wildcard names, or regular expressions:

Maxim D.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 8:13am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/5 "2011-02-18T08:13:12Z")

</div>

Hi Maxim!

## Maxim D. Wrote:

> > > location ~ ^/phpmyadmin/(?.+.php)$ {
> 
> Just a side note: forum is awful, it eats data.

To be fair to the forum, I was the one that truncated the quote to only  
show the relevant part to my post.  
The long and complex quotes become impossible for me to follow.

However, I do have a gripe with the forum which is the annoying preview  
code that hovers when mousing over links. I am considering using the  
Ruby Forum to follow things instead as that preview thing is a major  
irritation when using the Nginx Forum and the admin has ignored all  
requests to provide an option to switch it off.

> after (?\< in
> 
> > “^/phpmyadmin/(?.+.php)$” at “NAME\>.+.php)$”
> 
> Probably you have ancient PCRE library. Try (?P)  
> form  
> which is supported since PCRE 4.0.
> 
> [Server names](http://nginx.org/en/docs/http/server_names.html#re)  
> gex\_names

Thanks for that. The (?P) form works.

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,176110,176387#msg-176387](http://forum.nginx.org/read.php?2,176110,176387#msg-176387)

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 8:23am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/6 "2011-02-18T08:23:13Z")

</div>

On Feb 18, 2011, at 10:03 , Amanager wrote:

> I tried this code but it does not work. I still have the header HTTP/1.1  
> 404 Not Found.

Regex locations depend on order, try this one:

location ~ ^/phpmyadmin/(?.+.php)$ {  
…

location ~ .php$ {  
…

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 8:05am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/7 "2011-02-18T08:05:05Z")

</div>

## Igor S. Wrote:

> Use late 0.8.x with this configuration:
> 
> location ~ ^/phpmyadmin/(?.+.php)$ {  
> fastcgi\_pass 127.0.0.1:9000;  
> fastcgi\_param SCRIPT\_FILENAME  
> /var/www/monsite.fr/phpMyAdmin/$NAME;  
> include fastcgi\_params;  
> }

I tried this code but it does not work. I still have the header HTTP/1.1  
404 Not Found.

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,176110,176385#msg-176385](http://forum.nginx.org/read.php?2,176110,176385#msg-176385)

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 9:06am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/8 "2011-02-18T09:06:26Z")

</div>

I have an error now when i restart nginx.  
/etc/init.d/nginx restart  
Restarting nginx: [emerg]: pcre\_compile() failed: unrecognized character  
after (? or (?- in “^/phpmyadmin/(?.+.php)$” at “.+.php)$” in  
/etc/nginx/sites-enabled/default:65  
configuration file /etc/nginx/nginx.conf test failed

I have this code in /etc/nginx/sites-available/default

```auto
server {
        listen 80;
        root /var/www/monsite.fr;
        index index.html index.htm index.php;
        server_name monsite.fr;

        location /phpmyadmin {
                access_log off;
                alias /var/www/monsite.fr/phpMyAdmin;
                index index.html index.php;
        }

        location ~ ^/phpmyadmin/(?.+\.php)$ {
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME
/var/www/monsite.fr/phpMyAdmin/$NAME;
                include fastcgi_params;
        }

        location / {
                try_files $uri $uri/ /index.html;
        }

        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
                include fastcgi_params;
        }

        location ~ /\.ht {
                deny all;
        }
}
```

And i have installed libpcre3, libpcre3-dev and compile the latest  
source from [pcre.org](http://pcre.org).

So, I replace location ~ ^/phpmyadmin/(?.+.php)$ by location ~  
^/phpmyadmin/(?.+.php)$. I have no error but it does not work more.

Thanks.

Posted at Nginx Forum:

> **[Re: Problem with nginx/0.8.54 and alias](https://forum.nginx.org/read.php?2,176110,176394#msg-176394)**
>
> Hello, I try to set up a simple alias louse find out how. I read many articles. I almost try everything but nothing works. Currently I have this code in the file /etc/nginx/sites-available/default. \[code\] server { listen 80; root /var/www/

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 9:27am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/9 "2011-02-18T09:27:06Z")

</div>

Thanks to you edogawaconan and everybody.  
Now it works fine except for php sessions that do not work but that’s  
another problem.

Thank you again to all.

Posted at Nginx Forum:

> **[Re: Problem with nginx/0.8.54 and alias](https://forum.nginx.org/read.php?2,176110,176397#msg-176397)**
>
> Hello, I try to set up a simple alias louse find out how. I read many articles. I almost try everything but nothing works. Currently I have this code in the file /etc/nginx/sites-available/default. \[code\] server { listen 80; root /var/www/

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 9:12am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/10 "2011-02-18T09:12:03Z")

</div>

On Thu, Feb 17, 2011 at 8:58 PM, Igor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Use late 0.8.x with this configuration:
> 
> location ~ ^/phpmyadmin/(?.+.php)$ {  
> fastcgi\_pass 127.0.0.1:9000;  
> fastcgi\_param SCRIPT\_FILENAME  
> /var/www/monsite.fr/phpMyAdmin/$NAME;  
> include fastcgi\_params;  
> }

more like, it goes like this:

######################

#this goes first or hell will broke loose  
location ~ ^/phpmyadmin/(.\*.php)$ {  
alias /var/www/monsite.fr/phpMyAdmin/$1;  
fastcgi\_pass 127.0.0.1:9000;  
fastcgi\_param SCRIPT\_FILENAME $request\_filename;  
include fastcgi\_params;  
}

#this must be done  
location = /phpmyadmin {  
rewrite ^ $scheme://$host$uri/ permanent;  
}

#usual business  
location /phpmyadmin/ {  
index index.php; alias /var/www/monsite.fr/phpMyAdmin/;  
}

######################

though from my experience it’s much better to use symlink instead of  
alias. If “if” is evil, “alias” is lesser evil.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 1:20pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/11 "2011-02-18T13:20:05Z")

</div>

Hello!

On Fri, Feb 18, 2011 at 02:11:50AM -0500, Dayo wrote:

> > > 
> > 
> > * * *
> > 
> > > > Use late 0.8.x with this configuration:
> > > > 
> > > > location ~ ^/phpmyadmin/(?.+.php)$ {
> > 
> > Just a side note: forum is awful, it eats data.
> 
> To be fair to the forum, I was the one that truncated the quote to only  
> show the relevant part to my post.  
> The long and complex quotes become impossible for me to follow.

I’m complaining about “” in regexp being eaten by forum engine,  
nothing else. Forum’s inability to preserve data intact is really  
distressing.

> However, I do have a gripe with the forum which is the annoying preview  
> code that hovers when mousing over links. I am considering using the  
> Ruby Forum to follow things instead as that preview thing is a major  
> irritation when using the Nginx Forum and the admin has ignored all  
> requests to provide an option to switch it off.

You may want to consider using mailing list directly instead.

[…]

Maxim D.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 5:58pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/12 "2011-02-18T17:58:44Z")

</div>

Здравствуйте!

## Maxim D. Wrote:

> forum engine,  
> nothing else. Forum’s inability to preserve data  
> intact is really  
> distressing.

I see it has eaten “” in the quote above!  
Didn’t realise it had this happening.  
Probably considers it to be HTML and removes it.  
Probably not necessary and may be fixable by the admin but given lack of  
response to the preview issue, I wouldn’t hold my breath.

> You may want to consider using mailing list  
> directly instead.

I will have a look. thanks.

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,176110,176524#msg-176524](http://forum.nginx.org/read.php?2,176110,176524#msg-176524)

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 6:48pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/13 "2011-02-18T18:48:17Z")

</div>

On 2/18/11 11:57 AM, Dayo wrote:

> > > The long and complex quotes become impossible  
> > > for me to follow.
> > 
> > I’m complaining about “” in regexp being eaten by  
> > forum engine,  
> > nothing else. Forum’s inability to preserve data  
> > intact is really  
> > distressing.

I am unaware of this particular issue until now, or, if I was it has  
slipped my mind. I have responded to your complaints in the past and  
fixed as many of them as possible. Instead of making these snide  
comments on the mailing list, it would be more helpful if you simply  
aired your issues with me privately. I then _might_ be more inclined to  
work on them. It would be better to handle forum issues on the forum (or  
privately) and not to pollute the mailing list with them.

> I see it has eaten “” in the quote above!  
> Didn’t realise it had this happening.  
> Probably considers it to be HTML and removes it.  
> Probably not necessary and may be fixable by the admin but given lack of  
> response to the preview issue, I wouldn’t hold my breath.

I addressed your issue about which you haven’t made “multiple”  
complaints. It seems that you are the _only_ one complaining about it  
despite there being nearly 4000 registered users. See above.

I host and administer the forum in the little spare time that I have. I  
have no ads or other compensation. I try to deal with spam posts and  
legitimate posts that are caught in the spam filter in a timely fashion.

If someone else feels that they can do a better job, let me know and I  
will give you the files and database in a zip and Igor can point the  
subdomain to your IP. No hard feelings.

Or, if Igor wants the forum closed, all he needs do is say the word…

> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

–  
Jim O.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 18, 2011, 11:08pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/14 "2011-02-18T23:08:18Z")

</div>

Hello!

On Fri, Feb 18, 2011 at 12:46:44PM -0500, Jim O. wrote:

> > > > show the relevant part to my post.  
> > > > slipped my mind. I have responded to your complaints in the past and  
> > > > fixed as many of them as possible. Instead of making these snide  
> > > > comments on the mailing list, it would be more helpful if you simply  
> > > > aired your issues with me privately. I then _might_ be more inclined  
> > > > to work on them. It would be better to handle forum issues on the  
> > > > forum (or privately) and not to pollute the mailing list with them.

Sorry for being rude, but I’ve noticed the issue and commented  
according to it’s nature. I indeed consider anything which causes  
data corruption to be awful (and this isn’t the first data  
corruption issue with forum, unfortunately). I also consider  
nginx proxy cache to be awful for similar reasons - hope this will  
help you to feel yourself better. 😉

And as far as this indeed affects mailing list and forum,  
including people in this particular thread (note several messages  
with incorrect configs due to being stripped) - I don’t  
consider private reporting to be better way to go.

Some more issues in additional to one with , in case you are  
willing to work on them:

1. BB-codes seems to be processed in mailing list messages shown  
in forum, thus providing another data damage vector. Example may  
be seen in the same thread, in Igor’s message:

[http://forum.nginx.org/read.php?2,176110,176123#msg-176123](http://forum.nginx.org/read.php?2,176110,176123#msg-176123)

1. Word wrapping in UTF-8 seems to be done based on bytes, not on  
chars. This causes really narrow (and hard to read) messages from  
forum in russian mailing list.

2. Subject isn’t correctly encoded - UTF-8 chars may be splitted  
into different MIME words (which is not allowed per standard).  
Igor currently workaround this with local script to re-encode them  
correctly, but this in turn may damage other Subject’s. Original  
value is preserved in X-Subject header, here is some recent  
example:

X-Subject:  
=?UTF-8?Q?403=20Forbidden=20=D0=BF=D1=80=D0=B8=20=D0=B2=D1=85=D0=BE?=  
=?UTF-8?Q?=D0=B4=D0=B5=20=D0=BD=D0=B0=20=D0=B2=D1=82=D0=BE=D1=80=D0?=  
=?UTF-8?Q?=BE=D0=B9=20=D0=B4=D0=BE=D0=BC=D0=B5=D0=BD(?=

Note “=D0” and “=BE” (single UTF-8 char) split across MIME words.  
It would be good to resolve the core issue with forum and remove  
the workaround in question.

Maxim D.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 19, 2011, 5:04pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/15 "2011-02-19T17:04:16Z")

</div>

On 2/19/11 1:12 AM, Dayo wrote:

> no need to spit the dummy

Hardly “spit[ting] the dummy”, though you are entitled to your opinion.  
Just telling it like it is but I applaud your (mis)use of Australian  
idiom.

–  
Jim O.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 19, 2011, 7:13am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/16 "2011-02-19T07:13:55Z")

</div>

## Jim O. Wrote:

> have no ads or other compensation. I try to deal  
> Or, if Igor wants the forum closed, all he needs  
> do is say the word…

Well, see here for requests [http://forum.nginx.org/read.php?6,123310](http://forum.nginx.org/read.php?6,123310).  
Perhaps people don’t complain because they see the request being  
ignored.

Anyway, no need to spit the dummy.  
Please consider giving the option to disable the “feature”.  
Two methods are posted in the link.

Thanks for your efforts. They are appreciated.

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,176110,176711#msg-176711](http://forum.nginx.org/read.php?2,176110,176711#msg-176711)

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 20, 2011, 12:16am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/17 "2011-02-20T00:16:50Z")

</div>

Hello!

On Sat, Feb 19, 2011 at 12:05:17PM -0500, Jim O. wrote:

[…]

> > And as far as this indeed affects mailing list and forum,  
> > including people in this particular thread (note several messages  
> > with incorrect configs due to being stripped) - I don’t

Just a side note: you mail client seems to unable to handle   
correctly as well.

> > consider private reporting to be better way to go.
> 
> I don’t disagree but reporting it is different than making comments  
> such as “forum is awful” without giving specifics. That is hardly  
> helpful.

I was really specific, Jim. I’ve commented relevant part with  
missed data and wrote that data was eaten by forum. If you think  
that it’s not specific - well, sorry.

> or to strip the bbcode. Initially I was stripping the bbcode in  
> emails from the forum until it was brought to my attention that this  
> also stripped necessary information, mostly from regexps. When  
> informed, and at _your_ request, I changed it so bbcode is sent in  
> the emails. I can eliminate bbcode entirely, but that is the only  
> “solution”, albeit not a great one.

I previously requested the very same thing: to eliminate data  
loss. Current situation is better than it was before the mentioned  
change, but it’s still far from ideal.

[…]

Maxim D.

p.s. Most of the time I tend to think that best method to resolve  
all forum-to-maillist problems would be to eliminate posting from  
forum to mailing list entirely, but sometimes try to be polite.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 20, 2011, 2:30am UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/18 "2011-02-20T02:30:33Z")

</div>

On 2/19/11 6:14 PM, Maxim D. wrote:

> Just a side note: you mail client seems to unable to handle  
> correctly as well.

Really? Attached are screen shots of the last email I sent which  
included several usages of that string. I use Thunderbird/3.1.7 (Mac)  
and the mail is sent via Google Apps. Screen captures are attached from  
both the sent folder from my client and that of the Google web client.  
They look OK to me.

> > > consider private reporting to be better way to go.
> > 
> > I don’t disagree but reporting it is different than making comments  
> > such as “forum is awful” without giving specifics. That is hardly  
> > helpful.
> 
> I was really specific, Jim. I’ve commented relevant part with  
> missed data and wrote that data was eaten by forum. If you think  
> that it’s not specific - well, sorry.

Again attached is your comment. You said “Just a side note: forum is  
awful, it eats data.”. No more. Without saying what data and when, it’s  
hardly what I would consider specific. I’ve been married for almost 20  
years - closer to 25 if you consider both wives 😉 - and my experience  
is that they have wanted me to “just know” what they’re thinking. That’s  
bad enough but I can’t read your mind too. We can agree to disagree as  
to how specific your comment really was.

If your commenting has been sent elsewhere then ASSuming that I’ve read  
it is a bad thing. I don’t read every message on this list. Some threads  
simply do not interest me and I stop reading them after the first email,  
or even based on the title of the first one. Subscribing to a mailing  
list hardly obligates me to read every message posted to it. Hence why I  
said, if there is an issue with the forum that you have commented on and  
I have seemed to “ignore” you, contact me directly. It’s not that I’m  
actually ignoring you, it’s that I simply haven’t “heard” you. Works in  
marriage too.

> > bbcode. My choice was to send the messages “as is” with the bbcode
> 
> […]
> 
> Maxim D.
> 
> p.s. Most of the time I tend to think that best method to resolve  
> all forum-to-maillist problems would be to eliminate posting from  
> forum to mailing list entirely, but sometimes try to be polite.

Your feelings on this issue have been made known clearly since before  
the forum opened. Again, Igor is the final arbiter of this issue since  
he owns the “[nginx.org](http://nginx.org)” domain. If he wants the two way communication  
closed then the forum will wither and die. I would close it in such a  
situation since it would serve no purpose. I have little doubt that you  
have lobbied him extensively on this issue. As you can see, I prefer the  
mailing list myself. However, there are many people, including many who  
use the Russian mailing list forum, who prefer to get support via a  
forum. I cannot provide the type of technical support that you and Igor  
and some other very knowledgeable and smart people provide. Hosting the  
forum is a small thing that I can do since nginx has helped me greatly.

As you can see from the attached page from Google Analytics, forum  
visits grew steadily over calendar year 2010. The dips are the weekends  
so I am guessing that people are often using it at work.

The “bonce rate” is high. That may be that people find it useless, but  
it may be that people find the information they are seeking. Either way,  
the same would happen on the mailing list archives since they contain  
more or less the same information. As I mentioned, we have nearly 4000  
registered users. As you can see, most visits are from USA, but Russia  
is second, Germany third, UK fourth and China fifth. Russian visitors  
are more likely to be returning visitors than are those from USA,  
Germany, UK, or China, and Russian visitors have somewhat lower bounce  
rate and somewhat higher page views/visit than do those from USA,  
Germany, and UK. Ukraine is number six in total visits. Page views per  
visit, new vs. returning visits, and bounce rates are similar to those  
of Russian visitors. I am guessing that many if not most of these  
visitors are availing themselves of pages in the Russian mailing list. I  
have not looked at data from other nations in the former USSR, but my  
point is that this may be useful to people from many nations. So  
solutions to the problems would seem better than cutting off help to  
those who want it and find this method better for them. While one  
million annual visitors hardly makes this a big site, it does indicate  
that there is at least a demand. If you consider that 87% bounce, then  
those visitors are responsible for roughly 870,000 out of roughly 1.4  
million pages viewed. Extrapolating, the other 130,000 visitors viewed  
roughly 530,000 pages or just over four pages per visit. Considering the  
number of nginx users worldwide, I think this may be a significant  
number.

Again, I’m asking for help with the code from anyone who can look it  
over.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 20, 2011, 12:50pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/19 "2011-02-20T12:50:46Z")

</div>

Hello!

On Sat, Feb 19, 2011 at 08:28:27PM -0500, Jim O. wrote:

> > Just a side note: you mail client seems to unable to handle  
> > correctly as well.
> 
> Really? Attached are screen shots of the last email I sent which  
> included several usages of that string. I use Thunderbird/3.1.7  
> (Mac) and the mail is sent via Google Apps. Screen captures are  
> attached from both the sent folder from my client and that of the  
> Google web client. They look OK to me.

Really. Number of spaces before and after is garbled.

[…]

Maxim D.

---

<div class="post-metadata">

**Author:** ![Amanager](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f04885/32.png) [@Amanager](https://www.ruby-forum.com/u/Amanager)\
**Post date:** [February 19, 2011, 6:06pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301/20 "2011-02-19T18:06:51Z")

</div>

On 2/18/11 5:06 PM, Maxim D. wrote:

> > > > data.  
> > > > intact is really  
> > > > Sorry for being rude, but I’ve noticed the issue and commented  
> > > > according to it’s nature. I indeed consider anything which causes  
> > > > data corruption to be awful (and this isn’t the first data  
> > > > corruption issue with forum, unfortunately). I also consider  
> > > > nginx proxy cache to be awful for similar reasons - hope this will  
> > > > help you to feel yourself better. 😉

Maxim, this is not about my feelings. As Eleanor Roosevelt said, “No one  
can make you feel inferior without your consent.”. If someone makes a  
comment to you that your help is awful, how likely are you to continue  
helping him?

> And as far as this indeed affects mailing list and forum,  
> including people in this particular thread (note several messages  
> with incorrect configs due to being stripped) - I don’t  
> consider private reporting to be better way to go.

I don’t disagree but reporting it is different than making comments such  
as “forum is awful” without giving specifics. That is hardly helpful.

> Some more issues in additional to one with, in case you are  
> willing to work on them:
> 
> 1. BB-codes seems to be processed in mailing list messages shown  
> in forum, thus providing another data damage vector. Example may  
> be seen in the same thread, in Igor’s message:

We have gone over this one in the past. The way the forum engine works  
is that it “sees” anything enclosed in square brackets as bbcode. My  
choice was to send the messages “as is” with the bbcode or to strip the  
bbcode. Initially I was stripping the bbcode in emails from the forum  
until it was brought to my attention that this also stripped necessary  
information, mostly from regexps. When informed, and at _your_ request,  
I changed it so bbcode is sent in the emails. I can eliminate bbcode  
entirely, but that is the only “solution”, albeit not a great one.

> [http://forum.nginx.org/read.php?2,176110,176123#msg-176123](http://forum.nginx.org/read.php?2,176110,176123#msg-176123)
> 
> 1. Word wrapping in UTF-8 seems to be done based on bytes, not on  
> chars. This causes really narrow (and hard to read) messages from  
> forum in russian mailing list.

How would I have known this? I don’t read the Russian mailing list.  
Again. making comments like “forum is awful” without this specific  
information is not helpful. I can look into this.

> ```
> =?UTF-8?Q?=BE=D0=B9=20=D0=B4=D0=BE=D0=BC=D0=B5=D0=BD(?=
> 
> ```
> 
> Note “=D0” and “=BE” (single UTF-8 char) split across MIME words.  
> It would be good to resolve the core issue with forum and remove  
> the workaround in question.

I may be able to fix this. I will look at the code.

Again, anyone who knows PHP (I hardly do) is welcome to offer assistance  
to me on any/all of the above. Bear in mind, this is not my app and I  
can at best place band-aids on it.

> Maxim D.

–  
Jim O.

[Next page](https://www.ruby-forum.com/t/problem-with-nginx-0-8-54-and-alias/203301.md?page=2)
