Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1168261
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
Wed, Sep 24, 9:28 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Fri, Sep 26, 9:28 AM (21 h, 3 m)
Engine
blob
Format
Raw Data
Handle
756815
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