ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X: Part 2
Subject:   how to enable .html
Date:   2002-02-05 14:08:01
From:   storme
Response to: how to enable .html

Didn't work....is it possible that the problem is that Apache is passing these pages onto tomcat? I should also note that since I am not using CGI I did NOT follow the CGI steps earlier. Here are what I *think* the important config lines that I've modified:


RewriteEngine on
RewriteRule ^/(.*)$ /PCW/$1 [R]


ServerName localhost


DocumentRoot "/usr/local/jakarta-tomcat-4.0.1/webapps/PCW/"


<Directory />
Options Includes FollowSymLinks
AllowOverride None
</Directory>


<Directory "/usr/local/jakarta-tomcat-4.0.1/webapps/PCW/">
Options Includes Indexes FollowSymLinks MultiViews


*** This is unchanged:
<Directory "/Library/WebServer/CGI-Executables">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>


*** These are the Tomcat config lines:
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/


WebAppConnection PCWConn warp localhost:8008
WebAppDeploy PCW PCWConn /PCW/


*** my users config files include the following:


<Directory "/Users/storme/Sites/">
Options Includes Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


<Directory "/usr/local/jakarta-tomcat-4.0.1/webapps/PCW/">
Options Includes Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


<Directory "/Users/webserve/Sites/">
Options Includes Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>




1 to 2 of 2
  1. Kevin Hemenway photo how to enable .html
    2002-02-06 07:49:36  Kevin Hemenway | O'Reilly AuthorO'Reilly Blogger [View]

    • how to enable .html
      2002-02-06 08:49:23  storme [View]

      • Kevin Hemenway photo how to enable .html
        2002-02-06 13:13:40  Kevin Hemenway | O'Reilly AuthorO'Reilly Blogger [View]

        • how to enable .html
          2002-02-06 21:31:57  storme [View]

  2. how to enable .html
    2002-02-05 14:09:28  storme [View]

1 to 2 of 2