Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-05-16 12:52:02

George
New Member
Registered: 2010-05-12
Posts: 3

multisite setup

Need help for multisite setup!
my configuration:

textpattern 4.2.0
xampp 1.73 (zip-version)
win xp sp3

I tried everything, according to Textpattern Multi-Site Howto Author Sam Weiss (artagesw), but something must be wrong.
I edited:
hosts
config.php
httpd-vhosts.conf
etc.

Can somebody give me a hint.

Offline

#2 2010-05-16 17:31:29

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: multisite setup

George, thanks for re-posting in the appropriate forum :) I deleted your other post to avoid confusion.

Offline

#3 2010-05-16 23:28:14

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: multisite setup

I posted a couple of links here that might help.


Code is topiary

Offline

#4 2010-05-17 16:18:07

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: multisite setup

jsoo schrieb:

I posted a couple of links here that might help.

The link produce bad request:

Bad request. There are a few possibilities why: the link you followed is incorrect (check for typos), the topic/post has been deleted (it was spam), or you do not have have permission to view the topic (make sure you are logged in).

Offline

#5 2010-05-17 23:57:36

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: multisite setup

GugUser wrote:

The link produce bad request:

Try it again — it’s working now.


Code is topiary

Offline

#6 2010-05-18 09:15:31

George
New Member
Registered: 2010-05-12
Posts: 3

Re: multisite setup

Here is my httpd-vhosts.conf. It doesn’t work.
“Browse to admin.site1.dev/setup” isn’t possible.
But “http://localhost/textp.com/” is working.

NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1>
    ServerName localhost
    DocumentRoot "C:/xampp/htdocs"
</VirtualHost>

      <VirtualHost 127.0.0.1>
         ServerName site1.dev
         ServerAlias www.site1.dev
         DocumentRoot "C:/xampp/htdocs/textp.com/sites/site1/public"
         <Directory "C:/xampp/htdocs/textp.com/sites/">
            Options +FollowSymLinks
         </Directory>
      </VirtualHost>

      <VirtualHost 127.0.0.1>
         ServerName admin.site1.dev
         DocumentRoot "C:/xampp/htdocs/textp.com/sites/site1/admin"
         <Directory "C:/xampp/htdocs/textp.com/sites/">
            Options +FollowSymLinks
         </Directory>
      </VirtualHost>

Added bc. for better code display -Gocom

Last edited by Gocom (2010-05-18 09:59:08)

Offline

#7 2010-05-18 16:58:11

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

Re: multisite setup

I assume you have appropriate DNS entries or /etc/host entries (or equivalent). Can you ping “admin.site1.dev” successfully?

Offline

#8 2010-05-21 10:32:41

George
New Member
Registered: 2010-05-12
Posts: 3

Re: multisite setup

now »admin.site1.dev« is in my hosts file beside »site1.dev«

»admin.site1.dev« in the browser produces:

Warning: include(txpath/index.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\textp.com\sites\site1\admin\index.php on line 12

Warning: include() [function.include]: Failed opening ‘txpath/index.php’ for inclusion (include_path=’.;\xampp\php\PEAR’) in C:\xampp\htdocs\textp.com\sites\site1\admin\index.php on line 12

Offline

Board footer

Powered by FluxBB