PrettyURLS plugin does not prevent directory browsing

Preventing directory browsing via PrettyURLS plugin when .htaccess is deleted by the user. ...as an addition to #No. 174
This commit is contained in:
Fraenkiman 2022-12-26 02:36:47 +01:00
parent fc9bcf45e8
commit 0928ae8a70
3 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~nowhereman/flatpress/branch/flatpress/

View File

@ -1,4 +1,5 @@
AddType application/x-httpd-php .php .htm .html
Options -Indexes
RewriteEngine On
RewriteBase /~nowhereman/flatpress/

View File

@ -628,6 +628,8 @@ if (class_exists('AdminPanelAction')) {
# Thanks again WP :)
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase ' . $blogroot . '