Httpd
Jump to navigation
Jump to search
httpd.conf
Virtual Hosts
- Virtual Host documentation
- Virtual Host examples
- "The term Virtual Host refers to the practice of running more than one web site (such as company1.example.com and company2.example.com) on a single machine. Virtual hosts can be "IP-based", meaning that you have a different IP address for every web site, or "name-based", meaning that you have multiple names running on each IP address. The fact that they are running on the same physical server is not apparent to the end user."
Configuring reverse proxy
- mod_proxy - Multi-protocol proxy/gateway server
- rstudio.conf
<VirtualHost *:80> <Proxy *> Allow from localhost </Proxy> ProxyPass /rstudio/ http://localhost:8787/ ProxyPassReverse /rstudio/ http://localhost:8787/ RedirectMatch permanent ^/rstudio$ /rstudio/ </VirtualHost>