Hello Wilinckx,
Here are my responses to your questions:
Q.the kind of URL you'd like to have
- I would like to have url look like how it is in
en.wikipedia.org ie
en.wikipedia.org/Unix etc etc..
Q. the URL's MediaWiki links to when he links to an Article
Also please note, I am unable to login or do anything at all once I
try to make non ugly urls.
- Currently the links look like this
http://wiki/wiki/index.php?title=FEC if the changes do work I would
anticipate they look like
http://wiki/wiki/FEC
Q. the URL MediaWiki says in it's HTML output the MonoBook CSS files
should be found
- Here's the entry in the html output that you are asking for.
<style type="text/css"
media="screen,projection">/*<![CDATA[*/
@import "/wiki/skins/monobook/main.css"; /*]]>*/</style>
Q. the name of the directory MediaWiki is installed in
- Mediawiki is installed in /opt/local/htdocs/wiki
Q. the part of LocalSettings.php containing $wgScriptPath, $wgStylePath , etc
- Settings from Localsettings.php are as follows.
$wgScriptPath = "/wiki";
$wgStylePath = "$wgScriptPath/skins";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
Q. and the mod-rewrite rules you've setup in httpd.conf ?
- The .htaccess in /opt/local/htdocs/wiki/ contains the following entries.
-----------------------------
# close the php security hole...
# not actually needed but probably a good idea anyway
php_flag register_globals off
# first, enable the processing - Unless your ISP has it enabled
# already. That might cause weird errors.
RewriteEngine on
# uncomment this rule if you want Apache to redirect from
www.mysite.com/ to
#
www.mysite.com/wiki/Main_Page
RewriteRule ^/$ /wiki/Main_Page [R]
# do the rewrite
RewriteRule ^wiki/?(.*)$ /w/index.php?title=$1 [L,QSA]
-----------------------------
The httpd.conf has the following entries in the very end.
## Wiki Settings
Alias /wiki /opt/local/htdocs/wiki/index.php
Alias /index.php /opt/local/htdocs/wiki/index.php
RewriteEngine on
RewriteLog "logs/rewrite.log"
RewriteLogLevel 5