https://wiki.uniformserver.com/index.php?title=Reverse_Proxy_Server_2:_Wiki&feed=atom&action=history
Reverse Proxy Server 2: Wiki - Revision history
2024-03-28T17:38:23Z
Revision history for this page on the wiki
MediaWiki 1.41.0
https://wiki.uniformserver.com/index.php?title=Reverse_Proxy_Server_2:_Wiki&diff=4207&oldid=prev
Ric at 12:38, 8 May 2010
2010-05-08T12:38:16Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:38, 8 May 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l169">Line 169:</td>
<td colspan="2" class="diff-lineno">Line 169:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]] </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]] </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">==Related Links:==</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[http://www.bodybuildingrevealed.com/'''body building''']</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Uniform Server 5.0-Nano]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Uniform Server 5.0-Nano]]</div></td></tr>
</table>
Ric
https://wiki.uniformserver.com/index.php?title=Reverse_Proxy_Server_2:_Wiki&diff=4206&oldid=prev
Paola09 at 00:20, 7 May 2010
2010-05-07T00:20:55Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:20, 7 May 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l169">Line 169:</td>
<td colspan="2" class="diff-lineno">Line 169:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]] </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]] </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==Related Links:==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[http://www.bodybuildingrevealed.com/'''body building''']</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Uniform Server 5.0-Nano]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category: Uniform Server 5.0-Nano]]</div></td></tr>
</table>
Paola09
https://wiki.uniformserver.com/index.php?title=Reverse_Proxy_Server_2:_Wiki&diff=3845&oldid=prev
Ric: New page: {{Nav reverse proxy server}} On the previous page I covered running a subversion back-end server this page looks at running MediaWiki as a back-end server. Again before deployment this ...
2009-08-22T14:32:59Z
<p>New page: {{Nav reverse proxy server}} On the previous page I covered running a subversion back-end server this page looks at running MediaWiki as a back-end server. Again before deployment this ...</p>
<p><b>New page</b></p><div>{{Nav reverse proxy server}}<br />
<br />
On the previous page I covered running a subversion back-end server this page looks at running MediaWiki as a back-end server. <br />
<br />
Again before deployment this can be tested on a local PC.<br />
<br />
'''''Note'':''' This [[Installing MediaWiki on 5.0-Nano | '''page''']] is worth reading before installing on a back-end server.<br />
<br />
== Preparation ==<br />
For this example we require a MediaWiki server.<br />
<br />
Create a new folder '''C:\server_d''' Extract a copy of UniServer 5.0 to this folder.<br />
<br />
{|cellspacing="6"<br />
|-valign="top"<br />
|1)<br />
|'''Move Servers''' First close all running servers.<br />
# Run Unitray: C:\server_d\UniServer\Start.exe<br />
# '''Left click''' tray icon > '''Advance''' > '''Move Servers''' multi-server operation<br />
# '''Press enter''' at all prompts<br />
# Repeat 2 and 3 Until icon 5 is displayed <br />
* Note: Apache port = 84<br />
|-valign="top"<br />
|2)<br />
|'''''Download Mediawiki''''' <br />
# Download Mediakiki '''1.15.1''' (or newer version) from [http://www.mediawiki.org/wiki/Download here] save to a convenient folder.<br />
# Unzip the downloaded file (mediawiki-1.15.1.tar.gz) Windows cannot do this use something like 7-Zip Portable<br>&nbsp;--- Download site: [http://portableapps.com/apps/utilities PortableApps.com]<br>&nbsp;--- File name: 7-Zip Portable - Multilingual file archiver and compressor</li><br />
# Extract '''mediawiki-1.15.1.tar.gz''' to current path, creates a new folder '''mediawiki-1.15.1.tar''' open this folder <br />
# Extract mediawiki-1.15.1.tar to current path, creates a new folder mediawiki-1.15.1<br />
|-valign="top"<br />
|3)<br />
| '''''Copy files to Uniform Server'''''<br />
# Copy folder '''mediawiki-1.15.1''' to server root folder C:\server_d\UniServer\'''www'''<br />
# Rename folder '''mediawiki-1.15.1''' to '''wiki'''<br />
|-valign="top"<br />
|4)<br />
|'''''Install'''''<br />
# Start servers<br />
# Type the following into your browser address bar: '''<nowiki>http://localhost:84/wiki/</nowiki>''' redirects to installation page.<br />
# Click the link Please '''set up the wiki''' first.<br />
# This opens the configuration page scroll down to '''Site config''' and fill in the form.<br />
|}<br />
<br />
'''''[[#top | Top]]'''''<br />
=== Site config ===<br />
<table width="490" border="0" cellpadding="3" cellspacing="1"><br />
<tr bgcolor="#F4F4F4"><td width="150" align="right">Wiki name:</td><td>MPG (whatever you like)</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Contact e-mail:</td><td>admin@localhost</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Language:</td><td>en-English</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Copyright/license: </td><td>(radio button) select No license metadata</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Admin username:</td><td>WikiSysop</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Password:</td><td>root66 (whatever you like)</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Password confirm:</td><td>root66 (same as above)</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Object caching:</td><td>(radio button) select none</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Memcached servers:</td><td>(leave blank)</td></tr><br />
</table><br />
<br />
'''''E-mail, e-mail notification and authentication setup'''''<br />
<table width="490" border="0" cellpadding="3" cellspacing="1"><br />
<tr bgcolor="#F4F4F4"><td width="150" align="right">E-mail features (global): </td><td>(radio button) select Disabled</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">User-to-user e-mail:</td><td>(radio button) select Disabled</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">E-mail notification about changes:</td><td>(radio button) select Disabled</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">E-mail address: </td><td>(radio button) select Disabled</td></tr><br />
</table><br />
'''''Database config'''''<br />
<table width="490" border="0" cellpadding="3" cellspacing="1"><br />
<tr bgcolor="#F4F4F4"><td width="150" align="right">Database type:</td><td>(radio button) select MySQL</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Database host:</td><td><b>localhost:3310</b> - Note port number</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Database name: </td><td>wikidb</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">DB username:</td><td>root</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">DB password confirm: </td><td>root </td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Superuser account:</td><td>tick box </td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Superuser name:</td><td>root</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Superuser password:</td><td>root</td></tr><br />
</table><br />
'''''MySQL specific options'''''<br />
<table width="490" border="0" cellpadding="3" cellspacing="1"><br />
<tr bgcolor="#F4F4F4"><td width="150" align="right">Database table prefix:</td><td>leave blank</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Storage Engine:</td><td>(radio button) select MyISAM</td></tr><br />
<tr bgcolor="#F4F4F4"><td align="right">Database character set: : </td><td>(radio button) select MySQL 4.1/5.0 binary</td></tr><br />
</table><br />
'''Click Install MediaWiki'''<br />
<br />
After creating the database a second page will display, scroll down the page you will see the conformation message <br />
Installation successful! Move the config/LocalSettings.php <br>file to the parent directory, then follow this link to your wiki”<br />
<br />
'''''[[#top | Top]]'''''<br />
== Notes ==<br />
'''Notes 1:''' To enable image uploads:<br />
#Open file: '''LocalSettings.php'''<br />
#Located in folder: *\UniServer\udrive\www\'''wiki'''<br />
#Change this line: '''$wgEnableUploads = false;'''<br />
#To: '''$wgEnableUploads = true;'''<br />
<br />
<br />
'''''[[#top | Top]]'''''<br />
== Configure Proxy Server ==<br />
Remember that [[Reverse Proxy Server 2: mod proxy html 2#Template | template?]] Well configuring the proxy is just a copy and paste exercise. For this example even the correct port is included.<br />
<br />
Edit file C:\server_a\UniServer\usr\local\apache2\conf\'''httpd.conf'''<br />
<br />
Add the wiki section as shown below:<br />
<pre><br />
Include conf/proxy_html.conf<br />
NameVirtualHost *<br />
<VirtualHost *><br />
ServerName localhost:80<br />
DocumentRoot C:/server_a/UniServer/www<br />
<br />
ProxyRequests off<br />
<Proxy *><br />
Order deny,allow<br />
Deny from all<br />
Allow from 127.0.0.1<br />
</Proxy><br />
<br />
ProxyPass /info/ http://localhost:82/<br />
ProxyHTMLURLMap http://localhost:82 /info<br />
<Location /info/><br />
ProxyPassReverse http://localhost:82/<br />
#SetOutputFilter proxy-html<br />
SetOutputFilter INFLATE;proxy-html;DEFLATE<br />
ProxyHTMLURLMap / /info/<br />
ProxyHTMLURLMap /info /info<br />
</Location><br />
<br />
ProxyPass /svn/ http://localhost:83/svn/<br />
<Location /svn/ ><br />
ProxyPassReverse /svn/<br />
<LimitExcept GET PROPFIND OPTIONS REPORT><br />
Order deny,allow<br />
Deny from all<br />
</LimitExcept><br />
</Location><br />
<br />
ProxyPass /wiki/ http://localhost:84/wiki/<br />
ProxyHTMLURLMap http://localhost:84/wiki /wiki<br />
<Location /wiki/><br />
ProxyPassReverse http://localhost:84/wiki/<br />
SetOutputFilter INFLATE;proxy-html;DEFLATE<br />
ProxyHTMLURLMap / /wiki/<br />
ProxyHTMLURLMap /wiki /wiki<br />
</Location><br />
<br />
</VirtualHost><br />
</pre><br />
'''''[[#top | Top]]'''''<br />
=== Test Configuration ===<br />
To quickly check the configuration:<br />
* Start server_a<br />
* Start server_d<br />
* Type '''<nowiki>http://localhost/wiki/</nowiki>'''<br />
'''''Result'':''' Wiki main page displayed.<br />
<br />
Create a new Wiki page, confirm you can save and display the new page.<br />
<br />
'''''[[#top | Top]]'''''<br />
<br />
== Summary ==<br />
That completes how to proxy a MediaWiki back-end server.<br />
<br />
On the next page I look at an Intranet [[Reverse Proxy Server 2: Deployment | '''deployment''']].<br />
<br />
'''''[[#top | Top]]'''''<br />
<br />
----<br />
{|<br />
|-valign="middle"<br />
| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]] <br />
|}<br />
<br />
[[Category: Uniform Server 5.0-Nano]]</div>
Ric