edit: My original post below is besides the point! The httpd.conf original content you typed is identical to the default httpd.conf for Mac OS X's included apache server. I just now found this when I decided it was time to configure my own Mac OS X 10.6's web.

This leads me to believe you are editing the wrong httpd.conf. Which file are you editing? The httpd.conf under /etc is for the included apache and (according to XAMPP's website) XAMPP's is located at /Applications/XAMPP/etc/httpd.conf. A first step would be to make sure XAMPP's apache is not conflicting with Mac OS X's included web server.

Original post follows:

In your <Directory> directive, the directory in quotes is where the symlink points to, not the name of the symlink:

<Directory "/Applications/XAMPP/xamppfiles/cgi-bin/"> ... lrwxr-xr-x 1 user admin 18 Sep 27 09:49 cgi-bin -> xamppfiles/cgi +-bin
Maybe if you change to "/Applications/XAMPP/cgi-bin" inside the <Directory directive, Apache will be happy.

Here is a quote from the manual about the FollowSymLink option:

Note: even though the server follows the symlink it does not change the pathname used to match against <Directory> sections.

In reply to Re: Enabling CGI using XAMPP for Mac OS X by juster
in thread Enabling CGI using XAMPP for Mac OS X by Shuraski

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.