Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1202278
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Nov 2, 9:19 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Tue, Nov 4, 9:19 AM (6 h, 41 m)
Engine
blob
Format
Raw Data
Handle
784150
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/5.0.x/tools/.htaccess
===================================================================
--- branches/5.0.x/tools/.htaccess (revision 12257)
+++ branches/5.0.x/tools/.htaccess (revision 12258)
@@ -1,16 +1,30 @@
+###### Search Engine Friendly URLs ######
+
# Uncomment line below if FollowSymLinks option is not enabled by default in server configuration
#Options +FollowSymLinks
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/ !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_URI} !\.(gif|jpg|png|js|css|ico|swf)$ [NC]
RewriteRule ^(.*) index.php?rewrite=on&_mod_rw_url_=$1 [QSA]
+
+###### Security ######
<Files ~ "\.(tpl|tpl.xml|inc.php|sql)$">
order allow,deny
deny from all
-</Files>
\ No newline at end of file
+</Files>
+
+<Files "config.php">
+ order allow,deny
+ deny from all
+</Files>
+
+<Files "debug.php">
+ order allow,deny
+ deny from all
+</Files>
Event Timeline
Log In to Comment