All,
I am trying to setup a wiki using mediawiki on a web server working off port 8080. I go through the install script and when I submit the information, I never get confirmation that install confirmed, just a blank page and the browser reporting "done". No LocalSettings.php file is created. I then run the script again and get the same blank page but the LocalSettings.php is there. So, I copy it to the base directory and try browsing to the wiki at http://www2.sweetwtaersea.com:8080/brownspedia/ and get a response error.
If I set my Apache to listen to port 80, and do the same install, everything works fine. I've tried manually adding :8080 to the wgScriptpath ($wgScritPath = :8080/brownspedia) and I get some funky results if it works at all.
Any ideas on how I can get mediawiki to work using port 8080 on my Apache server?
Thanks,
Steve
On Dec 7, 2004, at 5:59 AM, Steve Holly wrote:
Any ideas on how I can get mediawiki to work using port 8080 on my Apache server?
It's always worked fine for me when I've tested it. Can you please provide more detail? The complete output from the installer script would be a start. If you could provide the actual address it sends you to that fails, that would be very helpful. (Check the HTTP headers. Use Mozilla with the 'Live HTTP headers' extension if you can't find it obviously.) Check what value of $wgServer is produced by DefaultSettings.php. ($wgServer is the variable which should contain the full protocol, hostname, and port.)
-- brion vibber (brion @ pobox.com)
On Dec 7, 2004, at 5:59 AM, Steve Holly wrote:
Any ideas on how I can get mediawiki to work using port 8080 on my Apache server?
It's always worked fine for me when I've tested it. Can you please provide more detail? The complete output from the installer script would be a start. If you could provide the actual address it sends you to that fails, that would be very helpful. (Check the HTTP headers. Use Mozilla with the 'Live HTTP headers' extension if you can't find it obviously.) Check what value of $wgServer is produced by DefaultSettings.php. ($wgServer is the variable which should contain the full protocol, hostname, and port.)
-- brion vibber (brion @ pobox.com)
Brion,
Thanks for pointing me in the right direction. I did look at the headers and when I was trying to access http://www2.sweetwatersea.com:8080/brownspedia, I was getting a 301 perm moved response and it was pointing me to http://www2.sweetwatersea.com/brownspedia.
I did some googling and from what I found, I just added a $wgServer line to the LocalSettings.php (none there from the install) that has the correct address and it works now.
Cheers,
Steve
mediawiki-l@lists.wikimedia.org