| Article: |
Apache Web-Serving with Mac OS X: Part 2 | |
| Subject: | how to enable .html | |
| Date: | 2002-02-06 07:49:36 | |
| From: | morbus | |
|
Response to: how to enable .html
|
||
|
I've not used Tomcat before, so I can't shed any insight on whether Tomcat is doing any of the processing.
|
||
Showing messages 1 through 3 of 3.
-
how to enable .html
2002-02-06 08:49:23 storme [View]
-
how to enable .html
2002-02-06 13:13:40 Morbus Iff |
[View]
No, not following the CGI instructions would have nothing to do with it. Instead of doing the two lines you just gave me, why not just modify your existing AddHandler line to include .html? So, instead of the above, search for your:
AddHandler server-parsed .shtml
And change to:
AddHandler server-parsed .shtml .html
-
how to enable .html
2002-02-06 21:31:57 storme [View]
tried both - does the include change any paths ? Really very odd.



AddType text/html .html
AddHandler server-parsed .html
which produces the error I mentioned above. Tomcat is supposed to serve any page with a .jsp suffix and Apache anything with .html so I wouldn't think that Tomcat has anything to do with it in this case but thought I should mention it. Note that since I'm not using CGIs (I think!) I didn't follow the CGI steps earlier in the article - a problem do you think?