我找不到任何问题。 附录00-default AccessFileName .htaccess Alias /api "/var/www/AppServices/public" Alias /server_api "/var/www/AppServices/Server_API" Alias /client_api "/var/www/AppServices/Client_API" Alias /secure_api "/var/www/AppServices/Secure_API" Listen 8002 <VirtualHost *:8002> DocumentRoot /var/www/AppServices/public ServerName .local # This should be omitted in the production environment SetEnv APPLICATION_ENV development <Directory "/var/www/AppServices/public"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> 的.htaccess <IfModule mod_rewrite.c> RewriteEngine […]
我有一些抓取节点,发送大量POST消息到在Ubuntu上运行的PHP / Apache服务器 每秒约200个请求〜每个请求100行文本。 目前正在开发中,我有一个2 GB的内存的机器,但它坚持处理所有这些要求 多lessram适合这样的任务? 我应该得到什么CPU? 目前(Pentium D :() networking设置的任何提示? 目前这些节点在同一个LAN上
我有一个安装在运行Apache的Debiannetworking服务器上的NFS共享的Windows 2012服务器。 Apache正在尝试从共享中提供文件,但获得了403访问禁止的错误。 NFS共享曾经在Linux机器上,没有问题。 Windows权限设置为“Everyone”具有RW访问权限。 这些文件在本地Linux服务器上是可见的,所以我认为这是Apache的用户映射问题。 有没有人处理过这个?
我有一个squid3代理目前设置为透明代理。 我在我的configuration中使用以下内容: http_port 3128 transparent acl localnet src 10.234.255.68/24 acl localhost src 127.0.0.1/255.255.255.255 http_access allow all http_access allow localhost cache_dir ufs /var/spool/squid3 5000 16 256 但如果我closures的Apache后端服务器进行维护,鱿鱼不能再显示任何东西,只是一个鱿鱼错误页面。 如果不能到达后端服务器,我想让squid提供任何请求的caching版本。 这可能吗? 如果是的话,有人能指出我正确的方向。
我正在尝试configuration一个新的Web服务器来托pipe一个网站/ PHP应用程序。 所有到这个服务器的networkingstream量应该是通过https。 我已经阅读了大量的教程以及关于如何设置的Apache文档和wiki。 我最近也在SF上发布了一个关于在本地计算机上testing这个模拟设置的问题(我提到这只是为了指出我确信我不会重复同样的错误)。 该服务器运行Ubuntu 12.04 64位与Apache2 v2.2.22,目前只需要主持这一个网站/ PHP应用程序。 我的问题是,设置后(我得到一个证书从CA,启用mod_ssl,编辑虚拟主机configuration,为httpstream量设置httpsredirect,重新启动apache等等),当我去我的浏览器中的服务器(Chromium运行在Linux Mint上14)我只是得到一个SSL错误107: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. 这里是我可以收集我的configuration和错误的所有信息: 我的ports.conf: # If […]
我正在将我的服务器从Rackspace迁移到Amazon。 我们的服务器正在运行mod_perl,并且在Amazon服务器上的连接时间要长得多(连接时间通常最多只需1秒)。 单独连接时,十个并发连接可以是100-500ms。 实际处理时间非常快。 我们用于testing的perl脚本不会浸入数据库中。 更改EC2实例的大小不会以任何方式影响连接时间。 我认为这意味着Apache的configuration,但我不知道在哪里看。 任何人都可以推荐在哪里看/排除故障?
所以这个安装在由Pleskpipe理的虚拟服务器上,运行CentOS。 操作系统最近自动更新 – 这打破了自定义的ruby安装。 我没有设置原来的东西,不熟悉ruby,所以我有点不知所措。 通过包pipe理器,我确定安装了指定的ruby和gem。 我将原始的ruby文件夹复制回原来的/ var / www / vhost /文件夹。 在那里,httpdocs文件夹有一个到rails / servername / public文件夹的软链接。 所以从技术上讲网站的内容应该和以前一样。 但ruby/杂种日志甚至不更新。 当我访问这个站点时,Apache抛出一个503-服务暂时不可用的错误。 error_log是唯一正在更新的内容,这是重新启动后包含的内容: [Sun Apr 21 06:18:30 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun Apr 21 06:18:30 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Sun Apr 21 06:18:30 2013] […]
我有一个RHEL 6上的Apache服务器,它使用我们的活动目录进行身份validation,当我们添加一个新的“LocationMatch” AuthLDAPURL ldap://ad.company.com/DC=ad,DC=company,DC=com?samaccountname?sub?(memberOf=CN=RnD,CN=Users,DC=domain,DC=com) 在这个位置我们得到错误500 在其他地点匹配: AuthLDAPURL ldap://ad.company.com:389/OU=MA,DC=ad,DC=company,DC=com?samaccountname 它完美地工作。
我在Mac OS 10.8.3上使用MAMP 2.1.3。 我刚刚用Mac Ports + PECL安装了pecl_http扩展。 http.so存在并位于(在php.ini中正确设置): /Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/ 当我启动Apache时,这里是Apache错误的日志: [24-Apr-2013 20:15:38 Europe/Berlin] PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/http.so' – dlopen(/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/http.so, 9): Symbol not found: _output_globals Referenced from: /Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/http.so Expected in: flat namespace 有任何想法吗 ? 谢谢 !
我正在Ubuntu服务器上首次设置SSL证书。 我已经购买了一个专用IP地址,并已经在secure.example.com的子域名下购买了该证书 端口443是打开的,并被apache收听,并使用在线服务器来检查secure.example.com域显示证书似乎设置和工作正常。 这是我的域的configuration: <VirtualHost *:80> .. </VirtualHost> <VirtualHost 109.228.xx:443> DocumentRoot /var/www/example.com ServerName secure.example.com SSLEngine on SSLCertificateFile /etc/apache2/ssl/secure.example.com.crt SSLCertificateKeyFile /etc/apache2/ssl/secure.example.com.key SSLCertificateChainFile /etc/apache2/ssl/Intermediate.crt <Directory "/var/www/example.com"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> 但是,当我转到https://secure.example.com时,它将redirect到http://secure.example.com,显示默认的“It works!”。 因为它没有configuration。 我无法看到任何错误日志中的任何内容,我不知道该从哪里去。 谢谢你的帮助。