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

How to install Oxwall with Nginx? | Forum

Kevin
Kevin Nov 18 '13
Im facing 404 issue when install.


I think it should be the mod_rewrite issue.


My dedicated server is running on Nginx


What should I put in the server {} ?


How can I check if mod_rewrite is working?


How do I install oxwall at Nginx?


thanks

The Forum post is edited by Kevin Nov 18 '13
Kevin
Kevin Nov 18 '13
Omg... It is working now, I have to shut down nginx and restart it... the restart thing is not working... I hate rewrite!!
fbkca
fbkca Nov 18 '13
Can you give me some tips on getting it working... I must be missing some re-writes as I get a lot of broken images...
Kevin
Kevin Nov 18 '13
I have not try the images yet, i will let you know


I put in the rewrites rules at the .conf server{}

Kevin
Kevin Nov 19 '13
You have to put this code into nginx rewrite .conf server {}


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;}


fbkca
fbkca Nov 19 '13
Can you edit that and format it? Pasting in these forums rarely works...


So is your all working now?


Can you post your config(s)?

Kevin
Kevin Nov 19 '13
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; }


it looks like it is working, i uploaded an image and it is good

fbkca
fbkca Nov 19 '13
I don't have a rewrite.conf... what version of nginx are you using? I understand everything goes into a separate mysite.conf using location / { settings  } ???


fbkca
fbkca Nov 19 '13
what are you using to parse your php?
fbkca
fbkca Nov 19 '13
Ok I think I got it now...
Kevin
Kevin Nov 19 '13
I am using the virtualmin that my friend set me up, I am not a server guy I google my way in


/etc/nginx/site/"yoursite"


put inside "server { ***Put anywhere HERE*** }"


Nginx version 1.0.15

fbkca
fbkca Nov 19 '13
right ok, so this is what I have for a working config (replacing 24.5.6.7 with your server's IP):


server {

        root /var/www/mysite;

        listen 24.5.6.7:80;

        server_name www.mysite.com;

        access_log /var/log/nginx/mysite.org.access.log;


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; }


        location ~ \.php {

                fastcgi_split_path_info ^(.+\.php)(.*)$;

                #fastcgi_pass backend;

                fastcgi_pass 127.0.0.1:9000;

                fastcgi_index index.php;

                fastcgi_param SCRIPT_FILENAME /var/www/mysite$fastcgi_script_name;

                include fastcgi_params;

                fastcgi_param QUERY_STRING $query_string;

                fastcgi_param REQUEST_METHOD $request_method;

                fastcgi_param CONTENT_TYPE $content_type;

                fastcgi_param CONTENT_LENGTH $content_length;

                fastcgi_intercept_errors on;

                fastcgi_ignore_client_abort off;

                fastcgi_connect_timeout 60;

                fastcgi_send_timeout 180;

                fastcgi_read_timeout 180;

                fastcgi_buffer_size 128k;

                fastcgi_buffers 4 256k;

                fastcgi_busy_buffers_size 256k;

                fastcgi_temp_file_write_size 256k;

        }


}

Kevin
Kevin Nov 19 '13
yea something like that, and than restart your nginx web server


is that working for you now?

fbkca
fbkca Nov 20 '13
yes, thanks!
fbkca
fbkca Nov 20 '13
The only problem I've found is that there is no access to the sitemap files...


sitemap-1.xml

sitemap.xml



fbkca
fbkca Nov 20 '13
I made these changes to allow them:


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 !~ "^/sitemap.xml"){set $rule_0 5$rule_0; }

if ($uri !~ "^/sitemap-[0-255].xml"){set $rule_0 6$rule_0; }

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

The Forum post is edited by fbkca Nov 20 '13
Abu Road Escort
Abu Road Escort Jul 20 '22
Lucknow Escort Service | < | > | Agra Escort Service | < | > | Aligarh Escort Service | < | > | Allahabad Escort Service | < | > | Ambedkar Nagar Escort Service | < | > | Auraiya Escort Service | < | > | Azamgarh Escort Service | < | > | Baghpat Escort Service | < | > | Bahraich Escort Service | < | > | Ballia Escort Service | < | > | Balrampur Escort Service | < | > | Banda Escort Service | < | > | Barabanki Escort Service | < | > | Bareilly Escort Service | < | > | Basti Escort Service | < | > | Bijnor Escort Service | < | > | Budaun Escort Service | < | > | Bulandshahar Escort Service | < | > | Chandauli Escort Service | < | > | Chitrakoot Escort Service | < | > | Deoria Escort Service | < | > | Etah Escort Service | < | > | Etawah Escort Service | < | > | Faizabad Escort Service | < | > | Farrukhabad Escort Service | < | > | Fatehpur Escort Service | < | > | Firozabad Escort Service | < | > | Gautam Buddha Nagar Escort Service | < | > | Ghaziabad Escort Service | < | > | Ghazipur Escort Service | < | > | Gonda Escort Service | < | > | Gorakhpur Escort Service | < | > | Hamirpur Escort Service | < | > | Hardoi Escort Service | < | > | Jalaun Escort Service | < | > | Jaunpur Escort Service | < | > | Jhansi Escort Service | < | > | Jyotiba Phule Nagar Escort Service | < | > | Kanpur Escort Service | < | > | Kannauj Escort Service | < | > | Kanshiram Nagar Escort Service | < | > | Kaushambi Escort Service | < | > | Kheri Escort Service | < | > | Kushinagar Escort Service | < | > | Lalitpur Escort Service | < | > | Mahamaya Nagar Escort Service | < | > | Maharajganj Escort Service | < | > | Mahoba Escort Service | < | > | Mainpuri Escort Service | < | > | Mathura Escort Service | < | > | Mau Escort Service | < | > | Meerut Escort Service | < | > | Mirzapur Escort Service | < | > | Moradabad Escort Service | < | > | Muzaffarnagar Escort Service | < | > | Pilibhit Escort Service | < | > | Pratapgarh Escort Service | < | > | Rae Bareli Escort Service | < | > | Ramabai Nagar Escort Service | < | > | Rampur Escort Service | < | > | Saharanpur Escort Service | < | > | Sant Kabir Nagar Escort Service | < | > | Sant Ravidas Nagar Escort Service | < | > | Shahjahanpur Escort Service | < | > | Shrawasti Escort Service | < | > | Siddharth Nagar Escort Service | < | > | Sitapur Escort Service | < | > | Sonbhadra Escort Service | < | > | Sultanpur Escort Service | < | > | Unnao Escort Service | < | > | Varanasi Escort Service | < | > |
kalvindarwan
kalvindarwan Dec 22 '23
On top of that, we also offer a variety of preventative maintenance plans to suit any budget so that problems can be managed before they become more costly mistakes down the line. Brownsville Onsite Truck Repair
pooledorothyw
pooledorothyw Dec 22 '23

To install Oxwall with Nginx, follow these steps:


Download Oxwall: Get the latest Oxwall version from the official website.


Install Dependencies: Ensure PHP, MySQL, and required extensions are installed on your server.


Configure Nginx: Create an Nginx server block for Oxwall. Configure the root directory, server name, and PHP processing.

If anyone want to know about paver sealing las vegas visit here

James Walter
James Walter Jan 3
Your satisfaction is our priority, and we are dedicated to keeping your diverse fleet in optimal condition. Folsom Bounce House Rental
Pages: 1 2 3 4 5 6 7 8 9 10 11 »