Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Apache Web Serving with Jaguar, Part 2
Subject:   Gleefully served
Date:   2003-11-24 12:09:26
From:   anonymous2
Response to: Gleefully served

I finally found that there wasn't a Directory for "/Library/Webeserver/Documents" - only ones for "/Library/Webeserver/Documents/manual/" and "/Library/Webeserver/Documents/CGI-Executables"


When I added a new directory with the exact code as in the article - I was gleefully served the CGI test script in the body of my index.shtml!!


Hope that helps...

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • same problem - different original code
    2004-01-18 16:55:08  anonymous2 [View]

    I had the same problem as the guy/gal before me. To begin with, my code added an extra directory called "manual". the original code went something like this:

    Alias /manual/ "/Library/WebServer/Documents/manual/"
    <Directory "/Library/WebServer/Documents/manual">
    Options Indexes FollowSymlinks MultiViews Includes
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    ****************************************
    The following is the CORRECT code that worked for me. (Don't forget to turn web sharing off and on again to refresh the httpd.conf file!!) good luck:

    Alias /Documents/ "/Library/WebServer/Documents/"

    <Directory "/Library/WebServer/Documents">
    Options Indexes FollowSymlinks MultiViews Includes
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
  • Gleefully served
    2003-12-05 14:39:18  anonymous2 [View]

    the text in my config file was different. shown below it has the word Manual.

    <Directory "/Library/WebServer/Documents/Manual">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    Note -"Manual" - not in the tutorial

    So I added the lines below from the tutorial. (I commented them with my name so I could find them later and delete them if it went wrong)

    <Directory "/Library/WebServer/Documents">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    Note - no "manual"

    just as is from the tutorial