Skip to content

Commit

Permalink
Merge pull request #7762 from code-ph0y/fix/7761-htaccess-issue
Browse files Browse the repository at this point in the history
Fixed #7761 htaccess issue
  • Loading branch information
samus-aran committed Aug 29, 2019
2 parents 6146837 + 0efbc96 commit 0636b82
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions modules/Administration/UpgradeAccess.php
Expand Up @@ -59,25 +59,17 @@
# BEGIN SUGARCRM RESTRICTIONS
RedirectMatch 403 {$ignoreCase}.*\.log$
RedirectMatch 403 {$ignoreCase}/+not_imported_.*\.txt
RedirectMatch 403 {$ignoreCase}/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+.*\.(php|tpl)
RedirectMatch 403 {$ignoreCase}/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules|vendor|custom)/+.*\.(php|tpl)

This comment has been minimized.

Copy link
@hertell

hertell Sep 9, 2019

"custom" blocks the QuickCRM-module. Removing it, solves the issue with not being able to connect with QuickCRM.

RedirectMatch 403 {$ignoreCase}/+emailmandelivery\.php
RedirectMatch 403 {$ignoreCase}/+upload
RedirectMatch 403 {$ignoreCase}/+.git
RedirectMatch 403 {$ignoreCase}/+.{$cacheDir}
RedirectMatch 403 {$ignoreCase}/+Zend
RedirectMatch 403 {$ignoreCase}/+tests
RedirectMatch 403 {$ignoreCase}/+custom
RedirectMatch 403 {$ignoreCase}/+vendor
RedirectMatch 403 {$ignoreCase}/+jssource
RedirectMatch 403 {$ignoreCase}/+service
RedirectMatch 403 {$ignoreCase}/+build
RedirectMatch 403 {$ignoreCase}/+lib
RedirectMatch 403 {$ignoreCase}/+Api
RedirectMatch 403 {$ignoreCase}/+RoboFile\.php
RedirectMatch 403 {$ignoreCase}/+composer\.json
RedirectMatch 403 {$ignoreCase}/+composer\.lock
RedirectMatch 403 {$ignoreCase}/+cache/+diagnostic
RedirectMatch 403 {$ignoreCase}/+files\.md5\$
<IfModule mod_rewrite.c>
Options +SymLinksIfOwnerMatch
Options -Indexes
Expand Down

0 comments on commit 0636b82

Please sign in to comment.