Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
1.2k views
in Q2A Core by
Please check my Htaccess and let me know if there is anything to fix

Options -Indexes
DirectoryIndex index.html index.php
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>

# CloudProxy bypass prevention (Apache < 2.4)
<FilesMatch ".*">
    Require ip 192.88.134.0/23
    Require ip 185.93.228.0/22
    Require ip 2a02:fe80::/29
    Require ip 66.248.200.0/22
</FilesMatch>

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php5_module>
   php_flag asp_tags Off
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 128M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php56"
   php_value upload_max_filesize 2M
   php_flag zlib.output_compression Off
</IfModule>
Q2A version: 1.8
by
I have now removed the index.html in the second line and looks like this now
Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>

But i still get the error
by
Have some patience, I am 100% sure http://www.question2answer.org/qa/65290/authz_core-client-denied-configuration-satechhe-public_html question is also posted by you...

1 Answer

0 votes
by
I did some research and got this code
<Directory />
    AllowOverride None
    Order Deny,Allow
</Directory>
It is said that this can solve this problem
Any comments?
by
If I add this code I get an internal sever error
...