Page 1 of 1

xampp instead of mediawiki

PostPosted: 23. May 2009 06:46
by chadack
Hello,

I am a network engineer trying to set up a mediawiki wiki. I was grateful to find XAMPP and was able to successfully install it on an old proliant server running Windows 2003 Server.

The problem is that when I enter the address of the proliant server [10.0.0.185] in the browser of another computer on the local network the result is a web page: http://10.0.0.185/xampp/ instead of the http://10.0.0.185/mediawiki/

What do I need to change? If I manually put in http://10.0.0.185/mediawiki from another system, the wiki page comes up, but that is not going to work for systems that are not on the local network.

Thanks,
Greg

xampp instead of mediawiki

PostPosted: 24. May 2009 00:20
by chadack
Hello, is anyone home....?

Re: xampp instead of mediawiki

PostPosted: 24. May 2009 06:19
by Sharley
Hello,

I am not a network engineer. :)


chadack wrote:proliant
Is this relating to a HP ProLiant Server?

Hello, is anyone home....?
The members of this Apache Friends forum who answer support requests are all unpaid volunteers and normally you would have to wait until one of those volunteers, who may know the answer, finds the time to reply to your request for help - "bumping" after only a short time has elapsed since first posting, may actually put some members off replying, which actually in turn, may cause an even longer delay before you receive an answer.

proliant server running Windows 2003 Server
You included the OS you are using but keep in mind that it is also helpful to included the XAMPP for Windows version you have installed, which may help with troubleshooting, as now different versions of XAMPP can require a different approach, much the same as different Operating Systems can also demand a different troubleshooting approach, as I am sure that you being a network engineer would be very familiar with.



(In the following paragraphs I am using the default XAMPP for Windows installation paths).
C:\xampp\htdocs contains an index.php file that redirects a request from a browser for an index file in the Apache server's DocumentRoot to an index file in C:\xampp\htdocs\xampp\index.php - for example http://localhost/ or http://localhost/index.php will redirect to http://locahost/xampp/index.php

C:\xampp\htdocs\mediawiki\index.php will always have to be called by http://localhost/mediawiki/ or http://localhost/mediawiki/index.php
unless you configure your server differently.

So, if you put your MediaWiki folders and files including it's index file in the C:\xampp\htdocs folder and delete the index.php and the index.html included in the XAMPP installation, then http://localhost/ will give you your MediaWiki index page.

Then to get to the XAMPP Welcome Page, after deleting the redirecting index.php file, use http://localhost/xampp/index.php

Because Apache Listens on all IP addresses on port 80 (Directive Listen 80 in the httpd.conf file) your networks should also be able to find your wiki pages and the XAMPP Welcome Page after reconfiguring your server using the method mentioned above.

Re: xampp instead of mediawiki

PostPosted: 28. May 2009 01:47
by chadack
Thanks so much for the guidance! I will implement it and let you know how it goes.

Cheers,
Greg

Re: xampp instead of mediawiki

PostPosted: 29. May 2009 06:34
by chadack
Hello Sharley,

After implementing the changes you described I got the desired result!

When I put the server address in the address bar of a browser running on a different system, my wiki page comes up.

Now, I want to learn about account management for my wiki. How can I turn off the ability of anyone to edit pages?

For example how do I use the following configuration varible:
$wgSysopRangeBans = true; # Allow sysops to ban IP ranges

How do I log in as Sysop?

Thanks,
Greg

Re: xampp instead of mediawiki

PostPosted: 29. May 2009 06:43
by Sharley
Is this variable in the MediaWiki?

If so then the best place for help would be the MediaWiki web site - sorry I don't know anything about MediaWiki.