RyanJ Posted August 4, 2013 Share Posted August 4, 2013 Hi nfil, Are you still having problems? Also, when you try to access http://site.com/site-otherdomainname, you should get a forbidden message, so you may want to look at the permissions you have on that folder. 1 Link to comment Share on other sites More sharing options...
nfil Posted August 5, 2013 Share Posted August 5, 2013 Hi Rjay, thanks for the prompt response!I have that folder to 755 What permissions do you have for yours? Do you have any .htaccess settings for both main sitedomain.com and siteotherdomain.com on the servers LAMP public_html or www folder? UPDATE: Its working now I had some .htaccess settings on the public_html folder, I forgot to remove for the multisite to work. Thanks for all your help Rjay. 2 Link to comment Share on other sites More sharing options...
itsberni Posted November 28, 2019 Share Posted November 28, 2019 Hi Guys, i want to refresh this post because I couldn't get option #1 working. I want to set up a multidomain - project and i want to test it with a subdomain from my origin Project. my main site is working fine - this is the setup: - pwFolder - wire - site - site-otherdomain index.config.php .... a.s.o. the index.config.php: function ProcessWireHostSiteConfig() { return array( /* * Some Examples (you should remove/replace them if used). * Just note that the values must begin with 'site-'. * */ 'sub.mydomain.de' => 'site-otherdomain', 'www.sub.mydomain.de' => 'site-otherdomain', 'www.mydomain.com' => 'site-mydomain', 'dev.mydomain.com' => 'site-dev', /* * Default for all others (typically /site/) * */ '*' => 'site', ); } Domain-Hosting Setup: sub.mydomain.de points to "pwFolder" mydomain.de points also to "pwFolder" when i write into the Browser "www.sub.mydomain.de" nothing happens - no error, only "Site was not found". it seems the configuration in the index.config.php has no effect. Is there anything i forgot? Thanks a bunch! SOLVED: Subdomains do not work - it works with a complete different domain ( here: Virtual Host ) Link to comment Share on other sites More sharing options...
itsberni Posted November 28, 2019 Share Posted November 28, 2019 but in this context another issue occurs: if i want to use the AdminThemeUikit within my 2nd Site ( it was already installed in the main-site ) the following notification comes up. When i Click on the Link an error 500 occurs. I thought, in case of Option #1, there are no dependencies between the different "Site-folders". Each Site-Structure has it´s own module environment?! Link to comment Share on other sites More sharing options...
kongondo Posted December 8, 2019 Share Posted December 8, 2019 On 11/28/2019 at 2:02 PM, itsberni said: Subdomains do not work Subdomains work fine for me. Maybe you are a having a 'www' issue? Does this not work? sub.mydomain.de Link to comment Share on other sites More sharing options...
itsberni Posted December 8, 2019 Share Posted December 8, 2019 @kongondo i have tried both versions - with "www" and without. But that isn't my problem any longer because this was only for testing. now i come along with a virtual host and that works fine! But the problem with the admin-theme is still a topic. Link to comment Share on other sites More sharing options...
wbmnfktr Posted December 8, 2019 Share Posted December 8, 2019 6 minutes ago, itsberni said: But the problem with the admin-theme is still a topic. The notification/alert tells you what to do. About 2-3 clicks and it's done. At least it should be done. Link to comment Share on other sites More sharing options...
itsberni Posted December 8, 2019 Share Posted December 8, 2019 4 minutes ago, wbmnfktr said: The notification/alert tells you what to do. About 2-3 clicks and it's done. At least it should be done. what kind of clicks do you recommend ? - when i click on the link ("click here to change the file is used " - which is obvious ) i will get an error 500 Link to comment Share on other sites More sharing options...
wbmnfktr Posted December 8, 2019 Share Posted December 8, 2019 So there is still another problem with your setup. I understood your post in that kind, that the 500 issue was solved. ? Link to comment Share on other sites More sharing options...
kongondo Posted December 8, 2019 Share Posted December 8, 2019 1 hour ago, itsberni said: But that isn't my problem any longer because this was only for testing OK. However, my point was that multisite option #1 works with subdomains as well ?. 1 hour ago, itsberni said: But the problem with the admin-theme is still a topic. On 11/28/2019 at 4:26 PM, itsberni said: I thought, in case of Option #1, there are no dependencies between the different "Site-folders". Each Site-Structure has it´s own module environment?! Yes but to some extent No. Let me explain: Core Modules (e.g. AdminThemeUikit) will be physically shared between the sites since they live under wire/modules. By physical is meant the module files. However, optional core modules such as AdminThemeUiKit can be installed in some site-* but not others. Since site-* each have their own databases, site-a might have AdminThemeUikit installed whereas site-b might not. Install just means a reference to the installed module in a site's database. Custom modules, i.e. those that live in site-*/modules are not physically shared. Unless you are using symbolic links (which can be problematic!) each site-* will have its own modules folder. This means site-a/modules can have SomeModule and site-b/modules can also have the identical or same SomeModule. Of course, their respective databases will have references to their respective SomeModule. So, back to your problem. Did you physically copy AdminThemeUiKit to both your site/modules and site-stirnweiss/modules? This is in addition to the core copy in wire/modules/AdminTheme. If you did so, that is wholly unnecessary. If the answer is no, then you are experiencing a different problem, maybe a server configuration issue. It's hard to tell without more information about the 500 errors (apache logs, ProcessWire error logs, etc. 1 Link to comment Share on other sites More sharing options...
itsberni Posted December 14, 2019 Share Posted December 14, 2019 On 12/8/2019 at 9:23 PM, kongondo said: So, back to your problem. Did you physically copy AdminThemeUiKit to both your site/modules and site-stirnweiss/modules? This is in addition to the core copy in wire/modules/AdminTheme. If you did so, that is wholly unnecessary. If the answer is no, then you are experiencing a different problem, maybe a server configuration issue. It's hard to tell without more information about the 500 errors (apache logs, ProcessWire error logs, etc. I did. That's the way to go. I´m deactivating the folders in both sites....and viola. Now i'm able to setup the AdminThemeUiKit in both environments. Perfect - you made my day. Many thanks Link to comment Share on other sites More sharing options...
kongondo Posted December 14, 2019 Share Posted December 14, 2019 26 minutes ago, itsberni said: I did. That's the way to go. I´m deactivating the folders in both sites....and viola. Now i'm able to setup the AdminThemeUiKit in both environments. Perfect - you made my day. Many thanks Glad you got it sorted. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now