Skip to content

Commit

Permalink
Allow placing a phpinfo.php file when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
cygri committed Mar 17, 2016
1 parent 2dd3c34 commit 89dbc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteRule ^jquery.js$ vendor/jquery/jquery.js
RewriteRule ^zeroclipboard.(\w+)$ vendor/zeroclipboard/zeroclipboard.$1
RewriteCond %{REQUEST_URI} !/(robots\.txt|style\.css|.*\.js|.*\.swf|images/.*)$
RewriteCond %{REQUEST_URI} !/(phpinfo\.php|robots\.txt|style\.css|.*\.js|.*\.swf|images/.*)$
#RewriteRule .* maintenance.php [L]
RewriteRule .* index.php

0 comments on commit 89dbc83

Please sign in to comment.