That worked! But now I have a new (minor) problem. My theme graphics break when I view tag lists.
This is because in order to mirror the site I changed the images sources from absolute URLs to relative URLs, and the tag lists are listed as localhost/DJ/tag/example-tag so my theme image relative paths are looking in DJ/tag/system/... rather than DJ/system/... and therefore failing. Can I have relative paths and still get /tag/ lists to display images properly, or is this a trade-off for a local mirror? Everything else seems to be working well... Thank you, - A On Wed, Dec 14, 2011 at 9:21 AM, Colin Krisko <[email protected]>wrote: > ** > Second try > RewriteBase / > To > RewriteBase /DJ > > Sent from my BlackBerry! > ------------------------------ > *From: * Andrew Heath <[email protected]> > *Sender: * [email protected] > *Date: *Wed, 14 Dec 2011 08:39:43 +0800 > *To: *Habari Dev<[email protected]> > *ReplyTo: * [email protected] > *Subject: *[habari-dev] trouble mirroring a live install on a dev machine > > Hi everyone, > > I've got a live Habari 0.7-rc2 that I want to upgrade to 0.8, but would > very much prefer to first mirror it on a test machine and run through the > upgrade process a time or two as practice, particularly because I'm certain > the theme needs tweaking. > > I downloaded the MySQL database and all of the blog files. I changed the > localhost database username and password in config.php and the main page > loads fine. But none of the links work. I get * > > 404:* *The requested URL /index.php was not found on this server.* > > errors no matter which link I try (posts, tags, etc.). > > Because the main page loads, but nothing else, I'm guessing this is > a*mod_rewrite > * issue. My habari root directory *.htaccess* file reads thus: > > ### HABARI START > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_URI} !=/favicon.ico > RewriteBase / > RewriteRule . index.php [PT] > RewriteRule ^(system/(classes|locale|schema|$)) index.php [PT] > ### HABARI END > > The virtual path for my installation is* localhost/DJ/* > > The real path is *C:\Heath\WEBSITES\DJ\* > > Unfortunately, this is the extent of my abilities. > > Thank you for your help! > > - Andrew > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-dev > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-dev > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev
