We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Oxwall and Nginx | Forum

Bjoern Ternes
Bjoern Ternes Jun 7 '13
Hi,
I want host Oxwall at a Nginx Webserver.
When i want to open /install i get a 404 Error.
My rewrite:
    location = /index\.php {

    }

    location ~ /ow_updates/index\.php {
     }

    location /ow_updates/ {
    }

    location ~ /ow_cron/run\.php {
     }

    location /
    {
    rewrite (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ /index.php;
    }

Mfg ternes3
Paul M.
Paul M. Jun 7 '13
Try this:


if ($uri !~ "^/index.php"){set $rule_0 1$rule_0;

}

if ($uri !~ "/ow_updates/index.php"){set $rule_0 2$rule_0;

}

if ($uri !~ "/ow_updates/"){set $rule_0 3$rule_0;

}

if ($uri !~ "/ow_cron/run.php"){set $rule_0 4$rule_0;

}

if ($uri ~ "(/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/[^.]*)$"){set $rule_0 5$rule_0;}if ($rule_0 = "54321"){rewrite /(.*) /index.php;

}

The Forum post is edited by Paul M. Jun 7 '13
Bjoern Ternes
Bjoern Ternes Jun 7 '13
doesnt work :(
Now it redject me to a other script.

Mfg ternes3
Paul M.
Paul M. Jun 7 '13
Do you have access to the server{} config on this machine? Try looking through this, http://wiki.nginx.org/NginxHttpRewriteModule 
The Forum post is edited by Paul M. Jun 7 '13
Bjoern Ternes
Bjoern Ternes Jun 7 '13
Yes its my own Server
ross Team
ross Jun 10 '13
Topic was moved from General Questions.
fbkca
fbkca Nov 1 '13
does anyone have a working config for Nginx and Oxwall?