Multiple sites

kejpa

Multiple sites

Beitragvon kejpa » Di 3. Feb 2009, 13:55

Hi,
I host my own sites and I's like to use Webedition for serving some webistes of my interests (swimming, boating, etc) is it possible?

TIA
/Kjell

deemes

Beitragvon deemes » Di 3. Feb 2009, 14:49

Hello Kjell,

if you're looking for a CMS to manage the contents of your websites, webEdition might be what you're looking for. Though, it won't help you to manage multiple domains or anything like Confixx, it's a pure CMS.

To be honest, webEdition might not be the first choice for you. There is no english documentation for webEdition6.

Regards,
Daniel

kejpa

Beitragvon kejpa » So 8. Feb 2009, 17:15

Hi all!
deemes;50859 hat geschrieben:if you're looking for a CMS to manage the contents of your websites, webEdition might be what you're looking for. Though, it won't help you to manage multiple domains or anything like Confixx, it's a pure CMS.
No, I don't want to manage multiple domains like Confixx, but it seems like a waste of drive space to have multiple installations of webEdition just because I happen to have a couple of differrent site in the same computer.

Regards
/Kjell

deemes

Beitragvon deemes » So 8. Feb 2009, 17:30

Sorry, my mistake, I didn't get you in the first place.

The only chance I can think of is to work with mod_rewrite to redirect your multiple domains into subdirectorys of your WE-installation. Though, no guarantee, never tried this.

Allways keep in mind there has to be the webEdition folder inside the DOCUMENT_ROOT of the domain. Maybe you could work with symlinks (ln -s) as well.

webEdition itself isn't made for multiple sites. But that's ok I think. It keeps you from mixing Document-Types, Templates, Categories, Content...

kejpa

Beitragvon kejpa » So 8. Feb 2009, 17:46

deemes;50914 hat geschrieben:Sorry, my mistake, I didn't get you in the first place.

The only chance I can think of is to work with mod_rewrite to redirect your multiple domains into subdirectorys of your WE-installation. Though, no guarantee, never tried this.

Allways keep in mind there has to be the webEdition folder inside the DOCUMENT_ROOT of the domain. Maybe you could work with symlinks (ln -s) as well.

webEdition itself isn't made for multiple sites. But that's ok I think. It keeps you from mixing Document-Types, Templates, Categories, Content...
That might work, installing webEdition in the root directory and then having VirtualHosts as subdir's... I'll give it a try :)

Thanks!
/Kjell

yaem
Member
Beiträge: 96
Registriert: Mi 26. Nov 2008, 12:24

Beitragvon yaem » Mo 16. Mär 2009, 09:40

and, did it work ?

kejpa

Beitragvon kejpa » Mo 16. Mär 2009, 09:55

Don't know, I haven't had time to give it a serious try.

There's a couple of isues I have to try...
- does it work with multiple users only accessing their own dirs
- can I have different themes in different dirs
- how do you have different templates for different dirs

There's been more urgent things to attend to re the new server :(

SeaU
/Kjell

WBTMagnum
webEdition Partner
webEdition Partner
Beiträge: 1825
Registriert: Di 7. Mär 2006, 16:50
Wohnort: Wien
Kontaktdaten:

Beitragvon WBTMagnum » Sa 21. Mär 2009, 22:24

Hi Kjell,

Yes it is possible. We did a multi-site setup for a client of us a few months ago. The trick is to separate the information for the domains in different file and navigation directories.

We used the following rewrite rules (mod_rewrite) to detect the domains and redirect the request into the corresponding directory:

Code: Alles auswählen

RewriteCond %{HTTP_HOST}   ^(www.)?domain1..*
RewriteCond %{REQUEST_URI} !domain1/
RewriteCond %{REQUEST_URI} !webEdition/
RewriteCond %{REQUEST_URI} !__we_thumbs__/
RewriteRule ^(.*)$         http://%{HTTP_HOST}/domain1/$1 [L,R] 
... 
The downside with this solution is, that you'll get URLs of the following form:
* http://www.domain1.com/domain1/
* http://www.domain2.com/domain2/


Since the basic template was the same on all websites, we used a settings template where we defined the required variables (e.g. favIconID, logoID, ...) for each domain using the following switch:

Code: Alles auswählen

<we:ifVar type="session" name="workspace" match="/domain1">....</we:ifVar>
We did play around with access restrictions for editors since all domains are handled by the same people.


HTH,
Sascha

yaem
Member
Beiträge: 96
Registriert: Mi 26. Nov 2008, 12:24

Re: Multiple sites

Beitragvon yaem » Do 14. Mai 2009, 12:06

and if i want to use more domains in use

RewriteEngine On

RewriteBase /

RewriteCond %{HTTP_HOST} ^(www.)?domain1..*
RewriteCond %{REQUEST_URI} !domain1/
RewriteCond %{REQUEST_URI} !webEdition/
RewriteCond %{REQUEST_URI} !__we_thumbs__/
RewriteRule ^(.*)$ http://%{HTTP_HOST}/domain1/$1 [L,R]

RewriteCond %{HTTP_HOST} ^(www.)?domain2..*
RewriteCond %{REQUEST_URI} !domain2/
RewriteCond %{REQUEST_URI} !webEdition/
RewriteCond %{REQUEST_URI} !__we_thumbs__/
RewriteRule ^(.*)$ http://%{HTTP_HOST}/domain2/$1 [L,R]

RewriteCond %{HTTP_HOST} ^(www.)?domain3..*
RewriteCond %{REQUEST_URI} !domain3/
RewriteCond %{REQUEST_URI} !webEdition/
RewriteCond %{REQUEST_URI} !__we_thumbs__/
RewriteRule ^(.*)$ http://%{HTTP_HOST}/domain3/$1 [L,R]

i tried and at the second domain i couldn't use the webEdition.


thanks

yaem

WBTMagnum
webEdition Partner
webEdition Partner
Beiträge: 1825
Registriert: Di 7. Mär 2006, 16:50
Wohnort: Wien
Kontaktdaten:

Re: Multiple sites

Beitragvon WBTMagnum » Do 14. Mai 2009, 17:45

hi yaem,

i just did a quick test with one of our hosts and had no problems to access webEdition on a secondary domain.

what happens, when you try to access webEdition from a secondary domain?


best regards,
sascha


Zurück zu „Installation and update“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste