| Article: |
Apache Web Serving with Jaguar, Part 2 | |
| Subject: | Gleefully served | |
| Date: | 2003-08-10 10:00:06 | |
| From: | anonymous2 | |
|
Response to: Gleefully served
|
||
|
Well, I had the same problem. I decided to proceed anyway with part 3 and 4... Then I put "Allow from All" instead of "Deny from All" and now I can see the text as well as the cgi output...
|
||
Showing messages 1 through 3 of 3.
-
Gleefully served
2003-11-24 12:09:26 anonymous2 [View]
-
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



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...