Jamie<br>What a fantastic answer!!<br>You made my day. I just commented the line you recommended and it worked fine.<br><br>I have a .git folder as below.<br><br> sites/all/modules/betterselect/.git<br><br>So if I have a .git folder and I commented out the rule you recommended, then what problem  I may face.., please elaborate..<br>
<br>Thanks<br>Austin<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 9:48 AM, Jamie Holly <span dir="ltr">&lt;<a href="mailto:hovercrafter@earthlink.net" target="_blank">hovercrafter@earthlink.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Actually this is caused by Drupal&#39;s
      .htaccess file:<br>
      <br>
       # Block access to &quot;hidden&quot; directories whose names begin with a
      period. This<br>
        # includes directories used by version control systems such as
      Subversion or<br>
        # Git to store control files. Files whose names begin with a
      period, as well<br>
        # as the control files used by CVS, are protected by the
      FilesMatch directive<br>
        # above.<br>
        #<br>
        # NOTE: This only works when mod_rewrite is loaded. Without
      mod_rewrite, it is<br>
        # not possible to block access to entire directories from
      .htaccess, because<br>
        # &lt;DirectoryMatch&gt; is not allowed here.<br>
        #<br>
        # If you do not have mod_rewrite installed, you should remove
      these<br>
        # directories from your webroot or otherwise protect them from
      being<br>
        # downloaded.<br>
        RewriteRule &quot;(^|/)\.&quot; - [F]<br>
      <br>
      You can remove that rule from .htaccess if you like. I would just
      make sure you don&#39;t have any hidden directories, like .git. <br><span class="HOEnZb"><font color="#888888">
      <br>
      <pre cols="72">Jamie Holly
<a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a> 
<a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a></pre></font></span><div><div class="h5">
      On 12/12/2012 10:45 PM, Vaibhav Jain wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote 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 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  entry is present in database, I show it to
            user using below code.<br>
            <br>
            <i><b>$matches = array();
                <br>
                  if ($string) 
                <br>
                  {
                <br>
                      $result = db_select(&#39;resubmt_skill_ids&#39;)
                <br>
                        -&gt;fields(&#39;skill_ids&#39;, array(&#39;name&#39;, &#39;id&#39;))
                <br>
                        -&gt;condition(&#39;name&#39;, db_like($string) . &#39;%&#39;,
                &#39;LIKE&#39;)
                <br>
                        -&gt;range(0, 10)
                <br>
                        -&gt;execute();
                <br>
                      foreach ($result as $skill) 
                <br>
                      {
                <br>
                          $matches[$skill-&gt;name] =
                check_plain($skill-&gt;name);
                <br>
                      }
                <br>
                  }
                <br>
                  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 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&#39;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><font color="#888888"><br>
                Austin<br>
                <br>
                <br>
                <br>
                <br>
              </font></span><br>
            --<br>
            [ Drupal support list | <a 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></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>