Talk:Apache configuration/LQT Archive 1

The page mentions:

" if in LocalSettings your $wgScript is '/w/wiki.phtml' "

by LocalSettings are you refering to the LocalSettings.php file?

I looked in this file and could find reference to the $wgScript variable, but not where it was defined.

[root@localhost phase3]# grep -e wgScript * install.php:print "Done.\nBrowse \"{$wgServer}{$wgScript}\" to test,\n". install.php.~1.8.~:print "Done.\nBrowse \"{$wgServer}{$wgScript}\" to test,\n" .LocalSettings.php:$wgArticlePath     = "{$wgScript}?title=$1"; LocalSettings.php~:$wgArticlePath     = "{$wgScript}?title=$1"; LocalSettings.sample:$wgArticlePath     = "{$wgScript}?title=$1"; texvc.phtml:print "" [root@localhost phase3]#

Is there something missing? There is not a version number on the page but it was downloaded in the mediawiki-20030829 tar file from sourceforge


 * LocalSettings.php contains only settings that you have defined. Initial and default settings are made in DefaultSettings.php, which you'll find in the includes/ subdirectory in the tarball. Overrride anything that won't be right in your LocalSettings.php. --Brion VIBBER 04:55, 21 Oct 2003 (UTC)

Versions
Am I correct in assuming that we use Apache 1.3 ?? GerardM 08:53, 26 Jun 2004 (UTC)

I'm totally new to wiki but am trying to install a trial wiki on my machine - win xp - running apache 1.3.31 / php 4.3.7 / mysql 4.0.18-nt. I tried the web-based install and everything appeared to go fine, moved localsettings and deleted /config.

But all I get on visiting my url: localhost/wiki is a "Page cannot be displayed" error. I have a stong hunch that this is because of a badly configured apache server. Does anyone have a good config that they would be willing to share?

Or any other ideas?

All help appreciated! Thank you!

Simon

dus dat

PHP as cgi
Can wikimedia (1.3.7) be installed on suPHP running as cgi. I'm asking bec. I'm trying to install it on lunarpages and something is giving me problems - the system is unresponsive after installation - something hangs the system/script/what ever. Running the installation works fine though - the only problem is that the installation script says that I will get ugly URLs bec. PHP is set to run as cgi. --Stenbh 11:49, 24 Oct 2004 (UTC)

Rewrite Rules
Rewrite Rules provides a much more complete coverage of that topic than what is given here. I personally was struggling some with the content here until I finally discovered that the other page exists (the only reference to it on this page is on the sidebar, rather than in the text where some users might expect to find it). Rather than having the same information in two places -- with one of those places being much less complete -- why not remove the duplicate content here and defer people to the other page? If not, then at least include a reference to the other page "for more info" or something. (I don't feel comfortable as a new user making these changes to core documentation myself, especially on a topic I'm not too knowledgeable on.) Zawersh 22:13, 8 Dec 2004 (UTC)