homepage Welcome to WebmasterWorld Guest from 54.205.106.111
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Help with Apache changing default site location
Help with Apache changing default site location
Rickinfl




msg:4549711
 5:33 am on Feb 28, 2013 (gmt 0)

Hi,

I'm running Apache 2 on CentOS 6.3. The default Apache page comes up when I go to my address. But I've installed MediaWiki and it installed into a folder mediawiki in WWW. So to access it I have to go http : //xx.xx.xx.xx/mediawiki

What I want to do is make mediawiki my default site and I've tried everything and nothing seems to work. Does anyone know a way I can make this happen?

Also I am running Webmin that has the Apache plugin so I can edit it either way.

Thanks,
Rick

 

lucy24




msg:4549728
 5:50 am on Feb 28, 2013 (gmt 0)

So to access it I have to go http : //xx.xx.xx.xx/mediawiki

Does xx.xx mean your IP address, your domain name or both?

I've tried everything and nothing seems to work.

Awright, come clean. Tell us exactly what you've tried and what happened when you tried it. The "seems to" sounds a bit ominous. It implies that you don't think it worked... but it may have had some side effect that you didn't notice.

When you say "default site" do you mean that when users ask for www.example.com they should be taken straight to the mediawiki directory? All users, all the time, including you?

Rickinfl




msg:4549731
 5:59 am on Feb 28, 2013 (gmt 0)

Hi, Yes www.example.com/mediawiki

right now www.example.com takes me to the Apache default info page. I don't want to use www.example.com/mediawiki

Rickinfl




msg:4549732
 6:12 am on Feb 28, 2013 (gmt 0)

xx means both.

What I've tried is moving the files which of course didn't work into the www folder and the html folder. I'm guessing I need to create a virtual host? I'm not sure what to do this is my first time using Apache. Basically I don't want to use www.example.com/mediawiki I want to just go to www.example to get to my mediawiki.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved