Seite 1 von 1
Multiple sites
Verfasst: Di 3. Feb 2009, 13:55
von kejpa
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
Verfasst: Di 3. Feb 2009, 14:49
von deemes
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
Verfasst: So 8. Feb 2009, 17:15
von kejpa
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
Verfasst: So 8. Feb 2009, 17:30
von deemes
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...
Verfasst: So 8. Feb 2009, 17:46
von kejpa
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
Verfasst: Mo 16. Mär 2009, 09:40
von yaem
and, did it work ?
Verfasst: Mo 16. Mär 2009, 09:55
von kejpa
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
Verfasst: Sa 21. Mär 2009, 22:24
von WBTMagnum
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
Re: Multiple sites
Verfasst: Do 14. Mai 2009, 12:06
von yaem
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
Re: Multiple sites
Verfasst: Do 14. Mai 2009, 17:45
von WBTMagnum
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