Welcome! Log In Create A New Profile

Advanced

Re: i've been trying to convert this .htaccess for a week now

merlin corey
December 29, 2009 04:32PM
On Tue, Dec 29, 2009 at 1:28 PM, merlin corey <merlincorey@dc949.org> wrote:
>
>> RewriteCond %{REQUEST_FILENAME} -f [OR]
>>
>> RewriteCond %{REQUEST_FILENAME} -d
>
> This part of course with try_files in root location.
>
>>
>> RewriteRule .+ - [L]
>>
>
> Not really sure what this one is checking...
>
>>
>> RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
>>
>
> Regular expression location with captures again.
>
> -- Merlin
>

Actually these last few rules are all for root location try_files like so:
location / {
try_files $uri $uri/ /profile.php?ID=$uri;
}

-- Merlin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

i've been trying to convert this .htaccess for a week now

testbot December 28, 2009 09:28PM

Re: i've been trying to convert this .htaccess for a week now

Luka Horvatic December 29, 2009 09:06AM

RE: i've been trying to convert this .htaccess for a week now

testbot December 29, 2009 01:34PM

Re: RE: i've been trying to convert this .htaccess for a week now

Luka Horvatic December 29, 2009 03:34PM

Re: i've been trying to convert this .htaccess for a week now

merlin corey December 29, 2009 04:32PM

Re: i've been trying to convert this .htaccess for a week now

merlin corey December 29, 2009 04:32PM

RE: i've been trying to convert this .htaccess for a week now

testbot December 29, 2009 05:16PM

RE: i've been trying to convert this .htaccess for a week now

testbot December 29, 2009 05:16PM

RE: i've been trying to convert this .htaccess for a week now

testbot December 29, 2009 06:20PM

Re: i've been trying to convert this .htaccess for a week now

Steve December 29, 2009 08:58PM

RE: i've been trying to convert this .htaccess for a week now

testbot December 29, 2009 09:42PM

Re: RE: i've been trying to convert this .htaccess for a week now

Steve December 30, 2009 06:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready