Articles of 通配符

设置多个域名(加上通配符子域名)指向相同的站点/虚拟主机

我已经设置了通配符子域名的主域名。 username.maindomain.com和maindomain.com 我想为我的用户提供可以select的其他域。 additional1.com , additional2.com , additional3.com … 这些额外的域也需要支持通配符子域(子域路由到用户名)。 任何人都知道如何正确configuration这在DNS和VirtualHostconfiguration? 目前我有额外的域作为Alogging指向与我的主域相同的IP(每个通配符子域Alogging)。 在我的VirtualHostconfiguration中,我将其他域名放在ServerAlias指令中。 让我知道是否需要更多的细节。

通配符DNS作为localhost使用Apache的子域

我正在Apache服务器(xampp)中运行的Zend框架中开发一个Web应用程序。 该网站实际上可以通过http:// localhost / sitename进行访问。 它存在于c:/ xampp / htdocs / sitename / 我想创build通配的DNS,所以特定的用户可以访问我的网页,如username.localhost ….我将获取用户名作为参数,并显示他的自定义设置.. 有人可以帮助我吗?我必须先为我的本地主机/networking名称分配一个服务器名称? 然后想想添加子域通配符? 请让我欣喜

使用Exim电子邮件通配符子域名

我想使用EXIM将发送到@ .example.com(即example.com的任何子域)的所有电子邮件处理为PHP脚本。 这是可能的,可以有人向我展示一个教程/线索相关的这一个。 我正在创build一个SaaS应用程序,通过它为用户创buildsubdomain.example.com,并通过电子邮件发送*@subdomain.example.com。 我已经为domain和mx * .example.com设置了通配符dns。 14400 IN A 202.190.178.56 mail 14400 IN A 202.190.178.56 * .example.com。 14400 IN MX 10邮件 我希望能得到一些例子或线索,以正确的方向。

使用dnsmasq从stream浪盒中运行通配符子域虚拟主机

我试图在stream浪汉上运行一个服务器。 我已经安装了标准的lucid32盒子并运行了dnsmasq。 我想能够从我的主机浏览到服务器与一个url像anything.dev我有以下选项在我的dnsmasqconfiguration: address=/dev/127.0.0.1 和我的Apache虚拟主机: NameVirtualHost anything.dev:80 <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www ServerName anything.dev:80 ServerAlias *.anything.dev <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> […]

任何方式在fstab有通配符?

我的目标是允许任何用户将cifs共享安装到/ media / networkshare甚至更好/ media / networkshare / share_ * 有什么办法让fstab中的通配符能够这样做吗? 我无法预先定义共享位置。 有没有办法使这样的fstab条目? 我希望他们能够自己设置任何选项或来源。

IO错误在CIFS OSX的无匹配glob – > debian jessie mount

在Debain Jessie 8.2中,当samaba cifs mount没有匹配时,在bash使用通配符/ glob(至less是*和? )会导致input/output error 。 在其他文件系统上,预期No such file错误。 在archlinux盒子上的同样的samaba安装点并且没有io错误。 Archlinux机器的mount.cifs理解mapposix 。 我怀疑jessie上的mount.cifs不允许/理解mapposix与此有关。 是否有绕过io错误的* ? ## works as expected on cifs mount from centos server ls /data/Luna1/*adfadf* # ls: cannot access /data/Luna1/*adfadf*: No such file or director ### unexpected io failure on osx mounted on debian mkdir /Volumes/Phillips/testdir ## no files match […]

Exchange 2013 – 带通配符的IMAP – Set-ImapSettings时出错

尝试获取适用于IMAP的Exchange 2013通配证书。 无法在ECP中添加(由于其通配符而收到没有FQDN的错误) 那么我尝试运行: Set-ImapSettings -X509CertificateName sub.domain.com 但是,我收到一个错误: 警告:命令成功完成,但没有设置“SERVERNAME \ 1”已被修改。 它从不启用此证书的IMAP设置。 我已经通过Get-RoleGroupMember进行了validation,certificate我是以服务器pipe理functionlogin的。 Running Get-ExchangeCertificates | fl Running Get-ExchangeCertificates | fl显示,IMAP服务是从来没有搭售这个证书。 浏览互联网和我的思想,找不到为什么我的Set-ImapSettings不能正常工作。 有什么build议么? 事件查看器没有得到任何指向任何东西,我已经重新启动IMAP服务(后端和IMAP4),试图强制启用IMAP服务在Enable-ExchangeCertificate -Thumbnail xxx -Services imap ( Enable-ExchangeCertificate -Thumbnail xxx -Services imap IMAP),没有任何工作。

使用子域自动设置Apache的虚拟主机

我在这里发布,因为我想自动configurationapache虚拟主机,如a.mydomain.com,b.mydomain.com等…但它不起作用。 我已经build立了一个DNS Wilcardlogging(* 3600 IN A 1.2.3.4)。 并设置我的appache像这样: <VirtualHost *:80> ServerName mydomain.com ServerAdmin [email protected] ServerAlias *.mydomain.com DocumentRoot /var/www DirectoryIndex index.html index.php VirtualDocumentRoot /var/www/vhosts/%1 UseCanonicalName Off <Directory /var/www/vhosts> DirectoryIndex index.html index.php Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> # Custom Errors ErrorDocument 404 /errors/404/index.html RewriteEngine on RewriteCond /var/www/vhosts/%1 -d RewriteRule ^(.*) […]

为ElasticSearch签名/生成SSL证书(search-guard)

我正在尝试构build自己的ElasticSearch集群,并决定使用名为Search Guard的开源插件。 它需要生成客户端和主机/节点证书。 在它的演示中,有一个脚本可以生成一个根ca,客户端和节点证书,这些证书是用生成的root ca签名的。 我的问题是,我想用我的通配符SSL证书。 我如何使用通配符ssl证书创build客户端和节点证书? 这是他们的演示页面,解释如何生成证书,但不幸的是无法pipe理它。

通过子域的通配符SSL协商

我想尽快build立一个网站,作为其中的一部分,将使用多个子域来实质上增加浏览器中并发连接的数量。 我的问题是:我怎样才能避免必须为每个子域进行SSL协商? 如果我使用通配符证书(或SAN),则可以/将与主www.build立SSL会话www. 域重用于子域以避免重新协商SSL连接的延迟时间? 整个网站将落后于SSL,并将有2-3个额外的子领域,如media. , static. 等使用NGINX。