我正在configuration一个CollabNet Subversion集成。 我有以下collabnet_subversion.conf文件: <Location /svn> DAV svn SVNParentPath /mnt/svn/new_repos SVNListParentPath on AuthName "VegiBanc Source Repository" AuthType basic AuthzLDAPAuthoritative off AuthBasicProvider ldap AuthLDAPURL ldap://ldap.vegibanc.com/dc=vegibanc,dc=com?sAMAccountName" NONE AuthLDAPBindDN "CN=SVN-Admin,OU=Service Accounts,OU=VegiBanc Users,OU=vegibanc,DC=vegibanc,DC=com" AuthLDAPBindPassword "swordfish" </Location> 这很好。 我们的Active Directory中的任何用户都可以访问我们的Subversion存储库。 现在,我只想限制Active Directory组中的人员开发 : <Location /svn> DAV svn SVNParentPath /mnt/svn/new_repos SVNListParentPath on AuthName "VegiBanc Source Repository" AuthType basic AuthzLDAPAuthoritative off AuthBasicProvider ldap […]
我有Tomcat服务器后面的Apache。 我正在使用mod_ssl和反向代理到tomcat。 所有运行在默认端口。 完整的错误如下。 确认代理错误 代理服务器收到来自上游服务器的无效响应。 代理服务器无法处理请求POST /pages/doeditpage.action。 原因:从远程服务器读取错误 如果我清理浏览器caching,错误消失并在几次尝试后返回。 我在Windows平台上的Chrome / Firefox / IE上进行testing。 想知道它在基于Linux的Chrome / Firefox上完美的工作。 我search了很多有堆栈溢出的答案,但我无法find我的答案。 这是一个服务器端的问题? 因为这么多的浏览器在Windows上不能同时出错。
我有一个httpd服务器代理到2个不同的tomcat服务器的请求。 我的一个服务器处理authentication,并在用户已经有一个运行会话时返回一个特定的http错误代码521。 我的问题是httpd自动将此521错误代码映射到500(内部服务器错误),然后我的客户端无法正确处理它。 我试图禁用ProxyErrorOverride ,删除/error/HTTP_INTERNAL_SERVER_ERROR.html.var但它不会改变任何东西。 我怎样才能要求httpd不改变任何代理消息? <IfModule proxy_module> ProxyPass /context1 http://127.0.0.1:8001/context1 ProxyPass /context2 http://127.0.0.1:8002/context2 ProxyPreserveHost Off ProxyErrorOverride Off </IfModule> 提前致谢 httpd 2.2.22(Win32)mod_ssl tomcat 7.25 Windows 7 64位
我以root身份login到新服务器。 一旦我login,我su用户名,允许我selecttesting或生产。 当我selecttesting时,我从bash提示符运行httpd -v并获取apache版本 什么困惑我是当我运行服务器httpd重新启动我得到httpd服务器没有find。 它如何识别httpd -v而不是重新启动。 哦,这是一个没有网站的新服务器。
在我的服务器上,我想创build一个隐藏于普通用户的目录,但是可以通过链接进行访问而无需身份validation。 目前我已经设置了这样的: 在虚拟主机configuration中,我已经允许重写索引选项 在我的服务器上,我有文件夹名为h ,如隐藏 与h的同一级别上,我有一个.htaccess文件: IndexIgnore h 而在另一个.htaccess与IndexIgnore * 但是,这也隐藏了我不想要的h/abc/的内容。 我试着把IndexIgnore . 在h/abc/.htaccess ,但它没有工作。 HTTPD文档中也提到了这个问题,后来我学到了这一点: 多个IndexIgnore指令添加到列表中,而不是replace被忽略文件的列表。 默认情况下,列表包含。 (当前目录)。 有没有办法指定IndexIgnore只对当前目录内的项目,而不是recursion? 还是有其他更好的方法来处理这个问题? 我宁愿不要触摸“全局”configuration文件太多,尽pipe这是可能的。
您好我目前在我的apache httpd.conf文件中使用下面的代码redirect从HTTP到HTTPS <VirtualHost 10.1.2.91:80> Redirect 302 /GladQE/link https://glad-test.com/GladQE/link.do Redirect 302 /GladQE/retrieve https://glad-test.com/GladQE/retrieve.do </VirtualHost> 这将redirect来自获取请求的参数,但不是来自post。 从阅读这里看来,这需要使用mod_rewrite来完成。 有人可以帮助修改我需要做的,所以当左边的链接被使用post params命中时,它会redirect到右边的链接,参数保持不变? 非常感谢 汤姆
最近,看起来我们的VPS上的Apache2守护进程看起来是随机的问题。 第一次login之前的事情去地狱 [Tue Jun 25 23:07:18 2013] [error] [client 173.245.51.242] PHP Warning: Invalid argument supplied for foreach() in /var/www/libraries/joomla/access/access.php on line 409 [Tue Jun 25 23:07:19 2013] [error] [client 108.162.224.23] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/libraries/joomla/language/helper.php on line 55 任何问题之前的日志都会显示比我预期更多的PHP错误,维护网站的开发人员在这里没有发现任何问题 [Tue Jun 25 23:18:01 2013] [error] [client 103.22.200.24] […]
我在httpd.conf中有默认Listen 80 。 有时我需要自己的webapp运行在这个端口上,所以我用sudo运行它。 所以,首先我需要将Apache端口改为别的。 我正在寻找的是一个快速的单击动作切换前后。 请指教。
我正在运行一个内部httpd服务器,将请求转发给另一个httpd服务器。 内部的httpd服务器充当代理,也支持caching。 我刚从2.2.11升级到2.2.2的httpd。 我有和以前一样的configuration。 当一个HTTP请求进来时,我在access_log中看到了OPTIONS * HTTP/1.0几个条目(每秒一个)。 我的error_log没有错误。 什么是这个我从未见过的新的OPTIONS * HTTP/1.0 ? 我的旧版本使用了worker.c,而这个版本似乎使用了prefork.c 。 我不太确定。 这会造成吗? 这是我的旧版本和这个新版本之间的唯一区别。 这些是我正在使用的模块: Compiled in modules: core.c mod_authn_file.c mod_authn_default.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c mod_file_cache.c mod_cache.c mod_disk_cache.c mod_mem_cache.c mod_ext_filter.c mod_include.c mod_filter.c mod_substitute.c mod_log_config.c mod_env.c mod_expires.c mod_setenvif.c mod_version.c mod_proxy.c mod_proxy_connect.c mod_proxy_ftp.c mod_proxy_http.c mod_proxy_scgi.c mod_proxy_ajp.c mod_proxy_balancer.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c […]
在上周突然我得到我的服务器错误。 我尝试访问我的网站,我得到了503错误。 当我检查top和其他东西,我看到这些: 60-65 httpd(apache)进程。 (通常我有30-35个httpd进程) 你可以在这里看到图: httpd进程 MySQL使〜350 MB交换。 (通常它会交换40到50 MB) 调优底稿说: 当前的max_connections = 250 当前threads_connected = 96 历史loggingmax_used_connections = 97 服务器所有图表: 一般数据 在httpd.conf ServerLimit 60 MaxClients 60 在var\www\vhosts\example.com\logs\access_log ,没有任何东西看起来像(D)DOS攻击。 我看到正常的服务器请求。 在var\log\httpd\access_log没有可疑的东西 在我的var\www\vhosts\example.com\logs\error_log我看到了太多这样的错误: [Fri Jan 17 10:56:26 2014] [warn] [client 78.180.71.157] mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper 在\var\log\mysqld_log没有错误 在\var\log\error_log没有错误 在\var\log\suexec_log没有错误 如何诊断是什么导致我的网站使磁盘IO 100%,平均负载10,非常高的交换,并且服务器不响应请求。 我怎样才能阻止这种情况发生? […]