简体   繁体   English

如何更改Bitnami Redmine的默认URL

[英]How to change bitnami redmine default URL

Hi I have installed bitnami redmine to use agile.when ever I am writing localhost/ or 127.0.01/ it is accessing bitnami home page to link for redmine. 嗨,我已经安装了bitnami redmine来使用agile。每当我编写localhost /或127.0.01 /时,它都在访问bitnami主页以链接到redmine。

I want to change it so that it can be used with proper port number , for example i am thinking to give port 1234, so that localhost:1234 will be my address for it. 我想更改它,以便可以与正确的端口号一起使用,例如,我正在考虑提供端口1234,以便localhost:1234将是我的地址。

I have seen and tried {HOME}/apps/redmineplusagileconf/httpd-prefix , to change the access for redmine , but still not able to change the access with custome port. 我已经看到并尝试{HOME} / apps / redmineplusagileconf / httpd-prefix来更改redmine的访问权限,但仍然无法使用custome端口更改访问权限。

Any suggestion would help me. 任何建议都会帮助我。

HTTP Port HTTP端口

Under the default configuration, Apache will wait for requests on port 80. Change that by editing the httpd.conf file and modifying the value specified in the Port directive . 在默认配置下,Apache将等待端口80上的请求。通过编辑httpd.conf文件并修改Port指令中指定的值来更改请求。 For example: 例如:

Listen 1234

ServerName localhost:1234

Also change the port in installdir/apache2/conf/bitnami/bitnami.conf in the VirtualHost directive : 还要在VirtualHost指令中的installdir/apache2/conf/bitnami/bitnami.conf中更改端口:

<VirtualHost _default_:1234>

HTTPS Port HTTPS端口

Apache waits for HTTPS requests on port 443. Change that by editing the installdir/apache2/conf/bitnami/bitnami.conf file and modifying the value specified in the Port directive . Apache在端口443上等待HTTPS请求。通过编辑installdir/apache2/conf/bitnami/bitnami.conf文件并修改Port指令中指定的值来更改此请求。 For example: 例如:

Listen 8443

<VirtualHost _default_:8443>

In both cases, restart the Apache server for the change to take effect: 在这两种情况下,都重新启动Apache服务器以使更改生效:

sudo installdir/ctlscript.sh restart apache

NOTE: On Linux and OS X platforms, install the stack as the root user to use a port number under 1024. 注:在Linux和OS X平台上,以root用户身份安装堆栈,以使用1024以下的端口号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM