htaccess-for-nginx
htaccess-for-nginx copied to clipboard
-l or -L flag is not supported
Hi,
The script is not supporting -l and -L flags of symlinks detection. Can you please add it?
Thank you!
@proginter please include a sample .htaccess file and describe the behavior you expect to see.
I am getting an error it not supported.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html
-l Is symbolic link. Treats the TestString as a pathname and tests whether or not it exists, and is a symbolic link. May also use the bash convention of -L or -h if there's a possibility of confusion such as when using the -lt or -le tests.
-L Is symbolic link, bash convention. See -l.