gpt4 book ai didi

drupal - Bad Gateway, Drupal, Redmine 通过 VM centos 托管 windows

转载 作者:行者123 更新时间:2023-12-04 19:43:29 30 4
gpt4 key购买 nike

我有一个虚拟机 CentOS 里面我已经安装了 drupal 和 redmine。我做了我的 redmine.conf 和 drupal.conf。但是当我想在我的浏览器上打开我的错误网关错误。我不明白。
这是我的 .conf 文件:
红米:

LoadModule passenger_module /home/flaman-m/.gem/ruby/gems/passenger-5.0.10/buil$
<IfModule mod_passenger.c>
PassengerRoot /home/flaman-m/.gem/ruby/gems/passenger-5.0.10
PassengerDefaultRuby /usr/bin/ruby
</IfModule>

<VirtualHost *:80>
ServerAdmin morgane
ServerName srvb.quest-etna.nx
DocumentRoot /opt/redmine/public
#PassengerEnabled on
#RailsEnv production
ErrorLog /mnt/nfs/logs/redmine/error.log
CustomLog /mnt/nfs/logs/redmine/access.log combined
<Directory /mnt/nfs/logs/redmine>
DirectoryIndex index.php
Options FollowSymLinks MultiViews
Require all granted
AllowOverride All
Order deny,allow
allow from all
</Directory>
</VirtualHost>

这里是德鲁巴:
<VirtualHost *:80>
ServerName drupal.flaman-m-quest-etna.nx/
ServerAdmin morganeflamant@gmail.com
DocumentRoot /opt/drupal
DirectoryIndex index.php
ErrorLog /mnt/nfs/logs/drupal/error.log
CustomLog /mnt/nfs/logs/drupal/access.log combined
LogLevel warn
<Directory /mnt/nfs/logs/drupal>
Require all granted
AllowOverride All
Order deny,allow
allow from all
</Directory>
</VirtualHost>

这里是我的主机窗口:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handle within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

192.168.31.138 srva.flaman-m-quest-etna.nx
192.168.31.128 srvb.quest-etna.nx
192.168.31.128 drupal.flaman-m-quest-etna.nx
192.168.31.139 datas.flaman-m-quest-etna.nx

你知道有什么问题吗?谢谢你。

最佳答案

我找到了,这不是最好的方法,但我在 CentOS 中禁用了我的 firewalld 并且它可以工作。

sudo service disable firewalld
sudo service stop firewalld

您也可以对其进行配置以使其正常工作。

关于drupal - Bad Gateway, Drupal, Redmine 通过 VM centos 托管 windows,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43665558/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com