Welcome! Log In Create A New Profile

Advanced

Redirect rules

Posted by CactO_o's 
Redirect rules
February 10, 2012 02:00PM
Hi, I have a simple redirection of my html file on php :

server
{
location ~ .html$ {
rewrite ^/(.*).html$ /index.php?page=$1;
}
}

And i want that only if the html file are on root : domain.tlm/file.html

Thank you all !

Sorry my english is bad
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
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