Note that there are some explanatory texts on larger screens.

plurals
  1. POMediaWiki installed on virtual server accessed through Apache ProxyPass
    primarykey
    data
    text
    <blockquote> <p><strong>Note</strong>: where you will see "<strong>xttp</strong>" actualy is "<strong>http</strong>" but stackoverflow rules do not allow me to use more than 1 hyperlink in one post because I do not have enough "credit" to do that :) </p> </blockquote> <h1>INTRODUCTION</h1> <p>Hi,</p> <p>I have installed a MediaWiki 1.15.3 software on a private LAN on a Linux box (CentOS 5), with: Apache 2.2.3, PHP 5.1.6, MySQL 5.0.45. Let's name this Linux box "wiki box".</p> <p>Public users can't access this wiki as it is hosted on a private LAN.</p> <p>For external users (the Internet users) we have a Linux router (with Apache 2.0.52) where we host our website (ex: xttp://www.cubique.ro). Let's name this Linux box "router".</p> <h1>WHAT I WANT</h1> <p>What I want to do is: </p> <ol> <li>to create a virtual domain (as xttp://wiki.cubique.ro) on the "router"</li> <li>setup the virtual domain to forward all xttp requests to my private "wiki box" (ex: xttp://192.168.0.200/wiki_root/)</li> </ol> <h1>WHAT I'VE DONE ALREADY</h1> <p>On router's Apache (httpd.conf) I have created a VirtualHost as: </p> <blockquote> <p>&lt; VirtualHost 0.0.0.0:80 ><br> ServerName wiki.cubique.ro<br> DocumentRoot /someinternalpath/html<br> ScriptAlias /cgi-bin /someinternalpath/cgi-bin<br> ... </p> </blockquote> <p>Well, after I have navigate at wiki.cubique.ro I saw a blank web page, as /someinternalpath/html has an empty index.htm page. </p> <p>No problem, I know that I have to "teach" the router to pass all the access of virtual domain (wiki.cubique.ro) to the wiki box, where the real pages are stored. </p> <p>So I teach the Apache to ProxyPass the access of virtual domain root to the wiki box root like this: </p> <blockquote> <p><em>...the following lines lies in the same virtual domain definition, see above</em><br> ProxyPass / xttp://192.168.0.200/wiki/<br> ProxyPassReverse / xttp://192.168.0.200/wiki/<br> &lt; /VirtualHost > </p> </blockquote> <h1>WHAT IS THE ISSUE</h1> <p>If I access the wiki using the internal address (such as xttp://192.168.0.200/wiki/) it looks splendid (style sheets, everything).<br> When I access the wiki using the virtual domain name ( xttp://wiki.cubique.ro ) it shows the content but no style sheet. Worse than that, no internal wiki links are working at all. </p> <p>Make a try: <a href="http://wiki.cubique.ro" rel="nofollow noreferrer">http://wiki.cubique.ro</a> </p> <h1>FINALLY, THE QUESTION</h1> <p>Anyone has a clue how to deal with this?</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload