Answer the question
In order to leave comments, you need to log in
How to reconfigure nginx in Apache?
Hello, I have this nginx config
location /recovery.pb {
try_files $uri $uri/ /libs/recovery_pass.php;
}
<?php
require("../init.php");
echo basename(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/libs/recovery_pass.php.*
RewriteRule ^/$ /recovery.pb [L]
</IfModule>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question