Out of curiosity I would be interested to know whether this configuration
allows you to have pages that include an ampersand?
E.g 'Hammer & Nail'
When I tried this (using httpd.conf) I was able to create the page but when
I tried to edit it I was taken to 'Hammer '. The ampersand broke the URL.
I seem to recall that the question mark symbol is problematic also.
Paul
On 9/2/07 8:24 PM, "Azurite" <azurite(a)seventh-star.net> wrote:
Thank you everyone for your help! I got it working--
short URLs *AND*
CSS! Here's what I have in the two necessary files:
LocalSettings.php:
$wgSitename = "WikiFic";
## If using PHP as a CGI module, use the ugly URLs
$wgScriptPath = "/wikific";
$wgScript = "$wgScriptPath/index.php";
$wgArticlePath = "$wgScriptPath/$1";
$wgRedirectScript = "$wgScriptPath/redirect.php";
$wgStylePath = "{$wgScriptPath}/skins";
$wgStyleDirectory = "$IP/skins";
$wgLogo = "$wgStylePath/common/images/wikific_logo.png";
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";
.htacess:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wikific/(.+)$ /wikific/index.php?title=$1 [L,QSA]
For anyone that has difficulty with this on their own webspace and wants
to follow similar directions, my install works as such:
* PHP as CGI module
* Wiki installed in its own subdomain/folder, wikific (which is in the
public_html), a folder on a shared host (NO ROOT ACCESS).
Once again, thanks to everyone with all their suggestions and helpful info!
-Azurite
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l