Articles of 别名

服务器别名(networking驱动器)使用WAMP

我在networking驱动器( X:/ )上有一个文件夹,我的WAMP在C:/ 。 我使用WAMPS'添加一个别名'工具,并将/bymnew/到X:/Brief Your Market Integration/data/website 。 别名被创build,如下所示: Alias /bymnew/ "x:/Brief Your Market Integration/data/website/" <Directory "x:/Brief Your Market Integration/data/website/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory> 我也尝试了与服务器path: Alias /bymnew/ "\\jacklogic2\projects\Brief Your Market Integration\data\website" <Directory "\\jacklogic2\projects\Brief Your Market Integration\data\website"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from […]

是否有可能得到svnauthentication与Windows / sspi,但与用户名别名?

我有一个使用基本身份validation在Windows 2008 R2 x64上运行的VisualSVN服务器。 我想升级到使用Windows身份validation。 但是,一些设置的用户名与域用户名不匹配。 有没有办法将basic-auth-username别名为domain-username,所以现在有人用domain-username提交时,svn会把它logging为旧的basic-auth用户名? 或者是有没有办法旋转存储库,并find/取代basic-auth用户名提交到域authentication用户名? 或者这可能是不值得的麻烦?

从别名启动到另一个用户的屏幕不起作用

minecraft@283823:~$ script /dev/null ; screen -t minecraft Script started, file is /dev/null minecraft@283823:~$ exit Script done, file is /dev/null Cannot open your terminal '/dev/pts/0' – please check. 我的解释是,我留在script /dev/null而不是运行,以设置一个新的点,所以我可以作为su'ed用户屏幕… 我testing我的别名做同样的事情 – script /dev/null ; screen script /dev/null ; screen 。 我在前一天在bash脚本中尝试了这个操作,并且清理了相同的错误。

后缀不正确路由通过别名到PHP

所以我通过https://help.ubuntu.com/community/PostfixBasicSetupHowto正确设置了postfix / imap的所有内容,并且能够发送邮件到[email protected] / [email protected] 然而,我试图发送一封电子邮件到[email protected]然后使用/etc/aliases将该电子邮件转换为php标准input,而我的电子邮件则由邮政[email protected]返回。 我在框上设置的唯一帐户是root和fmaster 。 我是否需要创build一个test帐户,如果我只使用testing的别名pipe道输出到PHP? 我不确定我哪里出了问题。 我的/etc/aliases : # Required aliases postmaster: root MAILER-DAEMON: postmaster # Common aliases abuse: postmaster spam: postmaster # PIPE OUTPUT TO PHP from [email protected] test: "| php -q /root/scripts/readmail.php 在我的/etc/postfix/main.cg的重要的东西(与域隐晦) myhostname = XYZ.members.linode.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = mail.ME1.com, localhost, […]

Apache别名不在目录列表中

我有一个运行在我的家庭服务器上的网站,这只是我前端远程抓取文件。 没有页面,只是一个目录列表(选项索引…)。 我想添加一个链接到webroot之外的目录,所以我做了一个别名。 在处理权限一分钟之后,我现在可以通过在浏览器中inputURL来导航到该目录,但该目录不在根索引中列出。 有没有办法做到这一点,而不是在根中创build一个符号链接? 服务器:Ubuntu 11.04,Apache 2.2.19 相关的虚拟主机: <VirtualHost *:80> ServerName some.url.net DocumentRoot "/var/www/some.url.net" <Directory /var/www/some.url.net> Options Indexes FollowSymLinks AllowOverride None Order Allow,Deny Allow From All AuthType Basic AuthName "TPS Reports" AuthUserFile /usr/local/apache2/passwd/some.url.net Require user user1 user2 </Directory> Alias /some_alias "/media/usb_drive/extra files" <Directory "/media/usb_drive/extra files"> Options Indexes FollowSymLinks Order Allow,Deny Allow From All </Directory> […]

通配符别名在后缀?

有没有办法在Postfix虚拟表中指定通配符别名? 例如。 support+*@foo,bar 被发送到 support+*@bar.foo 在这种方式下,我想实现所有邮件support@[email protected]地址被redirect到另一台服务器.. 谢谢!

什么是正确的地方把bash别名应该是每个人都可用?

什么是正确的地方把bash别名应该是每个人都可用? 我想这样设置,就是如果某些别名不可用于某人,那是因为它们在自己的环境中自己取代了它。

ldapscheme的电子邮件别名

有谁知道在LDAP中设置电子邮件别名时使用什么scheme? 我可以使用任何东西,但使用“标题”作为电子邮件别名似乎有点滥用。 extensibleObject可能是正确的使用,但似乎是错误的。

nginx位置将覆盖别名

我有一个别名“/ temp”工作正常,但是当我添加另一个位置块,别名返回404。 工作configuration: http://mysite.com/temp/blank.gif -> OK : http://mysite.com/temp/blank.gif -> OK server { # … location /temp { alias /var/www/temp; } # … } 错误configuration: http://mysite.com/temp/blank.gif -> 404 : http://mysite.com/temp/blank.gif -> 404 server { # … location /temp { alias /var/www/temp; } location ~ \.(?:jpg|png|gif)$ { expires 30d; } # … } 这是我的完整configuration: http : //pastebin.com/yExq0nMY […]

权限被拒绝使用sudo

我的.bashrc文件中有一个别名,它运行一个可执行的python文件,如下所示: alias my-command="sudo -u apache /path/to/file.py" 当我运行my-command它会提示input我的sudo密码,然后运行.py文件。 然而,python脚本写入一个日志文件,只有Apache有权写入。 当我运行my-command它说,当它试图写入到该文件的Permission denied 。 当我直接运行sudo -u apache /path/to/file.py脚本运行正常。 我在这里做错了什么? 将我的别名更改为: my-command="/path/to/file.py" 然后运行: sudo -u apache my-command