<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Actually this is caused by Drupal's
      .htaccess file:<br>
      <br>
      &nbsp;# Block access to "hidden" directories whose names begin with a
      period. This<br>
      &nbsp; # includes directories used by version control systems such as
      Subversion or<br>
      &nbsp; # Git to store control files. Files whose names begin with a
      period, as well<br>
      &nbsp; # as the control files used by CVS, are protected by the
      FilesMatch directive<br>
      &nbsp; # above.<br>
      &nbsp; #<br>
      &nbsp; # NOTE: This only works when mod_rewrite is loaded. Without
      mod_rewrite, it is<br>
      &nbsp; # not possible to block access to entire directories from
      .htaccess, because<br>
      &nbsp; # &lt;DirectoryMatch&gt; is not allowed here.<br>
      &nbsp; #<br>
      &nbsp; # If you do not have mod_rewrite installed, you should remove
      these<br>
      &nbsp; # directories from your webroot or otherwise protect them from
      being<br>
      &nbsp; # downloaded.<br>
      &nbsp; RewriteRule "(^|/)\." - [F]<br>
      <br>
      You can remove that rule from .htaccess if you like. I would just
      make sure you don't have any hidden directories, like .git. <br>
      <br>
      <pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a> 
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
      On 12/12/2012 10:45 PM, Vaibhav Jain wrote:<br>
    </div>
    <blockquote
cite="mid:CAGNDeNkJZt9=dsC38umeWw9ympFpQGOXdqa-pOe+gmrs7wgjvw@mail.gmail.com"
      type="cite">You can check once on the permissions provided in
      hook_menu.<br>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Dec 13, 2012 at 8:02 AM, Austin
          Einter <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:austin.einter@gmail.com" target="_blank">austin.einter@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All<br>
            I have an auto complete text field , where user types and if
            corresponding&nbsp; entry is present in database, I show it to
            user using below code.<br>
            <br>
            <i><b>$matches = array();
                <br>
                &nbsp; if ($string)&nbsp;
                <br>
                &nbsp; {
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $result = db_select('resubmt_skill_ids')
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;fields('skill_ids', array('name', 'id'))
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;condition('name', db_like($string) . '%',
                'LIKE')
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;range(0, 10)
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;execute();
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach ($result as $skill)&nbsp;
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $matches[$skill-&gt;name] =
                check_plain($skill-&gt;name);
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
                <br>
                &nbsp; }
                <br>
                &nbsp; drupal_json_output($matches);<br>
              </b></i><br>
            Lets say one user wanted to type <i><b>.net</b></i>, as
            soon as user types <i><b>.n</b></i> I get below error.<br>
            <br>
            <i><b><br>
                An AJAX HTTP error occurred.<br>
                HTTP Result Code: 403<br>
                Debugging information follows.<br>
                Path: <a moz-do-not-send="true"
                  href="http://localhost/example.com/util/known/skillsets"
                  target="_blank">http://localhost/example.com/util/known/skillsets</a><br>
                StatusText: Forbidden<br>
                ResponseText: <br>
                403 Forbidden<br>
                Forbidden<br>
                You don't have permission to access
                /util/known/skillsets/.n<br>
                on this server.<br>
                Apache/2.2.14 (Ubuntu) Server at localhost Port 80<br>
              </b></i><br>
            <br>
            Can somebody help me why this error comes and how can I
            avoid it.<br>
            <br>
            Thanks<span class="HOEnZb"><font color="#888888"><br>
                Austin<br>
                <br>
                <br>
                <br>
                <br>
              </font></span><br>
            --<br>
            [ Drupal support list | <a moz-do-not-send="true"
              href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
            ]<br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Regards,<br>
        Vaibhav Jain<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>