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-351483

Nijo's questions

Martin Hope
Nijo
Asked: 2016-10-21 03:15:57 +0800 CST

无法通过 FTP 连接到机架空间服务器 [重复]

  • 0
这个问题在这里已经有了答案:
“500 OOPS:vsftpd:拒绝在 chroot() 内使用可写 root 运行”-在 Debian 上登录失败 (3 个答案)
5年前关闭。

我在 Rackspace 服务器上托管了 Wordpress 网站。我能够通过端口 22 通过 ssh 连接到服务器。但是当我尝试通过端口 21 通过 FTP 连接到服务器时,出现错误

响应:500 OOPS:vsftpd:拒绝使用 chroot() 内的可写根运行

错误:严重错误

错误:无法连接到服务器

我已经在服务器内部打开了 21 端口。该站点托管在带有 Ubuntu 14.04的RACKSPACE 服务器中

在服务器上安装 vsftp。我正在使用根用户凭据进行 FTP 连接。

我什至尝试为此创建一个新用户。但我得到了同样的错误。

我使用 Filezila 连接到服务器。我需要在服务器中配置任何其他内容吗?

ftp rackspace
  • 1 个回答
  • 443 Views
Martin Hope
Nijo
Asked: 2016-04-27 04:45:04 +0800 CST

子域的https调用在apache django部署中获取主域的htps页面

  • 1

当我调用https://new.sample.com时,我得到了https://sample.com的页面, 但http://new.sample.com得到了正确的页面

sample.com 配置文件

<VirtualHost xx.xx.xx.xx:80>

ServerName sample.com

WSGIScriptAlias / /path/to/my/project/sample.wsgi

</VirtualHost>


<VirtualHost xx.xx.xx.xx:443>

ServerName www.sample.com 

SSLEngine ON
SSLCertificateFile /etc/apache2/ssl/mycerficate.crt
SSLCertificateKeyFile /etc/apache2/ssl/mykey.key
SSLCertificateChainFile /etc/apache2/ssl/mychain.crt


# Django settings
WSGIScriptAlias / /path/to/my/project/wsgi.py

<Directory /path/to/my/project/>
Options -Indexes
AllowOverride All
Order allow,deny
Allow from all
    </Directory>

new.sample.com 配置文件

<VirtualHost xx.xx.xx.xx:80>

ServerName new.sample.com 
ServerAlias new.sample.com

WSGIPassAuthorization On
# Django settings
WSGIScriptAlias / /path/to/my/project/wsgi_new.py

</VirtualHost>
apache-2.2
  • 1 个回答
  • 95 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