I have rewrite working. It's great. Except....
The link at the top of the page isn't giving the "Special:Userlogin" link
that works...but rather appending it as a query string like so:
"Main_Page?title=Special:Userlogin&returnto=Main_Page"....and this link does
nothing. Reloads Main_Page...that's it.
.htaccess:
php_flag register_globals off
RewriteEngine on
RewriteRule ^$ /index.php [L]
RewriteCond %{REQUEST_URI} !^/(stylesheets|images|skins)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{QUERY_STRING} ^$ [OR] RewriteCond %{REQUEST_URI}
^/wiki/Special:Search
RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
LocalSettings.php:
$wgSitename = "Sitename";
$wgServer = "http://www.foo.org";
$wgScriptPath = "";
$wgScript = "$wgScriptPath";
$wgRedirectScript = "$wgScriptPath/redirect.php";
$wgArticlePath = "$wgScript/$1";
$wgStylePath = "$wgScriptPath/stylesheets";
$wgStyleDirectory = "$IP/stylesheets";
$wgLogo = "$wgStylePath/images/wiki.png";
$wgUploadPath = "/images";
$wgUploadDirectory = "$IP/images";
Any help?
Josh
The link at the top of the page isn't giving the "Special:Userlogin" link
that works...but rather appending it as a query string like so:
"Main_Page?title=Special:Userlogin&returnto=Main_Page"....and this link does
nothing. Reloads Main_Page...that's it.
.htaccess:
php_flag register_globals off
RewriteEngine on
RewriteRule ^$ /index.php [L]
RewriteCond %{REQUEST_URI} !^/(stylesheets|images|skins)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{QUERY_STRING} ^$ [OR] RewriteCond %{REQUEST_URI}
^/wiki/Special:Search
RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
LocalSettings.php:
$wgSitename = "Sitename";
$wgServer = "http://www.foo.org";
$wgScriptPath = "";
$wgScript = "$wgScriptPath";
$wgRedirectScript = "$wgScriptPath/redirect.php";
$wgArticlePath = "$wgScript/$1";
$wgStylePath = "$wgScriptPath/stylesheets";
$wgStyleDirectory = "$IP/stylesheets";
$wgLogo = "$wgStylePath/images/wiki.png";
$wgUploadPath = "/images";
$wgUploadDirectory = "$IP/images";
Any help?
Josh