Subdomains (without Symbolic Link) 14 Years ago
|
Karma: 0
|
Hi,
I wanted to confirm the setup requirements for my case.
So I have a server on which the Symbolic links are disabled. My master site resides in the public_html folder. I get to it by going to my domain.com address.
I want to create slave sites as subdomains. So far I understand that in my case the slave sites will "reside" in the same public_html folder and not in some subfolder of it. Is that correct?
Do I understand correctly that the subdomains (like slave1.domain.com) should point to the same public_html folder and multisites should determine which slave to load based on the url?
|
|
|
|
|
Re: Subdomains (without Symbolic Link) 14 Years ago
|
Karma: 54
|
YES, when the Symbolic Link is not allowed, you have to define the subdomain (or domain) in your HTTP Server with the same "document root" directory (here - your public_html).
Do not use HTTP Server redirection but really assign the document root directory corresponding to the subdomain.
If you are managing the apache configuration manually, this can be defined as a "ServerAlias". See user manual chapter 3.2.4.
|
|
|
|
|
Re: Subdomains (without Symbolic Link) 14 Years ago
|
Karma: 0
|
Thank you.
Ok, it seems I got to the slave installation page (where you have to choose the language). But it looks like it is missing any formatting and the "next" button is not visible. What could I have missed?
|
|
|
Last Edit: 2011/01/06 15:36 By priednis.
|
|
Re: Subdomains (without Symbolic Link) 14 Years ago
|
Karma: 54
|
You must check that the "/installation" directory is correctly restore.
Perhaps you have a partial installation directory without the CSS and all the stuff provided by Joomla.
|
|
|
|
|
Re: Subdomains (without Symbolic Link) 14 Years ago
|
Karma: 0
|
Hi, thanks for your support!
I enabled the developer tool->Resources tracking in Chrome and discovered that I get forbidden errors on some files in the installation directory. Turns out they had no public read permission...
The files were ok themselves (content-wise) - they are the version that Multisites installation patched.
How is it normally, do we have to disable this read permission when no installation is needed? From the security point of view or otherwise...?
|
|
|
|
|
Re: Subdomains (without Symbolic Link) 14 Years ago
|
Karma: 54
|
Normally, the "/installation" directory is required in the master to create "fresh installation" of a new slave site.
Otherwise this directory is not required.
When deploying slave into a specific directory, the "deployed" installation directory can be deleted once the slave site create.
In your case, you don't deploy slave site into a specific directory so you can keep the installation directory that normally redirect to the front-end when the installation of a website already contain a "configuration.php" file.
If you scare about this directory, you could add a .htaccess to restrict the access with a login & psw.
Or you can delete the directory and restore it each time you need to create a new "fresh" slave site.
|
|
|
|
|
|