Results 1 to 10 of 12
-
3rd Jun 2012, 05:51 PM #1OPMemberWebsite's:
gr-tv.eu imgfly.euNginx rewrite rules help
Im looking for some help to make those nginx rules run smoothly from apache2 htaccess :
RewriteRule ^api$ api.php [L]
RewriteRule ^admin/(.*) admin/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
Thanks for the help!GoDofAdeN Reviewed by GoDofAdeN on . Nginx rewrite rules help Im looking for some help to make those nginx rules run smoothly from apache2 htaccess : RewriteRule ^api$ api.php RewriteRule ^admin/(.*) admin/index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php Thanks for the help! Rating: 5
-
3rd Jun 2012, 05:57 PM #2MemberWebsite's:
imdber.org justpaste.meWhy not just use nginx infront of apache so you won't have to deal with these sort of problems.
-
3rd Jun 2012, 07:59 PM #3MemberWebsite's:
bypassx.com@Apathetic: any good tutirial about how to run nginx in front of apache?
-
4th Jun 2012, 07:05 AM #4MemberWebsite's:
vjetnamnet.com nguoihaiduong.com filezdown.comgive me your apache2 htaccess file. I will convert help you.
-
5th Jun 2012, 12:18 AM #5OPMemberWebsite's:
gr-tv.eu imgfly.euThats all my htaccess file:
Code:RewriteRule ^api$ api.php [L] RewriteRule ^admin/(.*) admin/index.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L]
-
5th Jun 2012, 01:22 AM #6MemberWebsite's:
vjetnamnet.com nguoihaiduong.com filezdown.comTry this:
if ($rule_0 = ""){
rewrite ^/api$ /api.php last;
}
if ($rule_1 = ""){
rewrite ^/admin/(.*) /admin/index.php last;
}
if (!-f $request_filename){
set $rule_2 1$rule_2;
}
if (!-d $request_filename){
set $rule_2 2$rule_2;
}
if ($rule_2 = "21"){
rewrite /. /index.php last;
}
-
5th Jun 2012, 08:44 PM #7OPMemberWebsite's:
gr-tv.eu imgfly.euunknown "rule_0" variable
I know this website too : http://www.anilcetin.com/
---------- Post added at 10:44 PM ---------- Previous post was at 03:56 AM ----------
RewriteRule ^api$ api.php [L]
Just this rule missing, please help!
-
6th Jun 2012, 12:29 AM #8Respected Member
Then you should have posted what you had before wasting everyones time.
-
6th Jun 2012, 05:50 PM #9OPMemberWebsite's:
gr-tv.eu imgfly.eutoo bad that website is outdated, and still 1 rule is missing. simply their conversions dont work on latest nginx release.
also, dont be rude, Im here to ask for help, not to waste your time, if you cant help, dont reply, thanks.
-
7th Jun 2012, 01:06 AM #10Respected Member
That is not rude what I said.
Your statement you know that site too was being rude to the one who spent the time trying too help.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Please Clarify The Correct Rules -Individual Mods Have Different Rules
By Ladybbird1 in forum Feedback and SuggestionsReplies: 49Last Post: 16th May 2012, 01:32 PM -
Lighttpd Rewrite Rules for vBSEO (Vbulletin)
By CapoSicario in forum vBulletinReplies: 2Last Post: 26th Aug 2011, 02:53 PM -
[WCDDL] Mod Rewrite Help
By DEViANCE in forum Web Application/Script SupportReplies: 1Last Post: 28th Jun 2011, 04:28 PM -
Nginx rewrite rules for PHPBB SEO
By LuDo8 in forum phpBBReplies: 0Last Post: 6th Jun 2011, 12:27 AM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...