.htaccess - You don't have permission to access /magento/ -
i've put on host in magento in sub-folder /magento/
, when try open http://example.com/magento/ got error
forbidden
you don't have permission access /magento on server.
i know .htaccess file because if remove/rename can open don't know can in .htaccess. had problem before , can give info how fix it? i'll post lines not commented in default .htaccess
directoryindex index.php <ifmodule mod_php5.c> php_flag magic_quotes_gpc off php_flag session.auto_start off php_flag suhosin.session.cryptua off php_flag zend.ze1_compatibility_mode off </ifmodule> <ifmodule mod_security.c> secfilterengine off secfilterscanpost off </ifmodule> <ifmodule mod_ssl.c> ssloptions stdenvvars </ifmodule> <ifmodule mod_rewrite.c> options +followsymlinks rewriteengine on rewriterule ^api/rest api.php?type=rest [qsa,l] rewriterule .* - [e=http_authorization:%{http:authorization}] rewritecond %{request_method} ^trac[ek] rewriterule .* - [l,r=405] rewritecond %{request_uri} !^/(media|skin|js)/ rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewritecond %{request_filename} !-l rewriterule .* index.php [l] </ifmodule> order allow,deny allow <files release_notes.txt> order allow,deny deny </files>
this looks file permission issue. check if web server has rights read , execute on magento folder.
Comments
Post a Comment