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:
parent
fc9bcf45e8
commit
0928ae8a70
@ -1,3 +1,5 @@
|
|||||||
|
Options -Indexes
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteBase /~nowhereman/flatpress/branch/flatpress/
|
RewriteBase /~nowhereman/flatpress/branch/flatpress/
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
AddType application/x-httpd-php .php .htm .html
|
AddType application/x-httpd-php .php .htm .html
|
||||||
|
Options -Indexes
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteBase /~nowhereman/flatpress/
|
RewriteBase /~nowhereman/flatpress/
|
||||||
|
@ -628,6 +628,8 @@ if (class_exists('AdminPanelAction')) {
|
|||||||
|
|
||||||
# Thanks again WP :)
|
# Thanks again WP :)
|
||||||
|
|
||||||
|
Options -Indexes
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteBase ' . $blogroot . '
|
RewriteBase ' . $blogroot . '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user