Support » Plugin: Simple Ajax Chat » Forbidden: You don’t have permission to access this resource.

  • Resolved benbois

    (@benbois)


    Hi @specialk and thanks for sharing your work!

    I installed SAC on a testing wordpress (last current version) and I got a strange behavior.
    No problem with installation and showing the chat area and form.
    I checked the presence of the JS file on the source.

    But when I try to send a message, I got a redirection to with :
    wp-content/plugins/simple-ajax-chat/simple-ajax-chat-core.php

    with the error message :
    Forbidden

    You don’t have permission to access this resource.

    In log: AH01630: client denied by server configuration

    Then I tried to show the JS file directly, I got the same message.
    It is probably why I got the redirection.

    The rest of the website works well.

    Any suggestions?

    Regards

    Ben

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter benbois

    (@benbois)

    I reply myself.

    The problem is due to the presence of a .htaccess file in wp-content folder.
    The solution is to to override the protection by adding a new .htaccess file in the SAC plugin root folder wp-content/plugins/simple-ajax-chat/.htaccess:

    <FilesMatch "\.(?i:php)$">
      <IfModule !mod_authz_core.c>
        Order allow,deny
        Allow from all
      </IfModule>
      <IfModule mod_authz_core.c>
        Require all granted
      </IfModule>
    </FilesMatch>

    Hope it’ll help others!

    Ben

    Plugin Author Jeff Starr

    (@specialk)

    Awseome glad you got it sorted. Thank you for following up, @benbois.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Forbidden: You don’t have permission to access this resource.’ is closed to new replies.