Site Redirecting

Hello, everyone. I have Wordpress 3.1 Multisite installed, and my main
is in a continuous loop: There is nothing in my
logs to tell me what is wrong. Can someone help me with troubleshooting
issue? Thanks.

I should also mention that the main site only redirects when you are
logged in.

Post your conf if you want anybody to give you a hand.

Antoine B…

Just checked…

From here I see a 302 redirect from the home to /welcome/ together
with setup of three cookies “PHP_SESSION”, “bp-message” &
Then /welcome/ gives a 302 to the home, together with set-cookie of
“bp-message” & “bp-message-type”.

And again and again and again and again…

On Tue, Mar 1, 2011 at 6:01 PM, Parker, Joshua [email protected]

nginx mailing list
[email protected]

Guzmn B. Nez
Senior Perl Developer / Sysadmin
Mobile: +598 98 674020

Also it may be your application & not nginx giving the 302 when users
request /welcome/

At least that /welcome/ comes with a some application headers like
X-Pingback & X-Powered-By.

I would suspect your nginx is working as expected, it’s your
application not working correctly when /welcome/ is requested.

As it was said send your config if you need help

On Tue, Mar 1, 2011 at 6:18 PM, Guzman B. [email protected]

troubleshooting this issue? Thanks.
Church Management System -

Guzmn B. Nez
Senior Perl Developer / Sysadmin
Mobile: +598 98 674020

Guzmn B. Nez
Senior Perl Developer / Sysadmin
Mobile: +598 98 674020

Thanks, that helps. I will try to see if I can track that down
Just in case it maybe something else, below is my conf.

server {
listen 80;
server_name _ *;
access_log /home/parkerj/public_html/;

        # Set this to off if you're hosting more than one site
        server_name_in_redirect off;

        location ~*

root /home/parkerj/public_html/;
# rewrite rules
rewrite ^.
/files(/.*)$ /wp-includes/ms-files.php?file=$1
expires 10d;
#error_page 404 = @wordpress;
#log_not_found off;

        location /  {

        try_files $uri $uri/ @wordpress;

        gzip on;
        gzip_http_version 1.0;
        gzip_vary on;
        gzip_comp_level 3;
        gzip_proxied any;
        gzip_types text/plain text/css application/json

application/x-javascript text/xml application/xml application/xml+rss t$
gzip_buffers 16 8k;

        root   /home/parkerj/public_html/;
        index  index.php;

        client_max_body_size        10M;
        client_body_buffer_size     128K;

        if (!-e $request_filename) {
          #rewrite ^/.*(/wp-(content|includes|admin).*)$ $1 last;
          rewrite ^(.+)$ /index.php?q=$1 last;

        location @wordpress {
        fastcgi_param SCRIPT_FILENAME /home/parkerj/public_html/$fastcgi_script_name;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_NAME /index.php;

        # pass the PHP scripts to FastCGI server listening on
location ~ .php$
try_files $uri @wordpress;
root /home/parkerj/public_html/;
^/.(/(xmlrpc|wp-(cron|login|comments-post|signup)).php)$ $1 last;
rewrite ^/.
(/wp-(content|includes|admin).*)$ $1 last;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/parkerj/public_html/$fastcgi_script_name;

        location ^~ /blogs.dir/ {
            root /home/parkerj/public_html/;

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs