Scol server redirection 8080 80 » History » Version 2
iri, 10/07/2012 05:49 PM
1 | 2 | iri | h1. How to redirect the Scol port 8080 to the Apache port 80 ? |
---|---|---|---|
2 | 1 | iri | |
3 | Configure your _vhost_ file like this : |
||
4 | |||
5 | <pre> |
||
6 | <VirtualHost *:80> |
||
7 | ServerAdmin adress@mydomain.tld |
||
8 | ProxyRequests Off |
||
9 | |||
10 | <Proxy *> |
||
11 | Order deny,allow |
||
12 | Allow from all |
||
13 | </Proxy> |
||
14 | |||
15 | ProxyPass / http://scoldomain.tld:8080 |
||
16 | ProxyPassReverse / http://scoldomain.tld:8080 |
||
17 | ServerName domain.tld |
||
18 | </VirtualHost> |
||
19 | </pre> |
||
20 | |||
21 | where : |
||
22 | * _mydomain_ is your SMTP server (if any) |
||
23 | * _scoldomain_ is the Scol domain (the address of your Scol server, if any) |
||
24 | * _domain_ is the Apache2 domain (the address of your web server, your domain name) |