我希望该地址为openproject.example.net而不是openproject.example.net/openproject。我如何做到这一点?我假设使用一个tf.nn.weighted_moments(constVector,axes=-1,frequency_weights=x)[1])(in)
文件,但是代码是什么以及该文件放在哪里?
这是.htaccess
中openproject.conf
的内容。
/etc/apache2/sites-available
可以在Include /etc/openproject/addons/apache2/includes/server/*.conf
<VirtualHost *:80>
ServerName #IPv4 address#
DocumentRoot /opt/openproject/public
ProxyRequests off
Include /etc/openproject/addons/apache2/includes/vhost/*.conf
# Can't use Location block since it would overshadow all the other proxypass directives on CentOS
ProxyPass /openproject/ http://127.0.0.1:6000/openproject/ retry=0
ProxyPassReverse /openproject/ http://127.0.0.1:6000/openproject/
</VirtualHost>
或http://#IPv4 address#/openproject
处访问OpenProject。我希望第二个URL读取http://openproject.example.net/openproject
。