我正在使用文件共享服务F*EX
前*外。如果我在没有 a 的情况下运行该服务,proxy
我可以访问它并且它可以工作。该服务由 控制xinetd
。现在 aapache2
已配置为作为代理运行并重定向到port 443
,但该服务无法访问。我既没有收到来自 xinetd 的错误消息,也没有收到来自 apache2 的错误消息。
的输出netstat -tulpnq
:
tcp 0 0 127.0.0.1:9988 0.0.0.0:* LISTEN 15302/xinetd
Apache2 配置文件 http:
<VirtualHost *:80>
ServerName fex.myserver.de
Redirect / https://fex.myserver.de
</VirtualHost>
Apache2 配置文件 http:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName fex.myserver.de
ProxyPass / http://127.0.0.1:9988/
ProxyPreserveHost On
DocumentRoot /home/fex
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/fex/htdocs/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
*SSL OPTIONS GO HERE*
ErrorLog ${APACHE_LOG_DIR}/error.log
</VirtualHost>
</IfModule>
xinetd.d/fex :
# default: on
# description: F*EX web server
#
service fex
{
socket_type = stream
log_type = FILE /var/log/xinetd
log_on_success = PID HOST EXIT DURATION
log_on_failure = PID HOST EXIT DURATION
wait = no
type = unlisted
protocol = tcp
bind = 127.0.0.1
port = 9988
cps = 10 2
user = fex
groups = yes
server = /home/fex/bin/fexsrv
nice = 0
disable = no
}