| Article: |
Apache Web Serving with Jaguar, Part 2 | |
| Subject: | Gleefully served | |
| Date: | 2003-07-09 02:03:05 | |
| From: | anonymous2 | |
|
Okey smokey,
|
||
Showing messages 1 through 10 of 10.
-
Gleefully served
2004-02-07 12:51:07 ecleo [View]
-
Gleefully served
2003-09-18 09:48:22 anonymous2 [View]
Try emptying the safari cache... found in safari menu.
-
Gleefully served
2003-09-16 13:34:16 ecleo [View]
You've probably figured it all out by now but if it helps, I went through the Apache tutorial as well as the CGI gallery tutorial fine using Netscape. When I loaded my index.shtml in Safari just for fun I got, Failure to Connect to Web Server (same page displayed fine in Netscape). Haven't bothered to figure out why, just kept using Netscape.
-
Gleefully served
2003-07-19 07:48:34 anonymous2 [View]
I am having the same problem. Worked until 1 AM on it. Slept on it and checked everything again in the morning. I'm stumped why it doesn't display the information from the CGI script.
Mike M. -
Gleefully served
2003-07-25 20:38:25 anonymous2 [View]
I'm in the same boat here, too. Did everything the article said to do, but nothing other than the previous text shows up.
Anyone found the bug in the procedure yet?? -
Gleefully served
2003-08-14 11:52:03 anonymous2 [View]
I was saving my .shtml file into my ~username/sites folder, but then when I moved it into Library/WebServer/Documents it worked for me...my end goal was to pull a .txt file into an html file and this was a success! =) Now I would like to figure out how to do this on a ASIP/OS9 server...? -
Gleefully served
2003-08-10 10:00:06 anonymous2 [View]
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...
Is that OK? -
Gleefully served
2003-11-24 12:09:26 anonymous2 [View]
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... -
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



If you get the Gleefully served message in your browser but but an error on the CGI test script check the index.shtml file for syntax and the correct path:
<!--#include virtal="/cgi-bin/test-cgi"-->
(I had something like <!--#include virtual="/Library/WebServer/Documents/cgi-bin/test-cgi"-->) jeez.
If your browser can't find the file be sure that you saved the index.shtml file the right place: /Library/WebServer/Documents/index.shtml (one time I clouded over and saved it in Sites)
Also check that you are calling the page in the browser with http://127.0.0.1/index.shtml (not 127.0.0.1/Sites/index.shtml)