File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JForum and the fly likes jforum behind htacces unable to login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "jforum behind htacces unable to login" Watch "jforum behind htacces unable to login" New topic

jforum behind htacces unable to login

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424

maybe someone has nearly the same configuration?

/forum is redirected by JkMount to a local tomcat (ajp13, port 8009)

Everything is fine but my users wants the hole forum protected (invisible for unknown users).

1. try:
+ A /forum folder on the webserver with a .htaccess
After login into the apache-folder i can access the forum.
But if i try the login into the forum the authentificatin fails.

2. try:
+ A protection by a tomcat <security-constraint>
The behavior the login into tomcat is ok, but the jforum login fails always.

I tryed also a proxyName and proxyPort entry for the Port 8009 connector without success.

<Connector port="8009" <br /> address="" <br /> scheme="http" <br /> proxyName="<official apache url>" <br /> proxyPort="80" <br /> enableLookups="false" <br /> redirectPort="8443" <br /> protocol="AJP/1.3" />

Has anyone a tip for protecting the hole forum?

with best regards

[originally posted on by humptydumpty1]
I agree. Here's the link:
subject: jforum behind htacces unable to login
It's not a secret anymore!