mediawiki and wampserver
Posted by: jrgaede (---.cpe.net.cable.rogers.com)
Date: December 14, 2007 04:03PM

I used WampServer to set up MediaWiki on my home computer, following instructions found here:
[lifehacker.com]

My question is, how can I get the wiki to be the default start page when accessed from the web? When I enter my computer's IP address from a remote location, it goes to the wampserver page (localhost) but I would like it to go the the wiki instead...

Any help would be greatly appreciated...

Thanks
James

Options: ReplyQuote
Re: mediawiki and wampserver
Posted by: yfastud (Moderator)
Date: December 14, 2007 05:56PM

The easiest way is setup vh w/ mediawiki on the top before every other vh. If you're not sure how to setup vh, here is the simplest way:

Open file httpd.conf in C:\wamp\bin\apache\apache2.2.6\conf and find these lines:

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

Uncomment the second line to become:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

Then open httpd-vhosts.conf in C:\wamp\bin\apache\apache2.2.6\conf\extra and replace those 2 dummy vh as follows:

<VirtualHost *:80>
ServerName mywikipedia
DocumentRoot c:/wamp/www/mywikipedia
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp/www
</VirtualHost>


Restart your wamp to take effect

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: mediawiki and wampserver
Posted by: jrgaede (---.cpe.net.cable.rogers.com)
Date: December 14, 2007 08:12PM

Great thanks for the help - it almost worked, but now when i try to access it it read 'not found - the requested URL /mywikipedia/index.php/Main_Page was not found on the server' How can i fix this?

Thanks
James

Options: ReplyQuote
Re: mediawiki and wampserver
Posted by: yfastud (Moderator)
Date: December 14, 2007 10:23PM

You have to access it through localhost as follows:

[localhost]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: mediawiki and wampserver
Posted by: jrgaede (---)
Date: December 16, 2007 03:33PM

I don't understand - I'd like for internet requests for my ip in general to redirect to the wiki page without having to input a special url. Also, for reference, my project is called wikademy. Eventually, I'd like to associate it with the domain I purchased through Google apps for my domain (wikademy.org) but i'm not sure on that either....

Your assistance is greatly appreciated, though...

James

Options: ReplyQuote
Re: mediawiki and wampserver
Posted by: yfastud (Moderator)
Date: December 16, 2007 03:43PM

Oh, I mean for local, you wil access as above, and for external, access as follows:

[your_web_ip]

Use this to find out your web ip:

[whereismyip.com]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: mediawiki and wampserver
Posted by: jrgaede (---)
Date: December 16, 2007 05:28PM

so is there no way for me to arrange the wiki page to show up if somebody types in only my ip address, they need to type in ipaddress/wikademy? i'm behind a router, however, this is not a problem because i forwarded the appropriate port to the appropriate local ip address. Unfortunately, i'm not at home right now, so I cant test these solutions...

Thanks again
James

Options: ReplyQuote
Re: mediawiki and wampserver
Posted by: yfastud (Moderator)
Date: December 17, 2007 02:55AM

If you setup vh as I suggested, you should go straight to your wiki when access through web ip w/o typing that wiki folder; however, if you pay attention, it still go through that folder for lower sub folder access depends on where the users go through

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.