AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-108

Roy Rico's questions

Martin Hope
Roy Rico
Asked: 2010-02-25 10:09:16 +0800 CST

尝试测试用于 SEO 目的的域崩溃/合并有效性

  • 1

在工作中,我们正试图确定域崩溃对​​于 SEO 的有效性。我们当前的结构是让多个 Web 应用程序从不同的服务器提供服务,例如

PUBLIC URLS - directly accessed by users
www1.somecompany.com/webapp1
www2.somecompany.com/webapp2
www3.somecompany.com/webapp3

我建议在这些应用程序前面放置一个 Apache 代理,它会屏蔽不同的域并将请求路由到正确的服务器

PUBLIC URL--------routed/forwarded to-----PRIVATE URL
www.somecompany.com/webapp1   <----->  www1.somecompany.com/webapp1
www.somecompany.com/webapp2   <----->  www2.somecompany.com/webapp2
www.somecompany.com/webapp3   <----->  www3.somecompany.com/webapp3

就 SEO/页面排名值而言,这有帮助吗?

domain seo
  • 1 个回答
  • 66 Views
Martin Hope
Roy Rico
Asked: 2009-09-11 10:11:58 +0800 CST

Apache Web 服务器的虚 URL 管理器

  • 6

我正在寻找一种工具来管理在 Apache(或 IHS - IBM HTTP Server)上运行的单个域的虚 url。

我所说的虚荣网址是什么意思:

  • www.mycompany.com/ProjectA 将重定向到 servera.mycompany.com/whatever
  • www.mycompany.com/ProjectB 将重定向到 serverb.mycompany.com/another/directory
  • www.mycompany.com/FallCampaign将重定向到 servera.mycompany.com/whatever/offer.html
  • 等等等等

当前实施的解决方案由数千个手动更新的目录组成,这些目录带有重定向用户的 php 脚本。这已经成为维护的噩梦。将此解决方案转换为使用手动更新的 .htaccess 文件的解决方案也不是一种选择*。

理想情况下,该工具将:

  • 为 apache / IHS Web 服务器工作
  • 为用户和管理员提供 Web 界面
  • 允许用户创建、删除和更新虚 url
  • 允许用户为每个虚 url 指定区分大小写或不区分大小写
  • 允许用户为每个虚 url 指定重定向为 HTTP 301(永久)或 HTTP 302(临时)
  • 允许用户将每个个性化 url 指定为永久(用于产品)或带有“删除”日期的临时(用于营销活动)。
  • 提供工作流程用户提交虚 url 请求,并供其他人批准
  • (作为一种可能的解决方案)写出一个单独的托管 .htaccess 文件,前提是该文件在将它们推送到服务器之前由工具验证,这样它不会对服务器产生负面影响。
  • (作为一种可能的解决方案)用 redirects/.htaccess 文件写出目录,但也将管理创建、更新和删除这些目录。
  • 可能使用数据库后端或 xml 后端。
  • 以我没有想到的方式提供满足这些标准的解决方案。
  • (可选)提供非常简单的报告(永久网址的数量、临时网址的数量、即将到期的临时网址等)

* 如果将错误放入文件中,则使用单个手动编辑的 .htaccess 文件会带来太大的风险,可能会影响所有 url。位于目录中的多个 .htaccess 文件与使用 php 重定向一样是维护噩梦。

apache-2.2
  • 2 个回答
  • 2473 Views
Martin Hope
Roy Rico
Asked: 2009-09-07 14:26:24 +0800 CST

Windows 7 无法连接到 Samba

  • 7

我正在尝试 Win7,并且我正在尝试连接到联网的 samba 共享,因为我已经能够在 Vista 和 XP 中没有问题。Samba 在 Ubuntu 上运行,如果有帮助的话。

我已经尝试在本地安全策略中更改以下内容,正如我在某些网站上看到的那样,它仍然无法正常工作:

本地策略 - 安全选项

网络安全:LAN Manager 身份验证级别 发送 LM 和 NTLM 响应

NTLM SSP 的最低会话安全性

禁用需要 128 位加密

我在我的 samba 错误日志中得到了这个:

[2009/09/06 15:15:53, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 192.168.1.101. Error = Connection reset by peer

有人见过这个问题吗?

windows-7
  • 2 个回答
  • 19338 Views
Martin Hope
Roy Rico
Asked: 2009-05-20 14:36:31 +0800 CST

SSH 键 + RHEL5

  • 4

我已经能够在我的 ubuntu、fedora core 和 mac 系统上设置 SSH 身份验证密钥,但是,我无法让 SSH 密钥在 redhat Enterprise linux 5 (RHEL5) 上正常工作。我尝试使用 2048 位加密创建密钥,但似乎没有任何效果。这是我尝试通过我的 mac osx leopard (10.5.7) 连接时得到的调试输出

我已经检查了权限,但我无法弄清楚...谢谢

更新:我已经检查了我的权限,它们是 0700 用于 .ssh,0600 用于 .ssh/authorized_keys

royrico@mac ~ $ ssh -vv linuxbox
OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to linuxbox [192.168.2.3] port 22.
debug1: Connection established.
debug1: identity file /Users/royrico/.ssh/identity type -1
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug2: key_type_from_name: unknown key type '-----END'
debug1: identity file /Users/royrico/.ssh/id_rsa type 1
debug1: identity file /Users/royrico/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[email protected],zlib
debug2: kex_parse_kexinit: none,[email protected],zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[email protected]
debug2: kex_parse_kexinit: none,[email protected]
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 138/256
debug2: bits set: 493/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'linuxbox' is known and matches the RSA host key.
debug1: Found key in /Users/royrico/.ssh/known_hosts:1
debug2: bits set: 504/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /Users/royrico/.ssh/identity (0x0)
debug2: key: /Users/royrico/.ssh/id_rsa (0x107ea0)
debug2: key: /Users/royrico/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/royrico/.ssh/identity
debug1: Offering public key: /Users/royrico/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Trying private key: /Users/royrico/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
royrico@linuxbox's password: 
ssh rhel5
  • 5 个回答
  • 5054 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve