Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
noblogs-wp
Commits
3f2aec08
Commit
3f2aec08
authored
Dec 10, 2010
by
root
Committed by
agata
Jul 01, 2020
Browse files
Let apache ignore our .git directory
parent
e3c6c2cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
.htaccess
View file @
3f2aec08
...
...
@@ -46,3 +46,11 @@ RewriteCond %{REQUEST_FILENAME} -d
RewriteRule
^ - [L]
RewriteRule
. index.php [L]
# END WordPress
# BEGIN noblogs
# .git doesn't exist
RedirectMatch
404 /\\.git(/|$)
# END noblogs
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment