Hi
I'm trying to get MediaWiki running on a Fedora 1 i686 box with
Fedora PHP 4.3.4, Fedore Apache 2.0.48 and MySQL 4.0.17 from
www.mysql.com.
At the moment I'm installing one site but if it goes well I might
want to install others on the same server.
I'm getting confused with the directories and the suggested
httpd.conf.
In LocalSettings.pm I have this:
$IP = "/var/www/wiki/wiki";
$wgServer = "http://wiki.example.com";
$wgScriptPath = "/wiki";
$wgArticlePath = "{$wgScript}?title=$1";
For httpd.conf I have (style and upload dirs left out to make it
shorter):
<VirtualHost *:80>
ServerName wiki.example.com
DocumentRoot "/var/www/wiki"
AddType application/x-httpd-php .php .php4 .phtml
AddType application/x-httpd-php-source .phps
php_admin_flag engine off
<Directory "/var/www/wiki/wiki">
DirectoryIndex wiki.phtml
php_admin_flag engine on
AllowOverride None
order allow,deny
allow from all
</Directory>
</VirtualHost>
This basically works but at / there is the default Fedora page that
is served when there is no index.html
I did try getting it installed in /var/www/wiki rather than
/var/www/wiki/wiki but that didn't work, I've also not got any
mod-rewrite rules working (I have tried to get them working but with
no luck).
I'd like a directory / httpd.conf /mod_rewrite setup that would
seperate off the code that is repeated for multiple sites from the
site specific stuff and I'd like URIs that are as short as possible
(I guess /w/ and /wiki/ can't be left out?).
Do people use a ScriptAlias for /w/ or something?
Does anyone have a setup that that they could post as an example (I
have spent some time in this list archives and on the web site but
couldn't find any answers...)?
One other thing, what is the difference between these two, is the
$wgDBsqlpassword variable the MySQL root password (that is what I'm
using but I don't understand why I'm also prompted for it when I run
install.php):
$wgDBpassword = "";
$wgDBsqlpassword = "";
Thanks
Chris
--
Chris Croome <chris@webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
I'm trying to get MediaWiki running on a Fedora 1 i686 box with
Fedora PHP 4.3.4, Fedore Apache 2.0.48 and MySQL 4.0.17 from
www.mysql.com.
At the moment I'm installing one site but if it goes well I might
want to install others on the same server.
I'm getting confused with the directories and the suggested
httpd.conf.
In LocalSettings.pm I have this:
$IP = "/var/www/wiki/wiki";
$wgServer = "http://wiki.example.com";
$wgScriptPath = "/wiki";
$wgArticlePath = "{$wgScript}?title=$1";
For httpd.conf I have (style and upload dirs left out to make it
shorter):
<VirtualHost *:80>
ServerName wiki.example.com
DocumentRoot "/var/www/wiki"
AddType application/x-httpd-php .php .php4 .phtml
AddType application/x-httpd-php-source .phps
php_admin_flag engine off
<Directory "/var/www/wiki/wiki">
DirectoryIndex wiki.phtml
php_admin_flag engine on
AllowOverride None
order allow,deny
allow from all
</Directory>
</VirtualHost>
This basically works but at / there is the default Fedora page that
is served when there is no index.html
I did try getting it installed in /var/www/wiki rather than
/var/www/wiki/wiki but that didn't work, I've also not got any
mod-rewrite rules working (I have tried to get them working but with
no luck).
I'd like a directory / httpd.conf /mod_rewrite setup that would
seperate off the code that is repeated for multiple sites from the
site specific stuff and I'd like URIs that are as short as possible
(I guess /w/ and /wiki/ can't be left out?).
Do people use a ScriptAlias for /w/ or something?
Does anyone have a setup that that they could post as an example (I
have spent some time in this list archives and on the web site but
couldn't find any answers...)?
One other thing, what is the difference between these two, is the
$wgDBsqlpassword variable the MySQL root password (that is what I'm
using but I don't understand why I'm also prompted for it when I run
install.php):
$wgDBpassword = "";
$wgDBsqlpassword = "";
Thanks
Chris
--
Chris Croome <chris@webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/