Skip to content
GitLab
Explore
Sign in
Admin message
🚀
This server has been upgraded to GitLab release
16.11
.
🚀
hsrmas
tasks
Wiki
apache on v000155
apache on v000155
· Changes
Page history
slavisa.karalic created page: apache on v000155
authored
Apr 14, 2018
by
Slavisa Karalic
Hide whitespace changes
Inline
Side-by-side
apache-on-v000155.md
0 → 100644
View page @
e759e41f
`/etc/apache2/sites-enabled/000-default.conf`
```
<VirtualHost v000155.adm.ds.fhnw.ch:80>
ServerAdmin webmaster@localhost
<Location />
Options -Indexes +FollowSymLinks
Require all granted
</Location>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyPreserveHost On
ProxyRequests Off
ServerName v000155.adm.ds.fhnw.ch
RewriteEngine on
RewriteRule ^/(.*)$ http://localhost:5001/$1 [L,P]
ProxyPassReverse / http://localhost:5001/
</VirtualHost>
<VirtualHost 10.51.6.78:80>
ServerName 10.51.6.78
ServerAdmin webmaster@localhost
<Location />
Options -Indexes +FollowSymLinks
Require all granted
</Location>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyPreserveHost On
ProxyRequests Off
RewriteEngine on
RewriteRule ^/(.*)$ http://localhost:5000/$1 [L,P]
ProxyPassReverse / http://localhost:5000/
</VirtualHost>
```
\ No newline at end of file