This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
deb11:apache [2022/09/25 23:47] – [Xdebug] Bernard Condrau | deb11:apache [2023/01/16 19:59] (current) – Bernard Condrau | ||
---|---|---|---|
Line 8: | Line 8: | ||
- Create sub folders in ''/ | - Create sub folders in ''/ | ||
- Install and configure [[deb11: | - Install and configure [[deb11: | ||
+ | - If you are migrating from an old server, follow the [[deb11: | ||
===== Apache Settings ===== | ===== Apache Settings ===== | ||
Line 16: | Line 17: | ||
==== MaxRequestedWorkers ==== | ==== MaxRequestedWorkers ==== | ||
- | Modify / | + | Modify / |
- | vim / | + | vim / |
MaxRequestedWorkers 400 | MaxRequestedWorkers 400 | ||
ServerLimit 400 | ServerLimit 400 | ||
Line 43: | Line 44: | ||
===== PHP Extensions ===== | ===== PHP Extensions ===== | ||
- | * PHP extensions for Joomla:< | + | * PHP extensions for Joomla:< |
- | * PHP extensions for Wiki:< | + | * PHP extensions for Wiki:< |
* PHP extensions for phpMyAdmin:< | * PHP extensions for phpMyAdmin:< | ||
+ | * PHP extensions for vps:< | ||
* Required for PHP7:< | * Required for PHP7:< | ||
* Restart the service with one of the 2 commands below:< | * Restart the service with one of the 2 commands below:< | ||
Line 115: | Line 117: | ||
icacls X: | icacls X: | ||
icacls X: | icacls X: | ||
- | |||
==== Links ==== | ==== Links ==== | ||
Line 123: | Line 124: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
===== SSL for localhost ===== | ===== SSL for localhost ===== | ||
==== Ignore invalid certificates ==== | ==== Ignore invalid certificates ==== | ||
Line 164: | Line 166: | ||
* [[https:// | * [[https:// | ||
===== Proxy ===== | ===== Proxy ===== | ||
- | * Setup a VirtualHost on your main apache | + | Follow the guide [[deb11:apache-proxy|Apache Server with Proxy]] |
- | * There needs to be another (regular) VirtualHost file on the backuppc server, which for this example is now called " | + | |
- | * The SSL certificates are served from the " | + | |
- | * The " | + | |
- | ==== VirtualHost on the " | ||
- | * sub.domain.tld: | ||
- | * host.yourdomain.tld: | ||
- | < | ||
- | < | ||
- | ServerName sub.domain.tld | ||
- | Redirect 301 / https:// | ||
- | < | ||
- | < | ||
- | ServerName sub.domain.tld | ||
- | ServerAdmin you@domain.tld | ||
- | DocumentRoot / | ||
- | | ||
- | SSLEngine on | ||
- | RedirectMatch ^/$ /yourapp/ # use this if backuppc is not the default app, or if you need to access another app on the same server | ||
- | | ||
- | < | ||
- | ProxyPass " | ||
- | ProxyPassReverse " | ||
- | Require all granted | ||
- | </ | ||
- | | ||
- | # add other options such as Files and Directory permissions | ||
- | | ||
- | Include / | ||
- | SSLCertificateFile / | ||
- | SSLCertificateKeyFile / | ||
- | </ | ||
- | </ | ||
- | ==== Links ==== | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
===== Links ===== | ===== Links ===== | ||
* [[https:// | * [[https:// |