Re: Rewrite .htaccess on nginx

2020-09-01 Thread Francis Daly
On Tue, Sep 01, 2020 at 03:34:33PM -0400, Jorge Enrique Diaz wrote: Hi there, > i want to do this in nginx > > Options All -Indexes > RewriteEngine on > > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] That is approxima

Rewrite .htaccess on nginx

2020-09-01 Thread Jorge Enrique Diaz
i want to do this in nginx Options All -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] when converting it as it appears in several forums it gives me this script user nobody; worker_processes 1;

Re: .htaccess

2020-06-30 Thread Francis Daly
On Sat, Jun 27, 2020 at 06:49:51PM -0300, Zonimi wrote: Hi there, > Hello, I would like to know how do I convert this to nginx; > > > RewriteEngine On > RewriteCond %{REQUEST_URI} !(/$|\.) > RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQU

.htaccess

2020-06-27 Thread Zonimi
Hello, I would like to know how do I convert this to nginx; RewriteEngine On RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] Already tried; location / { try_file

Re: Convert .htaccess to nginx rules

2018-01-09 Thread ThanksDude
Thanks @Anoop Alias However I tried it and unfortunately it didn't worked. What reason can it be? I'm running latest nginx (1.13.8) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278046,278060#msg-278060 ___ nginx mailing list nginx@nginx

Re: Convert .htaccess to nginx rules

2018-01-09 Thread Anoop Alias
try_files $uri $uri/ /index.php; should work On Tue, Jan 9, 2018 at 7:10 PM, ThanksDude wrote: > hey guys > > I tried the tools and it didn't worked for me. > can u guys pls help me convert this to a nginx rules? > > > RewriteEngine On > > #RewriteCond %{HTTPS} off > #RewriteRule .* https://%{H

Convert .htaccess to nginx rules

2018-01-09 Thread ThanksDude
hey guys I tried the tools and it didn't worked for me. can u guys pls help me convert this to a nginx rules? RewriteEngine On #RewriteCond %{HTTPS} off #RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #RewriteCond %{HTTP_HOST} !^www\. #RewriteRule .* http://www.%{HTTP_HOST}%{REQUE

Re: htaccess to nginx conversion?

2015-09-07 Thread B.R.
Is not coming on a product ML dropping a 1-liner with doubtful assumptions about another one trolling? --- *B. R.* On Sun, Sep 6, 2015 at 7:16 PM, Quân Thứ wrote: > You can try L2MP Stack (http://l2mp.ml) It support htaccess and > Litespeed 6x Faster than Apache > > -- >

Re: htaccess to nginx conversion?

2015-09-06 Thread Quân Thứ
You can try L2MP Stack (http://l2mp.ml) It support htaccess and Litespeed 6x Faster than Apache -- Posted via http://www.ruby-forum.com/. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Convert Apache .htaccess rewrite to nginx

2015-06-25 Thread ryd994
On Wed, Jun 24, 2015, 15:31 nngin wrote: searching the site, i found that this same question goes unanswered. Please point me in the right direction of where i would be able to get help. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259810,259876#msg-259876 __

Re: Convert Apache .htaccess rewrite to nginx

2015-06-24 Thread nngin
searching the site, i found that this same question goes unanswered. Please point me in the right direction of where i would be able to get help. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259810,259876#msg-259876 ___ nginx mailing list n

Convert Apache .htaccess rewrite to nginx

2015-06-23 Thread nngin
Hello, I am new to nginx and I am having trouble converting htaccess rewrite to nginx rewrite. Please help me convert the following mod_rewrites with a brief explanation. And should I put the nginx rewrite back into the .htaccess file or is there a designated config file to put the nginx location

htaccess to nginx conversion?

2015-05-21 Thread tdubs
Hello, I am working with a panel in which requires the pages to function properly from the .htaccess file. However, I am no longer using Apache and have decided to do a Centmin Mod LEMP web stack to improve performance and whatnot. Anyways, I used this online converter http://winginx.com/en

bitwasp htaccess

2014-09-04 Thread Cyrus
I've got a nice easy htaccess I need to convert to nginx. RewriteEngine On RewriteBase /bitwasp RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php/$1 [L] # Checks to see if the user is attempting to access a valid file, #such as an image or css document, if this isn'

Re: Nginx like Rewrite feature (.htaccess) doesn't seem to be working (Help)

2014-02-17 Thread Maxim Dounin
Hello! On Sun, Feb 16, 2014 at 11:58:00AM +, Paulo Ferreira wrote: > Good Morning. > > > I'm making a site and I want to make the link more usable so I used the > Apache's RewriteCond which is the one I more comfortable with. I know that > there are a site or two that lets me convert and so

Nginx like Rewrite feature (.htaccess) doesn't seem to be working (Help)

2014-02-16 Thread Paulo Ferreira
of them. this is what I have RewriteEngine On RewriteCond %(REQUEST_FILENAME) !-d RewriteCond %(REQUEST_FILENAME) !-f RewriteCond %(REQUEST_FILENAME) !-i RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] One gave me this (http://winginx.com/htaccess) # nginx configuration location / { rewrite ^(

Re: I really Need this htaccess url rewrite to Nginx rewrite

2013-06-23 Thread Francisco C Soares
On 06/23/2013 02:14 PM, escavern wrote: Dear nginx forum members, im buying the script and it has only apache rules(htaccess) and i have difficulties convert the htaccess to nginx rewrite rules... Have you tried it? See: Você já tentou isso? Veja: http://winginx.com/htaccess <h

I really Need this htaccess url rewrite to Nginx rewrite

2013-06-23 Thread escavern
Dear nginx forum members, im buying the script and it has only apache rules(htaccess) and i have difficulties convert the htaccess to nginx rewrite rules, the file is: = RewriteEngine On RewriteBase / RewriteRule ^login

Re: Kindly help me convert this htaccess to nginx directives?

2013-03-07 Thread Jonathan Matthews
Why don't you show us what you've tried; what hasn't worked; and where you got stuck? That way, *you* get to learn about nginx, and *we* don't waste our time a) repeating things you've already managed to do and b) doing your job for you! Cheers, Jonathan -- Jonathan Matthews // Oxford, London, U

Kindly help me convert this htaccess to nginx directives?

2013-03-07 Thread ubunifu
ErrorDocument 404 / ErrorDocument 500 / Options +FollowSymlinks RewriteEngine on RewriteBase / SecFilterEngine Off SecFilterScanPOST Off RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^([^\.\/\-]+)$ $1.php [L] RewriteRule ^videos/([^\.\/]+)$ /video-file.php

Re: Need help to convert .htaccess to nginx rules

2013-03-07 Thread onel0ve
ok CAn you just tell how to exclude a directory from nginx rules ? . I want to disable mod rewrite for one sub folder . Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236960,237083#msg-237083 ___ nginx mailing list nginx@nginx.org http://mail

Re: Need help to convert .htaccess to nginx rules

2013-03-06 Thread Jonathan Matthews
On 6 March 2013 12:34, Andre Jaenisch wrote: > 2013/3/6 onel0ve : >> I just need to convert this to nginx rules . > > I guess, the thing is, that you shall learn, how this can be achieved. > So you can do it on your own the next time. > In case you've tried it yet, it may be helpful to show your a

Re: Need help to convert .htaccess to nginx rules

2013-03-06 Thread Andre Jaenisch
2013/3/6 onel0ve : > I just need to convert this to nginx rules . I guess, the thing is, that you shall learn, how this can be achieved. So you can do it on your own the next time. In case you've tried it yet, it may be helpful to show your attempts. Look, it seems that you want others to do your

Re: Need help to convert .htaccess to nginx rules

2013-03-06 Thread onel0ve
I just need to convert this to nginx rules . # To ignore htaccess - enlist here RewriteCond $1 !^(index\.php|ftpservice|demo|ftpdb|MDF|phpsysinfo|admin|templates|links| api|forum|articles|imageGallery|language|includes|ajax|resources|fonts|images|parse|directory| uploads|system|rss\.php|robots

Re: Need help to convert .htaccess to nginx rules

2013-03-05 Thread mex
maybe this helps as a start: http://stackoverflow.com/questions/5840497/convert-htaccess-to-nginx and you may want to read http://wiki.nginx.org/HttpCoreModule#location http://wiki.nginx.org/HttpRewriteModule since usage and order-of-procerssing is quite a little different regards, mex

Need help to convert .htaccess to nginx rules

2013-03-05 Thread onel0ve
[code] #Compress SetOutputFilter DEFLATE Options +FollowSymLinks RewriteEngine on RewriteBase / # please use .php at url for admin RewriteRule ^recent-articles-feed rss.php [NC] RewriteRule ^rss/([^/]+) rss.php?q=$1 [NC] # To ignore htaccess - enlist here RewriteCond $1 !^(index\.php|ftpservice