farms:advanced
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
farms:advanced [2013-11-28 17:46] – [Running farms behind reverse proxies] JimmyL | farms:advanced [2022-04-21 16:56] (current) – [Disabling access to the farmer] 92.175.109.225 | ||
---|---|---|---|
Line 15: | Line 15: | ||
<file php> | <file php> | ||
$config_cascade[' | $config_cascade[' | ||
- | $config_cascade[' | + | $config_cascade[' |
</ | </ | ||
Line 33: | Line 33: | ||
at the end of '' | at the end of '' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | coucou c'est moi le hacker | ||
+ | ===== Central user management ===== | ||
+ | |||
+ | If some or all of your animals shall share the users you can do that not just by using the same external authentication but also with the default user management of DokuWiki by setting the path to the user list to the same location at the end of '' | ||
+ | |||
+ | <code php> | ||
+ | $config_cascade[' | ||
+ | ' | ||
+ | ); | ||
+ | </ | ||
+ | |||
+ | If you want to do that just for some animals you can of course simply add a condition based on the value of '' | ||
===== Flexible .htaccess-based setups ===== | ===== Flexible .htaccess-based setups ===== | ||
Line 83: | Line 99: | ||
The '' | The '' | ||
- | ===== Running | + | ===== Running |
This is when you set up your farm on a backend server (e.g. http:// | This is when you set up your farm on a backend server (e.g. http:// | ||
Line 101: | Line 117: | ||
On the backend server my wiki about bears (once fully setup) will be available at the following address: http:// | On the backend server my wiki about bears (once fully setup) will be available at the following address: http:// | ||
- | However, on the frontend server I want to present my wiki with the following address (notice I've chosen to drop the ' | + | However, on the frontend server I want to present my wiki with the following address (notice I've chosen to drop the ' |
Using the .htaccess type of setup, I set up ''/ | Using the .htaccess type of setup, I set up ''/ | ||
Line 115: | Line 131: | ||
Under ''/ | Under ''/ | ||
- | <code php php> | + | <code php local.protected.php> |
<?php | <?php | ||
/** | /** | ||
Line 133: | Line 149: | ||
< | < | ||
ProxyPass http:// | ProxyPass http:// | ||
- | ProxyPassReverse http://111.22.33.44/ | + | ProxyPassReverse http://11.22.33.44/ |
</ | </ | ||
</ | </ | ||
Line 150: | Line 166: | ||
< | < | ||
ProxyPass http:// | ProxyPass http:// | ||
- | ProxyPassReverse http://111.22.33.44/ | + | ProxyPassReverse http://11.22.33.44/ |
Header edit Location ^http:// | Header edit Location ^http:// | ||
</ | </ |
farms/advanced.1385657168.txt.gz · Last modified: 2013-11-28 17:46 by JimmyL