Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-09-10 18:35:18

dquirk
Member
Registered: 2005-10-22
Posts: 12

testing multi-site support on localhost (Windows XP)

I’m testing 4.2.0’s support for multiple sites locally (on Windows XP) with an eye toward implementing it on Joyent.

I think I’ve followed the instructions in README.txt to the letter, but ran into a couple of glitches.

Diagnostics initially said that .htacess was not found, but it is found when I move it to sites/site1/public. Should this be necessary, or should Textpattern be able to find it in the top-level directory (where it initially resided)?

Also, when I at first went to http://admin.mysite.com, there was no styling. The relevant html reads as follows:
<link href=“theme/classic/textpattern.css” rel=“stylesheet” type=“text/css” />.
So, I copied the theme directory structure and files to sites/site1/admin, and http://admin.mysite.com now has styling.

Does my need to make these modifications indicate something amiss with my multi-site setup?

Thanks,

Doug

Offline

#2 2009-09-10 19:35:54

artagesw
Member
From: Seattle, WA
Registered: 2007-04-29
Posts: 227
Website

Re: testing multi-site support on localhost (Windows XP)

You do need a .htaccess file in site1/public/. This was inadvertently left out of the release, but my script takes care of it.

Not sure about the styling issue. There should be a symlink to the themes directory, but perhaps the symlinks in the distribution don’t work on Windows. I don’t do Windows, and the multi-site feature is only tested on Unix-based OS’s as far as I know.

Offline

#3 2009-09-11 06:36:00

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: testing multi-site support on localhost (Windows XP)

No, the symlinks won’t work in Win. You would have to create your own, either with the help of Junction on older Windows versions, or Vista’s/WIN2K8’s built-in mklink.

Offline

Board footer

Powered by FluxBB