Articles of configuration

带尾随斜线的Nginx别名

我有一个子网站在这样的父母网站下工作: http://example.org/ sub-site ( http://example.org/ sub-site / works too) 一切似乎都运作良好,其中包括: ./ 子网站 /子网段 但这个url不会工作(它返回一个404): ./ 分网站 / 分节 / 我目前的Nginx代码如下: location ^~ /sub-section { alias /usr/share/nginx/html/sub-section/public; try_files $uri $uri/ @sub-section; location ~* \.php$ { fastcgi_pass 127.0.0.1:9000; include /etc/nginx/fastcgi_params; fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; } } location @sub-section { rewrite ^/sub-section/(.*)+$ /sub-section/index.php?$1 last; } […]

添加了Autoconfig和Autodiscoverlogging,邮件应用程序仍然没有发现configuration

我已经在我的linux服务器上设置了autodiscover和autoconfigconfiguration 自动发现 自动configuration 遵循本教程 但我的邮件应用程序仍然没有自动获取configuration。 我必须在添加帐户的同时手动configuration它。 我是第一次在这方面工作,所以不太了解。 需要帮助。

SSLProxyMachineCertificatePath证书select

SSLProxyMachineCertificatePath证书select如何工作? 还是在请求中发送了所有的请求?

Apache 2.4的位置与exeptions

我的apache2.4configuration有问题。 我有多个服务通过Apache可达到: www.example.com/http-service/ – >代理通行证configurationwww.example.com/webservice2/ – >代理通行证configurationwww.example.com/service3/ – >目录网页www.example.com/websock/ – >代理传递configuration 现在我想在另一个网页上:www.example.com/ 但是当我想用代理传递configuration来创build位置时,当前服务不再被服务,所有请求都被redirect到 – > www.example.com 有没有解决scheme,所有的服务都可用? <VirtualHost *:443> ServerName ServerAdmin webmaster@localhost DocumentRoot /var/www/ SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off SSLCertificateFile /etc/ssl/certs/www-example-com.pem SSLCertificateKeyFile /etc/ssl/private/www-example-com.key SSLCertificateChainFile /etc/ssl/certs/www-example-com.chain <Directory "/converee/"> Options FollowSymLinks AllowOverride None </Directory> <Location /http-service> Require all granted AllowOverride None ProxyPass […]

删除广告用户,需要将现有的configuration文件关联到新帐户

一些细节 服务器2012 R2(AD服务器) Windows 7(用户计算机) 无意中删除了AD用户,愚蠢的错误。 不幸的是,似乎用户被永久删除(没有使用回收站)。 还检查了“删除的对象”,并且用户也不在那里。 我又一次创build了同一个用户,但是它具有不同的SID,然后是在机器上configuration的configuration文件。 我想知道如何将这两个帐户(AD服务器和用户计算机)再次同步?

为什么我的IIS模块映射configuration不显示在applicationHost.config中?

我有以下结构: myServer Sites Default Web Site myVirtualDirectory myApplication <- added to handler Mappings here 在“myApplication”下,我添加了一个IsapiModule到一个特定的dll。 但是,当我使用https://stackoverflow.com/a/493373/2687324中概述的步骤导出我的IISconfiguration时,我看不到任何在<handlers>或applicationHost.config任何位置对我的dll的任何引用。 这个configuration存储在别处吗?

保存的Windowsconfiguration文件的用户无法远程login

当我们设置计算机时,在将用户添加到Active Directory后,我们始终将其连接到公司域。 所以下次我们重启系统时,我们可以用用户凭证login,因为我们已经把它join到了域中。 通常,一旦我们用用户凭据loginWindows(Windows 7)自动保存configuration文件。 因此,如果用户没有连接到局域网,他们只需使用凭据login计算机就可以没有任何问题,因为Windows已保存了用户configuration文件。 现在的问题是,我们有一个用户,即使他在办公室能够远程login到计算机上。 在尝试login时,他会在连接到局域网时出现以下错误: 目前没有可用于login请求的login服务器。 我很确定这发生在没有find域时。 但是这个错误不应该出现,因为他之前login过,并且应该有一个用户configuration文件保存在系统上。 所以我的问题是:用户configuration文件如何消失? 因为他没有连接到局域网,有没有办法帮助这个人?

使用nginx的子文件夹下的magento存储视图

有人可以请解释我怎么可以让nginx重新在它的自己的子文件夹下的magento中的商店视图。 我有一个商店..以下代码在我的nginxconfiguration文件。 location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param MAGE_RUN_CODE edu_default; fastcgi_param MAGE_RUN_TYPE store; fastcgi_connect_timeout 60; fastcgi_send_timeout 180; fastcgi_read_timeout 180; fastcgi_buffer_size 256k; fastcgi_buffers 4 256k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; fastcgi_param SCRIPT_FILENAME /home/domain here/public_html$fastcgi_script_name; } 我有我的所有magento文件在根文件夹:/ home / domain here / public_html 现在我有一个存储视图,可以通过一个子文件夹/ substore / 但我希望它从根文件夹magento index.php文件运行。 但是所有的链接仍然有URL中的子文件夹。 […]

什么是解决的默认位置mongod.exe查找configuration?

试图做一个最小的configurationmongod,我想使用“自然”path结构的configuration文件的位置。 为了举例说明我在找什么,下面是其他一些热门程序的等价path: Apache:../conf/httpd.conf MySQL:../my.ini PHP:./php.ini OpenSSL:./openssl.cnf 对于mongo,我在文件本身的名称上find了混合的信息,它似乎支持yaml以及典型的key <>值格式。 我知道,所有这些程序都有一个强制开关(包括mongo)来指定configuration文件的名称和位置,但这不是我正在寻找的。 我已经经历了这些(和其他一些资源,但是这些资源似乎是最接近的) 在Windows上安装mongodb configuration选项 然后有configuration ,它是configuration文件格式的信息,但不是它应该在什么位置或应该命名如果不使用参数强制configuration文件的位置。

Nginx只允许目录结尾,没有index.html或index.php

正在设置一个nginx服务器。 我想添加一些location块,只允许index.html或index.php的父文件夹被提供,但会自己redirectindex.html或index.php 。 我也希望server条目将redirect以斜杠结尾的文件夹为非斜杠版本。 例如: http://www.example.com/about —> good http://www.example.com/about/ —> redirects to http://www.example.com/about http://www.example.com/about/index.html —> redirects to http://www.example.com/about 这里是我有的一个sites-available文件,缩写为MCVE,并删除任何额外的信息。 server { listen 80; root /var/www/html; index index.php index.html index.htm; ssi on; server_name example.com; location ~ /\. { access_log off; log_not_found off; deny all; } location ~ ~$ { access_log off; log_not_found off; deny all; } […]