Greetings All, I'm having a problem with logging in at preservationready.org. Hopefully something simple, but I'm not quite sure where to start. I suspect something in the url rewrite, but am not very competent at .htaccess.
I greatly appreciate in advance any helpful advice. Kevin Hayes Buffalo, New York USA ----------------------------------------------------- Problem: At http://preservationready.org, on page http://preservationready.org/Main/Credits When I press the Edit tab, I go to this url (note the // after .org): http://preservationready.org//Main/Credits?action=edit This produces, after login attempt (pressing Go after username/password), this url: http://main/Credits?action=edit and the browser error message "This webpage is not available. Unable to look up main." I can work around by removing the extra / and pressing the Go button. I occasionally have seen the // in urls on this site but it hasn't caused a known problem up to now. ----------------------------------------------------- ----------------------------------------------------- Site info: http://preservationready.org/phpinfo.php http://preservationready.org/?action=diag Currently running PmWiki 2002045 and PHP 5.3.5 ----------------------------------------------------- .htaccess: # Use mod_rewrite to enable "Clean URLs" for a PmWiki installation. RewriteEngine On # Send requests without parameters to pmwiki.php. RewriteRule ^$ pmwiki.php [L] # Send requests for index.php to pmwiki.php. RewriteRule ^index\.php$ pmwiki.php [L] # Send requests to pmwiki.php, appending the query string part. RewriteRule ^([A-Z0-9\xa0-\xff].*)$ pmwiki.php?n=$1 [QSA,L] ----------------------------------------------------- config.php: <?php if (!defined('PmWiki')) exit(); ## Configuration file for preservationready.org ## User Authentication include_once("$FarmD/scripts/authuser.php"); $DefaultPasswords['edit'] = array('@editors'); $DefaultPasswords['admin'] = array('@admins'); $DefaultPasswords['upload'] = array('@editors'); ## End User Authentication ## Basic Settings $WikiTitle = "Preservation-Ready Sites Buffalo"; $PageLogoUrl = "$PubDirUrl/skins/monobook/Logo30.gif"; $ScriptUrl = 'http://preservationready.org/'; $PubDirUrl = 'http://preservationready.org/pub'; include_once("$FarmD/cookbook/detectmobilebrowsers.php"); if(detect_mobile_device()) { $Skin = 'mobile'; } else { $Skin = 'monobook'; } $EnablePathInfo = 1; include_once("$FarmD/cookbook/analyze.php"); $AnalyzeKey = "PRS001"; $EnableUpload = 1; $EnableDiag = 1; ##$EnableStopWatch = 1; ##$HTMLFooterFmt['stopwatch'] = 'function:StopWatchHTML 1'; $UploadMaxSize = 2000000; $UploadExtSize['pdf'] = 5000000; # limit .pdf files to 3MN $UploadPrefixFmt = ''; $DefaultName="Home"; date_default_timezone_set('America/New_York'); # $TimeFmt = '%B %d, %Y, at %I:%M %p EST'; $TimeFmt = '%Y-%m-%d'; $EnableDisambiguation = 2; $GmaKey = 'AIzaSyDMMcnWBbDDriJxrW_J0GElPnfdbWkSq1w'; $AutoCreate['/^Category\./'] = array('ctime' => $Now, 'text' => $page['text']); $EnableDirectDownload = 0; $FoxAuth = 'edit'; $EditTemplatesFmt = '{$Group}.Template'; $EnableEMailFormSecurity = true; $EMailFormAddresses['KH'] = '[email protected]'; $EMailFormDefaultSender = '[email protected]'; $EnableEMailFormUTF8 = false; $EMailFormHeader="{$Name}"; $EnableGUIButtons = 1; $EnableRedirectQuiet=1; # add page variable {$PageCreationDate} in format yyyy-mm-dd # $FmtPV['$PageCreationDate'] = 'strftime("%Y-%m-%d", $page["ctime"])'; # $FmtPV['$PageCreationDate'] = "strftime(\$GLOBALS['TimeFmt'], \$page['ctime'])"; if (!CondAuth($pagename,'edit')) $EnablePostCaptchaRequired = 1; $PmForm['maildemo'] = '[email protected] form=#mailform fmt=#mailpost'; $GUIButtons['sig'] = array(460, '----\\n~~~:\\\\\\\\\n', '\\n ~~~~\\n\\n', '', '$GUIButtonDirUrlFmt/sig.gif"$[Stamp your name and current date]"'); # add page variable {$PageCreationDate} in format yyyy-mm-dd $FmtPV['$PageCreationDate'] = 'strftime("%Y-%m-%d", $page["ctime"])'; $EnableDrafts = 1; # End Basic Settings ## Includes include_once("$FarmD/cookbook/IfMatchString.php"); include_once("$FarmD/cookbook/ddmu.php"); include_once("$FarmD/cookbook/IfInText.php"); include_once("$FarmD/cookbook/emailform.php"); include_once("$FarmD/cookbook/newpageboxplus.php"); include_once("$FarmD/cookbook/mediacat-2.0.php"); include_once("$FarmD/cookbook/linktitles2.php"); include_once("$FarmD/cookbook/abchoverindex.php"); include_once("$FarmD/cookbook/pmform.php"); ## Activate the RenamePage recipe. if ($action == 'rename' || $action == 'postrename' || $action == 'links' ) { include_once("$FarmD/cookbook/renamehelper.php"); include_once("$FarmD/cookbook/rename.php"); } # Enable HTML caching in work.d/ $PageCacheDir = 'work.d/'; $PageListCacheDir = 'work.d/'; $EnableIMSCaching = 1; ## End Includes ## end of file ## ----------------------------------------------------- -----------------------------------------------------
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
