apache2 ubuntu apt-get install ubuntu 10
tomcat6
zdx@ubuntu:/etc/apache2/conf.d$ sudo /etc/init.d/apache2 restart
Syntax error on line 1 of /etc/apache2/conf.d/uriworkermap.properties:
Invalid command '/casapp/*=loadbalancer', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
zdx@ubuntu:/etc/apache2/conf.d$ ls
http://www.gilluminate.com/2005/07/07/apache-httpd-and-tomcat-connector-with-mod_jk/
, I was getting the error because I had workers.properties stored in /etc/apache2/conf.d/
I moved it to /etc/apache/ and it worked.
[Sun Mar 20 07:14:58 2011][22008:3060927344] [debug] jk_translate::mod_jk.c (3434): missing uri map for localhost.localdomain:/casapp/index.jsp
[Sun Mar 20 07:14:58 2011][22008:3060927344] [debug] jk_map_to_storage::mod_jk.c (3593): missing uri map for localhost.localdomain:/casapp/index.jsp
http://blog.csdn.net/BlueCY/archive/2010/09/20/5897103.aspx
JkMountCopy On
For Apache you can define individual uriworkermap files per virtual host.
The directive JkMountFile can be used in the main server and in each virtual host.
If a virtual host does not use JkMountfile, but JkMountCopy is set to 'On',
then it inherits the JkMountFile from the main server. If you want all vhost to inherit
mounts from the main server, you can set JkMountCopy to 'All' in the main server.
JkMountCopy
If this directive is set to "On" in some virtual server,
the mounts from the global server will be copied to this
virtual server, more precisely all mounts defined by JkMount
or JkUnMount. The Mounts defined by JkMountFile and JkAutoAlias
will only be inherited, if the VirtualHost does not define
it's own JkMountFile or JkAutoAlias.
If you want all vhost to inherit mounts from the main server,
you can set JkMountCopy to 'All' in the main server.
This directive is only allowed inside VirtualHost (with value "On")
and in the global server (with value "All").
The default is Off, so no mounts will be inherited from the global
server to any VirtualHost.
Starting with version 1.2.26 you can also set it to "All" in the
global virtual server. This will switch the default to On.
[error] MOD_AUTH_CAS
: CASCookiePath
'/dev
/null
' is not a directory or
does not end in a trailing '/'!
http://www.howtoforge.com/how-to-set-up-apache-tomcat-mod_jk-sso-cas-mod_auth_cas
http://jasig.275507.n4.nabble.com/mod-auth-cas-crashing-Apache-td262958.html
OK, I moved them outside the vhost and that seems to have done thetrick. Thanks very much!
<Directory "/casapp/">
AuthType CAS
Require valid-user
</Directory>
</VirtualHost>
LoadModule auth_cas_module /usr/lib/apache2/modules/mod_auth_cas.so
CASCookiePath "/tmp/cas//"
CASloginURL https://192.168.245.139:8443/cas/login
CASValidateURL https://192.168.245.139:8443/cas/serviceValidate
CASCertificatePath /home/zdx/cas-key.cer
分享到:
相关推荐
在Go语言的Web开发中,安全性和访问控制是不可或缺的部分,`Go-httpauth`就是一款专为Go设计的HTTP身份验证中间件。这个中间件使得开发者可以轻松地为他们的Web应用添加基本的身份验证机制,从而保护敏感的API接口...
httpie-jwt-auth, HTTPie的JWTAuth ( JSON网络令牌) 认证插件 httpie-jwt-auth JWTAuth ( 。JSON网络令牌) 用于 HTTPie的认证插件。安装最新稳定版本:$ pip install -U httpie-jwt-auth最新开发版
hadoop-auth-2.2.0.jar
开源项目-kfirufk-go-angular2-material-auth0-and-more.zip,go and angular2 starter kit, updated to angular 2.1.0-rc.0, I would like some feedback. thanks!
Aspnet-Hydro-Asp.Net-Mvc-Auth.zip,对于hydro,请编辑用于asp.net.hydro 2fa auth的mvc和api,asp.net是一个开源的web框架,用于使用.net构建现代web应用和服务。asp.net创建基于html5、css和javascript的网站,这些...
Go-AWS-Auth - AWS (Amazon Web Services) 请求登录库
在"laravel-x509-auth-master"压缩包中,你可能找到源代码、示例配置文件、README文档以及其他资源,帮助你理解和使用这个扩展。阅读文档和源代码,了解如何配置和自定义中间件,以便适应你的具体需求。 总之,...
-u 指定单个url -l 指定url文件 先用fofa脚本爬取所有Huawei Auth-Http相关资产(fofa脚本下载地址:) python3 fofa-cwillchris.py -k body="umweb/u20.png" 然后用此脚本 ./poc.bin -l url.txt
在ember-simple-auth-master文件夹中,你将找到ember-simple-auth项目的源代码,包括以下组成部分: - **lib** 目录:存放ember-simple-auth的主要源代码,分为多个模块,如session、authenticator、adapter等,每...
ERP系统信息化资料:SAP专业文档资料09-40BC361-UserAuth.PPT
本项目 "Laravel开发-jwt-cas-server" 是基于 Laravel 5.3 的一个简单 CAS 服务器实现,利用 JWT 技术进行认证。以下是这个项目中涉及的主要知识点: 1. **Laravel 5.3**: Laravel 5.3 是 Laravel 框架的一个版本,...
该存储库包含 -basic-auth的Dockerfile ,用于将的 发布到公共。 基础Docker映像 安装 安装 。 从公共下载 : docker pull igortimoshenko/docker-nginx-basic-auth (或者,您可以从Dockerfile构建映像:docker ...
标题 "hikvision_CVE-2017-7921_auth_bypass_config_decryptor-main.zip" 指向的是一个与海康威视(Hikvision)设备相关的安全漏洞,具体是CVE-2017-7921认证绕过漏洞。这个压缩包可能包含一个工具或指南,用于解析...
<Resource name="jdbc/myCasDataSource" auth="Container" type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/casdb?useSSL=false&serverTimezone=UTC" ...
赠送jar包:nacos-auth-2.0.4.RELEASE.jar; 赠送原API文档:nacos-auth-2.0.4.RELEASE-javadoc.jar; 赠送源代码:nacos-auth-2.0.4.RELEASE-sources.jar; 赠送Maven依赖信息文件:nacos-auth-2.0.4.RELEASE.pom;...
hadoop-auth-2.6.0.jar hadoop-auth-2.6.0.jar hadoop-auth-2.6.0.jar
Mosquitto Go 认证Mosquitto Go Auth 是 Mosquitto MQTT 代理的身份验证和授权插件。 这个名字很糟糕,我知道,但现在改变它已经太晚了。 而且,您知道:命名、缓存失效、一对一错误等等。当前状态该插件是最新的...
在【压缩包子文件的文件名称列表】"laravel-api-auth-master"中,"master"通常指的是主分支,意味着这是项目的最新稳定版本。这个目录可能包含了源代码、配置文件、测试用例、示例和安装指南等内容,帮助开发者理解...
赠送jar包:hadoop-auth-2.5.1.jar; 赠送原API文档:hadoop-auth-2.5.1-javadoc.jar; 赠送源代码:hadoop-auth-2.5.1-sources.jar; 赠送Maven依赖信息文件:hadoop-auth-2.5.1.pom; 包含翻译后的API文档:hadoop...
docker run -d -p 80:80 --link web:web --name auth beevelop/nginx-basic-auth 尝试使用用户名foo和password bar访问和登录。 先进的 docker run -d \ -e HTPASSWD= ' foo:$apr1$odHl5EJN$KbxMfo86Qdve2FH4owePn...