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:40] – [Xdebug] Bernard Condrau | deb11:apache [2026/01/31 15:26] (current) – [Windows Subsystem for Linux] 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 94: | Line 96: | ||
| make</ | make</ | ||
| - Copy the module to:< | - Copy the module to:< | ||
| - | - Create ''/ | + | - Create ''/ |
| - | xdebug.remote_port=9000 (default: 9003) | + | xdebug.remote_port = 9000 (default: 9003) |
| - | xdebug.mode=debug</ | + | xdebug.mode |
| - Restart your webserver. | - Restart your webserver. | ||
| - Create a PHP page that has phpinfo(). Load it in a browser and look for the info on the Xdebug module. If you see it next to the Zend logo, you have been successful! | - Create a PHP page that has phpinfo(). Load it in a browser and look for the info on the Xdebug module. If you see it next to the Zend logo, you have been successful! | ||
| Line 115: | Line 117: | ||
| icacls X: | icacls X: | ||
| icacls X: | icacls X: | ||
| - | + | * <color red> | |
| ==== Links ==== | ==== Links ==== | ||
| * [[https:// | * [[https:// | ||
| 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:// | ||