Thanks for your suggestion. Unfortunately this yielded a 500 internal
server error in my configuration.
A few things...I've found out that my server runs php as an apache
module so perhaps this should be taken into consideration. Also I
already have a line in my .htaccess file setting the RewriteEngine to On
as this command was necessary to get the permalinks working in
WordPress. I'm wondering if rewriting it for the Short URLs is redundant
or a mistake that is affecting the implementation of the Short URLs for
MediaWiki?
I have made eight or ten different changes to both the LocalSettings.php
and .htaccess. I have saved versions of some of these. I don't recall
the outcome of all the changes but it would be either what like what
happened above, I can't access my web site (
www.lauraogrady.ca), or I
can access the site but not the wiki (a 404) or I can access the site
and the wiki but the Short URLs are not working.
I think the best approach at this stage is to try to make changes based
on logic (what is known about my settings) rather than just trying
everything and anything.
Thank you for any assistance.
Laura
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of
clausvb.wikipedia(a)mailnull.com
Sent: September 7, 2009 8:32 AM
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [Mediawiki-l] Enabling Short URL problem (Laura O'Grady)
What happens, if you delete the following lines?
RewriteRule ^wiki/*$ /cbwiki/index.php [L,QSA]
RewriteRule ^/*$ /cbwiki/index.php [L,QSA]
It's working for me this way:
"LocalSettings.php"
$wgScriptPath = "/usr/cvb/mediawiki-1.15.1";
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;
".htaccess" in my DOCUMENT_ROOT (/opt/lampp/htdocs): RewriteEngine On
RewriteRule ^wiki/(.*)$ /usr/cvb/mediawiki-1.13.1/index.php?title=$1
[PT,L,QSA]
Best regards,
Claus
----------
This message was sent from a MailNull anti-spam account. You can get
your free account and take control over your email by visiting the
following URL.
http://mailnull.com/
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l