LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-04-2012, 12:08 PM   #1
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Apache Web Routing "Front End" Does Not Route Correctly To WikiMedia Installation


I apologize that this question is a little vague. The question is really about how Apache returns URLs to a browser or an intermediate Apache server.

Problem Description:
--------------------\

If I route to my MediaWiki installation directly http://MyWikiServer:900020, everything works fine.

However, I want another Apache server -- that serves as a "web router" to act as an internet front end to the wiki. This works for quite a few of our applications, but two things are happening with the Wiki which I don't understand.

1) The wiki's graphics are not being displayed correctly, and

2) Routes past the first page, which does display in text form, do not work; that is the links cannot be found.

Question:
---------

What settings do I need to change -- and I'm assuming it's on the Wiki's server -- to return full URLs?

Thank you for your thoughts.
 
Old 01-04-2012, 01:22 PM   #2
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware, Salix
Posts: 237

Rep: Reputation: 59
I have a related issue with a DokuWiki installation. Since I installed it locally and configured all the url's to "localhost" instead of the network name, nothing but the front page is accessible on any other machines. I think you'll have to reconfigure the WikiMedia installation through your proxy machine to change the urls.
 
1 members found this post helpful.
Old 01-04-2012, 01:32 PM   #3
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
This sounds right

I'll go try this.
Nothing's on the Wiki yet, so I can blast it away and reinstall it.

Edit:
There must be more to the reconfiguring this. I changed to the external server name, but got the same result.
End Edit

Quote:
Originally Posted by JimBrewster View Post
I have a related issue with a DokuWiki installation. Since I installed it locally and configured all the url's to "localhost" instead of the network name, nothing but the front page is accessible on any other machines. I think you'll have to reconfigure the WikiMedia installation through your proxy machine to change the urls.

Last edited by cmnorton; 01-04-2012 at 01:43 PM. Reason: Add more information...
 
Old 01-05-2012, 12:42 PM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,881

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
You didn't give much details, but I guess you're trying to run the wiki server behind an apache reverse proxy.
If that's the case, take a look here for instructions
 
1 members found this post helpful.
Old 01-05-2012, 01:19 PM   #5
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
It is a proxy

Quote:
Originally Posted by bathory View Post
You didn't give much details, but I guess you're trying to run the wiki server behind an apache reverse proxy.
If that's the case, take a look here for instructions
Thanks for your reply. Basically, I performed almost no configuration of the Wiki other than a straight installation.

After looking at the logs on the proxy, it appears I'm going to have to write or have written a Perl remapper, which we have to do for a donation application.

The proxy is the one complaining, and rightfully so, because it's dealing with local directory information for things like skins.

Edit:
------
After looking at your link, this appears to be exactly what I was looking for. I'll get back to this post after moving ahead with this information. Thanks.

Last edited by cmnorton; 01-05-2012 at 01:22 PM. Reason: Add information
 
  


Reply

Tags
apache, mediawiki, php, url


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"ip route flush table main" doesn't work correctly from rc.local? gleemer Linux - Networking 0 08-17-2011 05:03 PM
Routing problem is reporting this error "Unable to find default route interface name" vsanandan Linux - Networking 1 03-29-2009 11:44 AM
shorewall routing issue: "no route to host" from dmz spargonaut Linux - Networking 0 06-07-2007 10:09 AM
Is there a "working" GUI Front End for LVM +? tuxfriend2 Linux - Software 2 06-17-2005 09:29 AM
can you help me with install a front end "dc_qt" SlackwareMan Linux - Software 1 08-01-2004 12:25 PM


All times are GMT -5. The time now is 06:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration