Apache 配置。网站无法运行

Apache 配置。网站无法运行

我尝试在 ubuntu 服务器上运行网站,但不起作用。这是我的配置:

/etc/apache2/站点可用/vtiger

<VirtualHost *:33333>
ServerName my.domain.com
DocumentRoot /var/www/vtigercrm/
ErrorLog /var/log/apache2/vtiger.my.domain.com.error_log
CustomLog /var/log/apache2/vtiger.my.domain.com.access_log combined
<Directory /var/www/vtigercrm>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>

/etc/apache2/sites-enabled/vtiger

<VirtualHost *:33333>
ServerName my.domain.com
DocumentRoot /var/www/vtigercrm/
ErrorLog /var/log/apache2/vtiger.my.domaincom.error_log
CustomLog /var/log/apache2/vtiger.my.domain.com.access_log combined
<Directory /var/www/vtigercrm>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>

/etc/apache2/ports.conf

NameVirtualHost *:33333
Listen 33333

<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>

出了什么问题?如何修复?日志中没有错误

我也尝试运行:my.domain.com:33333 但返回:

连接已超时

相关内容