I have this rewrite rules
Code:Only registered members can view the code.
but add-listing links don't work
like this
http://mydomain/add-listing/books/books ... ories.html
http://mydomain/post-ad/dvds-and-movies/dvd/
Printable View
I have this rewrite rules
Code:Only registered members can view the code.
but add-listing links don't work
like this
http://mydomain/add-listing/books/books ... ories.html
http://mydomain/post-ad/dvds-and-movies/dvd/
Hello Dmitri,
So as i understand url is not working if more than one subcategory?
Actually it is first time i hear this issue, maybe it is related changes you made.
You can PM me website url and ftp i will check this issue
Does anyone have a working rewrite configuration for Flynax version 4.x? There are more rules in the current version than the one previous:
Any help would be appreciated.Code:Only registered members can view the code.
I realize this thread is old, but does anyone have a complete set of rules for nginx with 4.x?
thanks!
In case somebody need nginx rules, here they are:
Code:Only registered members can view the code.
In my case it was in the server section of the nginx config file
I also can confirm that flynax works on nginx +fastcgi php server without apache )
update:
for the sitemap plugin additional rule required
Code:Only registered members can view the code.
FYI:
We don't provide nginx server configuration service as any other web server configurations or tweaking service. You have to do it with your server administrator or hosting support.
Yes there are rewrite rules in the thread to use with nginx server, but only the rules - you have to copy them to the nginx configuration file. Please consider that the rest of configuration should be done on your side
Hi all,
If your Flynax script is installed in a subdirectory then use a location tag below:
Code:Only registered members can view the code.
Are there any instructions how to enable this for nginx+fastcgi?
my current settings are:
but the website responds with the 404 codeCode:Only registered members can view the code.
Hello,
The rewrite rules not dependent on this nginx+fastcgi or nginx+apache
Show us the contents of your tag server {...} not just one location ~ \.php$ {...}
Server {} are default. But will post it once I have access to it
Here is my code
Code:Only registered members can view the code.
Is anything else needed to solve this issue?
Code:Only registered members can view the code.
perfect! but didnt check if this works with the sitemap yet
Hello,
I'm migrating server, leaving the Apache for Nginx which is much faster than the last.
I have a big problem .... already migrated everything, including the database that has a lot of work, but is now ok.
The problem is that the rewrite mode and friendly url stopped working.
- How do I get back? code available at Alex, I put in the .htaccess file, but still does not work.
- At the site of administration, I must leave marked the Module option "Apache Rewrite" Settings> General? or not?
- Someone could make the friendly url running on Nginx without Apache?
Thank you.
Leandro.
Hi Alex,
Did you manage to sort out the wildcard request?
Thanks!
Dear Alex
It is great script for version 4.5 but it doesn't work in 4.5.2 on front-end user.
It just works for back-end. Could you show me how to fix it?
Best
Hello Alex,
I have tried this in Flynax 4.6 but I am getting a 404 error. :( Can someone confirm if any of these rules are working in v4.6? I would be very grateful for your time/effort. Maybe I am just overlooking something very basic?
FYI: The installation tells me undefined for mod_rewrite, is this supposed to change green and to enabled on that install screen, or is it not updated for nginx for that install screen? I would like to move on from this part as quickly as possible.
Please help...
Thank you!
Brian
Kevin,
I tried replying to the support@flynax, in case you didn't get it, I would surely appreciate your time and effort to get me the nginx rules that will work with flynax as opposed to the apache web server!
Thanks a million!
Brian
I don't know, if it helps people like to convert .htaccess from apache to nginx.
http://winginx.com/en/htaccess
Hello Bahram,
I am looking for the new rules for nginx, I believe Kevin has them, I am just getting to check my emails at this time, but if I have to, I will resort to apache server until new NGINX rules have been up to date.
Thank you
Brian
Mike,
I am going to send my nginx.conf file and default config file from the sites-available folder. I am sending you both as I have not modified the nginx.conf file, just the default file from the sites-available folder. It's my understanding that the server section and location section(s) that you have referred to in your last email is in the default file. I have enclosed both files in one zip file for you to check. I appreciate you help in advance!
Thank you Mike!
Brian
I have copied/pasted the above code into my nginx.conf file, but when restarting the server I get an error: It's the journal error, having to do with nginx.conf, when I take that code out, the error is gone, but no mod_rewrite, can someone confirm that the code posted by alex does in fact work in v4.6?
If it works in 4.6 can you post your nginx.conf file so I can take a look?
Thank you
Brian
Hello,
Has anyone have mod_rewrite working with nginx? I am using ubuntu 16.04 and the best that I have come to is getting rid of the 404 errors and replaced them with no error, but just a page refresh when clicking on a link, so no I have not yet made it work yet but am still looking for a solution. If anyone has it working I would be grateful for the share.
I have not touched the nginx.conf, rather I have modified the /etc/nginx/sites-available/default configuration file. Also, I have tried the other code, specifically by alex, but that has not worked either...I even tried to comment out the other location directives when add alexes' code, but still not working. :mad:
Is there any obvious mistakes in this file?
/etc/nginx/sites-available/default file:
BrianCode:Only registered members can view the code.
Add rule for hybridAuthLogin
Code:Only registered members can view the code.