Articles of 通配符

使用Sendmail通配符收据/ etc / mail / virtusertable

我试图在SendMail中定义通配符收据,从我在这个文档中看到的http://www.sendmail.org/m4/features.html#virtusertable我明白,这将是一个正确的语法内/ etc / mail / virtusertable old+*@domain1.com [email protected] [email protected] [email protected] 我期望第一条规则匹配像[email protected]收据,但它不。 第二个规则工作正常,所以我假设localdomains和类似的东西都configuration正确,但如何匹配通配符像第一条规则? 发送到[email protected]将返回“not such user”错误。 谢谢。

从Nginx转换到Apache重写规则

我正在设置一个使用从http://usesthis.com/克隆的代码的网站 我的网站在http://hackingtheuniversity.net/ 您会看到网站上的每个访谈post都使用以下URL语法 http://firstname.lastname.hackingtheuniversity.net 原始网站的创build者使用Nginx,并提供了如何实现这种语法的以下内容 https://gist.github.com/1840543 我设置了通配符DNS和一个* .hackingtheuniversity.net的ServerAlias,但是我正在努力理解(并且find例子)如何将Nginx规则移植到modrewrite规则,并且希望得到一些帮助。 谢谢。

Nginx自动域名redirect

我试图设置Nginxconfiguration自动redirect到我的静态子域(site.domain.com)任何域/子域指向(CNAME)到/ var / www内的相应目录。 该目录将以指定的域名/子域名命名。 每当有人添加新域名时,我不想使用VirtualHost或更改/重新启动Nginx。 我偶然发现了这个答案,但是我还是不太明白。 我应该设置为根目录? 当前configuration: server { server_name site.domain.com; listen 80 default_server; root /var/www/; index index.html index.htm; }

多个通配符dns条目

有一个域有多个通配符dns条目有问题吗? 例如: CNAME *.a.example.com 1.1.1.1 CNAME *.b.example.com 2.2.2.2 CNAME *.example.com 3.3.3.3 我现在用DNSimple设置了这一切,似乎一切正常,我只是想知道是否有任何潜在的问题。

Postfix – 虚拟邮箱 – 从通配符范围中排除地址

有没有语法元素或其他方式从通配符中排除在postfix的虚拟邮箱configuration中的一个或多个mailadresses? 我目前的工作configuration是/etc/postfix/virtual_mailbox : [email protected] example.com/me/ @example.com example.com/me/ [email protected] example.com/foo/ [email protected] example.com/bar/ 我添加了两个用户: foo & bar ,但由于通配符@example.com ,我仍然会收到他们的邮件。 是否有可能将[email protected][email protected]邮件从beeing传送到我的邮箱? 我想留在通配符。

BIND9通配符和不合格的名称

当在一个区域文件中遇到一个不合格的名称(一个没有终止点的名字)时,BIND9将原始值( $ORIGIN指令)附加到它。 例: ns.domain.tld. IN A SERVER_IP 上面的行相当于: $ORIGIN domain.tld. ns IN A SERVER_IP 我想知道它是否也适用于狂野。 例如,是这样的: *.domain.tld. IN A SERVER_IP 相当于 $ORIGIN domain.tld. * IN A SERVER_IP ?

如何防止盗链只有子目录?

我想防止链接到/var/www/store所有子文件夹,但同时允许链接到它的索引页面。 我试过这样做: <Directory "/var/www/store"> DirectoryIndex index.html </Directory> <Directory "/var/www/store/*"> SetEnvIfNoCase Referer ^http://example.com/ accept Require env accept </Directory> 但是,当我尝试从外部链接访问时,index.html被禁止。 接下来我尝试追加一个尾部的斜杠。 <Directory "/var/www/store/*/"> 这也不起作用。 这是Apache的错误吗? 不是<Directory>指令只能匹配目录吗?

如何在Apache2的VirtualDocumentRoot中configuration和组合通配符域和子域?

的httpd-vhosts.conf <Directory "/Volumes/DATA/websites"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all Require all granted </Directory> <Virtualhost *:80> VirtualDocumentRoot "/Volumes/DATA/websites/default" ServerName default.dev UseCanonicalName Off </Virtualhost> <Virtualhost *:80> VirtualDocumentRoot "/Volumes/DATA/websites/%1/www" ServerAlias *.dev UseCanonicalName Off </Virtualhost> 请求目前处理如下: alpha.dev -> /Volumes/DATA/websites/alpha/www beta.dev -> /Volumes/DATA/websites/beta/www 有没有可能有通配符的域名和子域名? 例如: alpha.dev -> /Volumes/DATA/websites/alpha/www img.alpha.dev -> /Volumes/DATA/websites/alpha/img cdn.alpha.dev -> /Volumes/DATA/websites/alpha/cdn beta.dev […]

nginx:为每个域设置一个webmail(通配域?)

我想设置一个networkingmail. 为我的服务器上的每个域使用nginx的子域。 它似乎在https://mail.mydomain.com上工作,但我也可以通过访问不需要的服务器IP地址( https:// xxxx )来访问networking邮件。 这是我的Web邮件的conf文件: ### # Webmail (Rainloop) ### server { listen 80; server_name mail*.; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name mail*.; ssl_certificate /etc/ssl/nginx/server.crt; ssl_certificate_key /etc/ssl/nginx/server.key; ssl_protocols SSLv3 TLSv1; ssl_ciphers HIGH:!aNULL:!MD5; access_log /var/log/nginx/app-webmail.access.log; error_log /var/log/nginx/app-webmail.error.log; location / { root /var/www/rainloop; index index.html index.htm index.php; location ~ [^/]\.php(/|$) { […]

通配符DNS不parsing特定条目

我的外部服务上有一个通配符DNS:* .example.com 我有一个特定的服务,我需要不从外部解决,以帮助VPN服务types连接失败默默。 如果有办法使特定的条目不解决? 即server.example.com不应该解决。 谢谢