views:

16

answers:

0

I have a Drupal website at www.domain.com

Typically, Drupal stores files in www.domain.com/files. I have newsletter archives in http://www.domain.com/files/outreach/newsletter_templates.

When a user goes to http://www.domain.com/outreach I would like it to show the content of /files/outreach/../..

Can this be done with rewrite rules, or root?

    server {
       limit_conn   gulag 10; # like mod_evasive - this allows max 10 simultaneous connections   from one IP address
       listen       111.111.111.111:80;
       server_name  www.domain.com domain.com;
       root         /var/aegir/platforms/pressflow-6.19.92;
       index        index.php index.html;
       include      /var/aegir/config/includes/nginx_simple_include.conf;



    location /www.domain.com/outreach {
            root /www.domain.com/files/outreach;
            }
 }

does not seem to be working?