httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Deering <cdeer...@coldmetal.com>
Subject [users@httpd] Apache SSL Problem with mod_webapp
Date Fri, 20 Sep 2002 14:29:09 GMT
Here is a problem I've been trying to solve for about a week now...

I was running Apache 2.0.35 with Tomcat 4.0.3.  I decided my problem was
with Apache so I upgraded to 2.0.40 and am still having the same issues.

It appears that if you go to my website and put in the URL:

http://www.somewhere.com/somedir

and apache has been instructed to require SSL on this directory, an
error message will be returned saying you do not have permission to view
the page.  You would need https:// to make it work.

Great...  Now, if you type:

http://www.somewhere.com/somedir/

Notice the trailing slash, Apache sends the request to my Tomcat Warp
Connector and completely disregards the require SSL statements.  In
fact, any file or path that it typed in following the Warp Connected
path and SSL required path, Apache forgets all about any SSLRequireSSL
statements.

It is also important to note that if I comment out all of the WebApp
lines in my httpd.conf file, Apache works as it is supposed to, just no
jsp stuff.

Has anyone else encountered this?  Any suggestions?  Here are the lines
in my httpd.conf file:

<Directory "/home/sites/home/web/cs">
        Options FollowSymLinks
        SSLRequireSSL
</Directory>

LoadModule webapp_module modules/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy cs warpConnection /cs/



NOTE: I also created a <Directory "/"> statement to see what happened
and Apache required SSL for all paths EXCEPT anything that was passed to
Tomcat!!


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message