generated from devuri/raydium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# AuthName "Raydium Demo Mode" | ||
# AuthType Basic | ||
# AuthUserFile /srv/users/username/apps/username/_htpass/.htpasswd | ||
# Require valid-user | ||
|
||
<files .htaccess> | ||
Order allow,deny | ||
Deny from all | ||
</files> | ||
|
||
# BEGIN WordPress | ||
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are | ||
# dynamically generated, and should only be modified via WordPress filters. | ||
# Any changes to the directives between these markers will be overwritten. | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | ||
RewriteBase / | ||
RewriteRule ^index\.php$ - [L] | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule . /index.php [L] | ||
</IfModule> | ||
|
||
# END WordPress | ||
|
||
# custom error messages | ||
ErrorDocument 403 "No Access permission." | ||
|
||
# Block WordPress xmlrpc.php | ||
<Files xmlrpc.php> | ||
order deny,allow | ||
deny from all | ||
</Files> | ||
|
||
Options All -Indexes | ||
<FilesMatch "^(readme.*|license.*|composer.*|wp-config.php|README.*)$"> | ||
order allow,deny | ||
deny from all | ||
</FilesMatch> | ||
|
||
<files wp-config.php> | ||
Order allow,deny | ||
Deny from all | ||
</files> |