Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found