Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (64 sloc) 2.2 KB
if (!empty($_POST['rules'])) {
error_reporting(E_ALL & ~E_NOTICE);
require_once 'rew.phps';
$RC = new rewriteConf($_POST['rules']);
?><!doctype html>
<html lang="fr">
<meta charset="utf-8">
<title>Rule convertor, convert apache htaccess rewrite rules to nginx rewrite rules automatically</title>
<link href=',100' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style.css">
<h1>Apache2Nginx rules converter</h1>
<i>attention: not so much beta, but check twice before using!</i>
<article id="apache">
<h2>Apache Rewrite Rules</h2>
<textarea placeholder="Paste your rules here"></textarea>
<div id="loader">
<div class="loader-inner pacman">
<article id="nginx">
<h2>Nginx converted Rules</h2>
<textarea placeholder="The magic will appears there"></textarea>
<strong>Will you make the codes public?</strong>
Please check <a href=""></a> also you can contact from: anil(at)
Yes I accept donations. Please use my paypal account: pp(at)
<strong>Does it supports xxx?</strong>
This page has woozy codes, I dont know try it yourself and see. Backreferances, most of the variables and a
few flags are supported.There are tons of fancy hacks for catching rewrite behavior of apache. As you see, it
highly uses variables for deciding to rewriting and there must be many much errors/unmatched directives.
A converter by <a href="">Mow</a> - UI by <a href="">OwnWeb</a>
<script src=""></script>
<script src="app.js"></script>