- Edit /home/happy/webs/redmine/apache2/conf/bitnami/bitnami-apps-prefix.conf
# Bitnami applications installed in a prefix URL
Include "/home/happy/webs/redmine/apps/redmine-another/conf/httpd-prefix.conf"
Include "/home/happy/webs/redmine/apps/redmine/conf/httpd-prefix.conf"
- Edit above two configuration file separately.
Alias /redmine/ "/home/happy/webs/redmine/apps/redmine/htdocs/public/"
Alias /redmine "/home/happy/webs/redmine/apps/redmine/htdocs/public"
Include "/home/happy/webs/redmine/apps/redmine/conf/httpd-app.conf"
/home/happy/webs/redmine/apps/redmine-another/conf/httpd-prefix.confAlias /redmine-another/ "/home/happy/webs/redmine/apps/redmine-another/htdocs/public/"
Alias /redmine-another "/home/happy/webs/redmine/apps/redmine-another/htdocs/public"
Include "/home/happy/webs/redmine/apps/redmine-another/conf/httpd-app.conf"
-
Edit “/home/freeman/webs/redmine/apps/redmine-another/conf/httpd-app.conf” separately
- Restart server
bash ctlscript.sh restart - Browse webpage separately
http://127.0.0.1:8081/redmine/projects
RewriteEngine On
RewriteRule /<none> / [L,R]
<Directory "/home/freeman/webs/redmine/apps/redmine-another/htdocs/public">
Options -MultiViews
AllowOverride All
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
PassengerEnabled on
SetEnv RAILS_RELATIVE_URL_ROOT "/redmine-another"
PassengerAppRoot "/home/freeman/webs/redmine/apps/redmine-another/htdocs/"
<IfModule pagespeed_module>
ModPagespeedDisallow "*"
</IfModule>
Include "/home/freeman/webs/redmine/apps/redmine-another/conf/banner.conf"
</Directory>
PassengerPreStart http://127.0.0.1:8081/redmine-another
sucessfully
0 意見:
張貼留言