This is the configuration httpd.conf

<IfModule !mod_jk.c>
  LoadModule jk_module modules/mod_jk.so
</IfModule>

JkWorkersFile "/usr/local/apache/conf/workers.properties"
JkLogFile "/usr/local/apache/logs/mod_jk.log"
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories

JkMount /jsps/ ajp13
JkMount /jsps/servlet/* ajp13


I don't have LoadModule mod_access
#httpd -l
  core.c
  mod_access.c
  mod_auth.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c

Thank you for your help, but i don't understand you.

-----Mensaje original-----
De: Joost de Heer [mailto:[EMAIL PROTECTED] 
Enviado el: martes, 07 de febrero de 2006 12:08
Para: Manuel Nicolas Ortuño
CC: users@tomcat.apache.org
Asunto: Re: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess

> I have apache and tomcat ready. The connector (mod_jk) work well.
>
> JkMount /jsps/servlet/* ajp13
> JkMount /jsps/*.jsp ajp13
>
> The static content work with apache and .jsp work with tomcat. My problem
> is
> that i would like that /jsps work with .htaccess
>
> AuthType Basic
> require valid-user
>
> this work with static content but i use url
> http://<my_server>/jsps/my_jsp.jsp this url don’t ask me login/pass, and
> show my_jsp.jsp
>
> The same configuration in apache 1.3.12 work well.
>
> Somebody can help my?
>
> How i can configure apache for use authentication system for *.jsp and if
> the authentication is correct pass the request to tomcat.

Try switching the loadmodule lines for mod_jk and mod_access.

Joost


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to