Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 14:24:42

Author Topic: Rewrite rules does not work well  (Read 3270 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Rewrite rules does not work well
« on: 2014-05-02, 22:27:12 »
I use nginxproxy with such .htaccess file:

Quote
RewriteRule ^index.html$ index.php [L]

RewriteRule ^([_A-Za-z0-9-]+).html$ index.php?d=$1 [L]
RewriteRule ^([_A-Za-z0-9-]+),([_A-Za-z0-9-]+).html$ index.php?d=$1&id=$2 [L]
RewriteRule ^([_A-Za-z0-9-]+),([_A-Za-z0-9-]+),([_A-Za-z0-9-]+).html$ index.php?d=$1&id=$2&idd=$3 [L]
RewriteRule ^([_A-Za-z0-9-]+),([_A-Za-z0-9-]+),([_A-Za-z0-9-]+),([_A-Za-z0-9-]+).html$ index.php?d=$1&id=$2&idd=$3&iid=$4 [L]

Example: http://www.lubiefilmy.pl/index.html

Offline idoet

  • Junior Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Rewrite rules does not work well
« Reply #1 on: 2014-05-03, 18:05:03 »
does not work well:
Code: [Select]
<files install.php>
Order allow,deny
Deny from all
</files>

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.027 seconds with 22 queries.

web stats analysis