(3)What is the script uri path used for?
It's the base path to all URLs pointing to the main script and other
resources (images, CSS, JS, etc).
[snip]
* Script URI path:
[snip]
Looks fine so far. What happens after this?
Once I enter the relevent information, and move LocalSettings.php to my web
root I end up with a working install. I think I was confused why my script
URI path was empty, and felt that I needed to add a ScriptAlias in
httpd.conf under my virtual host stanza to point to some cgi-bin dir (see
my virtual host stanza below).
It may be useful to provide examples of virtual host stanzas in the install
documents. I think many users setting up their own mediawiki sites would
find this informative. I have read:
http://meta.wikimedia.org/wiki/Documentation:Installation
http://meta.wikimedia.org/wiki/Installation
http://meta.wikimedia.org/wiki/Running_MediaWiki_on_FreeBSD
http://meta.wikimedia.org/wiki/Apache_config
but didnt find any info on how to set up a virtual host (for mediawiki).
Although I think I have sucessfully set up a virtual host for mediawiki, Im
a novice when it comes to web server configuration and a brand new user of
mediawiki and am still a bit unsure if my stanza is correct.
Below is my virtual host stanza, feel free to comment:
Anything I should remove or change? I would be happy to contribute to the
documentation on this topic.
#
mediawiki.silibug.com Virtual Host ###
<VirtualHost *:80>
ServerAdmin razi(a)mydomain.com
DocumentRoot "/usr/local/www/mediawiki"
ServerName mediawiki.mydomain.com:80
ErrorLog "|/usr/local/sbin/rotatelogs
/var/log/mediawiki.mydomain.com-error.log.%Y-%m-%d 86400"
CustomLog "|/usr/local/sbin/rotatelogs
/var/log/mediawiki.mydomain.com-access.log.%Y-%m-%d 86400" combined
ScriptAlias /cgi-bin "/usr/local/www/mediawiki/cgi-bin/"
Alias /mediawiki "/usr/local/www/mediawiki/"
<Directory "/usr/local/www/mediawiki/cgi-bin">
Options +ExecCGI
SetHandler cgi-script
Allow from all
SetEnv USER "www"
</Directory>
<Directory "/usr/local/www/mediawiki/docs/">
Options FollowSymLinks +Includes
AllowOverride None
Allow from all
</Directory>
</VirtualHost>
=====
// Razi Khaja,
zybria.com, Toronto, Canada