# Mailing list software that plays nice with nginx

**URL:** <https://www.ruby-forum.com/t/mailing-list-software-that-plays-nice-with-nginx/213676>\
**Category:** NGINX\
**Created:** [November 8, 2011, 7:00pm UTC](https://www.ruby-forum.com/t/mailing-list-software-that-plays-nice-with-nginx/213676 "2011-11-08T19:00:40Z")\
**Posts on this page:** 3\
**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:** [November 8, 2011, 7:00pm UTC](https://www.ruby-forum.com/t/mailing-list-software-that-plays-nice-with-nginx/213676/1 "2011-11-08T19:00:40Z")

</div>

Hi everyone,

Looking for s script (preferably PHP) that plays nice with nginx “out of  
the box” i.e. doesn’t require rewriting .htaccess files into nginx  
rules,  
etc.

Just lloking for something that will let me send out an  
announcement-only  
list, handle people adding/deleting themselves, etc. Scheduled emails  
would be a blessing.

Anything out there fit the bill?

---

<div class="post-metadata">

**Author:** ![Ian\_MSEvans](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/7bcc69/32.png) [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Post date:** [November 8, 2011, 7:08pm UTC](https://www.ruby-forum.com/t/mailing-list-software-that-plays-nice-with-nginx/213676/2 "2011-11-08T19:08:44Z")

</div>

On Tue, November 8, 2011 12:59 pm, Ian M. Evans wrote:

> Looking for s script (preferably PHP) that plays nice with nginx “out of  
> the box” i.e. doesn’t require rewriting .htaccess files into nginx rules,  
> etc.

Okay, just discovered [GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/PHPList) minutes after  
sending  
this email. If only I had waited. 🙂

Anyway, the settings there seem to be if the list software is installed  
at  
the document root.

How would I change the locations if the software is installed at /lists?  
[I suck at locations and haven’t had much sleep!]

Thanks.

---

<div class="post-metadata">

**Author:** ![Ian\_MSEvans](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/7bcc69/32.png) [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Post date:** [November 9, 2011, 3:51pm UTC](https://www.ruby-forum.com/t/mailing-list-software-that-plays-nice-with-nginx/213676/3 "2011-11-09T15:51:05Z")

</div>

On 08/11/2011 1:08 PM, Ian M. Evans wrote:

> Anyway, the settings there seem to be if the list software is installed at  
> the document root.  
> How would I change the locations if the software is installed at /lists?  
> [I suck at locations and haven’t had much sleep!]

Here are the locations on the wiki:

location ~\* .(txt|log|inc)$ {

location ~\* .(js|css|png|jpg|jpeg|gif|ico)$ {

location /config {

location ~\*  
(index.php|upload.php|connector.php|dl.php|ut.php|lt.php|download.php)$  
{  
fastcgi\_split\_path\_info ^(.|.php)(/.+)$;  
fastcgi\_param SCRIPT\_FILENAME $document\_root$fastcgi\_script\_name;  
[etc]  
}

location ~ .php$ {

If phplists is being installed in /lists and not the root as in the wiki  
example ([GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/PHPList)), how would I change these  
locations?

Would it be location ~\* /lists.(txt|log|inc)$ {  
etc?

And how would I change fastcgi\_split\_path\_info ^(.|.php)(/.+)$; and  
fastcgi\_param SCRIPT\_FILENAME $document\_root$fastcgi\_script\_name;

Thanks.
