htaccess-for-nginx
htaccess-for-nginx copied to clipboard
.htaccess for nginx enables the nginx high performance webserver to deal with .htaccess files.
https://github.com/e404/htaccess-for-nginx/blob/b81c1f1a4573839021284652c75e2a42d008d72a/htaccess.lua#L1229 ``` RewriteRule p/ajax /ajax.php [QSA,L] ``` Will not work because the script will never append the querystring as it will not get past `if new_qs then`. So the querystring...
I am very new to nginx world (specially nginx unit) but is this cool project working on nginx unit too?
Using this htaccess, any images with png extensions are denied, which shouldn't happen. ```Options -ExecCGI -Indexes = 2.4> Require all granted Allow from all = 2.4> Require all denied Deny...
The following simple .htaccess file produces 500 error: ``` ## No directory listings Options -Indexes IndexIgnore * RewriteEngine On RewriteBase / ## Begin - Rewrite rules to block out some...
Hi, The script is not supporting -l and -L flags of symlinks detection. Can you please add it? Thank you!
Hi, I have .htaccess file on root path with this content: ``` RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] ``` I have more .htaccess file...
Any Possibility of a PHP version ?
I have this code and I am getting this error. ``` RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule...
I started using PHPNuGet to make a local chocolatey server. When I try to install a package or search, Chocolatey send the request correctly, but nginx is not able to...