apache_module_mod_proxy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apache_module_mod_proxy [2023/07/11 18:32] – wikiadmin | apache_module_mod_proxy [2023/07/11 20:30] (current) – wikiadmin | ||
---|---|---|---|
Line 3: | Line 3: | ||
See: [[https:// | See: [[https:// | ||
- | Enable the mod_proxy | + | **Apache |
- | Apache | + | **Enable the mod_proxy |
- | + | ||
- | Enable Apache mod_proxy: | + | |
< | < | ||
Line 15: | Line 13: | ||
LoadModule proxy_http_module modules/ | LoadModule proxy_http_module modules/ | ||
#LoadModule proxy_scgi_module modules/ | #LoadModule proxy_scgi_module modules/ | ||
+ | </ | ||
+ | |||
+ | Instead, maybe enable the appropriate apache proxy modules, and restart apache server: | ||
+ | |||
+ | < | ||
+ | sudo a2enmod proxy | ||
+ | |||
+ | sudo a2enmod proxy_http | ||
+ | |||
+ | sudo systemctl restart apache2 | ||
</ | </ | ||
Line 25: | Line 33: | ||
ProxyPassReverse "/ | ProxyPassReverse "/ | ||
</ | </ | ||
+ | |||
+ | |||
+ | **SEE the following PER ABOVE** | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | |||
+ | Configure apache2 | ||
+ | |||
+ | Apache2 is configured by placing directives in plain text configuration files in / | ||
+ | |||
+ | separated between the following files and directories: | ||
+ | |||
+ | |||
+ | Files | ||
+ | |||
+ | • apache2.conf | ||
+ | The main Apache2 configuration file. Contains settings that are global to Apache2. | ||
+ | Note: Historically, | ||
+ | daemon. In other distributions (or older versions of Ubuntu), the file might be present. In modern | ||
+ | releases of Ubuntu, all configuration options have been moved to apache2.conf and the below referenced | ||
+ | directories and httpd.conf no longer exists. | ||
+ | |||
+ | • envvars | ||
+ | File where Apache2 environment variables are set. | ||
+ | |||
+ | • magic | ||
+ | Instructions for determining MIME type based on the first few bytes of a file. | ||
+ | |||
+ | • ports.conf | ||
+ | Houses the directives that determine which TCP ports Apache2 is listening on | ||
+ | |||
+ | |||
+ | **Tutorial - Running a Reverse Proxy in Apache** | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | **Virtual Host Examples** | ||
+ | |||
+ | [[https:// |
apache_module_mod_proxy.1689100373.txt.gz · Last modified: 2023/07/11 18:32 by wikiadmin