Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Virtual host with ServerPath |
|
Author |
|
Meindert66
Joined: 09 Aug 2017 Posts: 2 Location: Netherlands, Apeldoorn
|
Posted: Wed 09 Aug '17 11:25 Post subject: Virtual host with ServerPath |
|
|
The following ServerPath is not working, what I want is the following URL: http://<server>/redmine_default
Error: The page you were trying to access doesn't exist or has been removed.
Code: |
<VirtualHost *:80>
ServerName 146.104.87.20
ServerPath /redmine_default
# this is the passenger config
RailsEnv production
SetEnv X_DEBIAN_SITEID "default"
# CHANGE PassengerAppGroupName FOR OTHER INSTANCES
PassengerAppGroupName redmine_default
PassengerDefaultUser www-data
DocumentRoot /usr/share/redmine/public
<Directory "/usr/share/redmine/public">
Allow from all
Options -MultiViews
Require all granted
</Directory>
Alias "/plugin_assets/" /var/cache/redmine/default/plugin_assets/
<Directory "/var/cache/redmine/default/plugin_assets/">
Allow from all
Options -MultiViews
Require all granted
</Directory>
</VirtualHost>
|
|
|
Back to top |
|
covener
Joined: 23 Nov 2008 Posts: 59
|
Posted: Wed 09 Aug '17 13:36 Post subject: |
|
|
The error.log is more descriptive then your browser error. Is /redmine_default in your document root? Or do you just want it to be treated like "/" once it lands in the right vhost?
ServerPath is almost never used. |
|
Back to top |
|
Meindert66
Joined: 09 Aug 2017 Posts: 2 Location: Netherlands, Apeldoorn
|
|
Back to top |
|
|
|
|
|
|