![]() |
|
Domain, Subdomain on other Domain, 500 Error.. - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Domain, Subdomain on other Domain, 500 Error.. (/thread-5171.html) |
Domain, Subdomain on other Domain, 500 Error.. - danis - 2009-05-12 Hi Guys - i got a problem with my Zenphoto.. First i want to say: Thanks for this great Script! I'm using it not since a really early Version and it's really really great! Now my problem: I've got a Maindomain - rallye-cars.de On this Domain, there is a folder called 'rallye' I'm using mod_rewrite and the standard .htaccess file for nice URL's. Now - i got a second domain - rallye-addicted.de This Domains show's on a folder called 'rallye-addicted/cmsmadesimple' Now - on my second Domain, there is a Subdomain - called galerie.rallye-addicted.de This Subdomain shows on the folder 'rallye' When I open this Domain, my gallery is shown - but when i want to open a album, My Question now: Why does this happen? Domain, Subdomain on other Domain, 500 Error.. - acrylian - 2009-05-12 Both urls galerie.rallye-addicted.de and rallye-cars.de/rallye do work for me. Domain, Subdomain on other Domain, 500 Error.. - danis - 2009-05-12 Please try to open an album on galerie.rallye-addicted.de Domain, Subdomain on other Domain, 500 Error.. - acrylian - 2009-05-12 Ah, right, sorry, forgot to test that. I guess the htaccess file is confused about the domains. Have no idea right now as I did never try that. Did you try a forum search? Might be that we had something similar before but I don't remember. Domain, Subdomain on other Domain, 500 Error.. - danis - 2009-05-12 Yeah, i searched, but nothing similar to find.. I had no problem with a solution, Domain, Subdomain on other Domain, 500 Error.. - sbillard - 2009-05-12 Did you run setup on your subdomain install? The problem you are having is definately with mod_rewrite. The rewrite base for the subdomain should be Domain, Subdomain on other Domain, 500 Error.. - danis - 2009-05-14 I havn't done the Setup on the Subdomain. First I had my rallye-cars.de/rallye Installation, Domain, Subdomain on other Domain, 500 Error.. - danis - 2009-05-20 No idea? Domain, Subdomain on other Domain, 500 Error.. - acrylian - 2009-05-20 So both domains rallye-addicted.de and rallye-cars.de are on the same webspace? Is rallye-cars.de/rallye and rallye-addicted.de/rallye actually the same folder or are thes domains pointing to different folders? If you probably need to link them to the same folder and/or change the subdomain direction on your host's settings. (meaning linking galerie.rallye-addicted.de to rallye-cars.de/rallye.) Domain, Subdomain on other Domain, 500 Error.. - danis - 2009-05-20 Hello acrylian, The Domains rallye-addicted.de/rallye does not exist, The Webspace is structured as following: root --> rallye-cars.de The Subdomain shows on '/rallye' - if i try to enter something like '../rallye' it does not work.. Domain, Subdomain on other Domain, 500 Error.. - acrylian - 2009-05-20 Ok, then it should be possible to link the subdomain galerie.rallye-addicted.de to the /rallye folder. But you would have to do that on your host's backend... The htaccess file in that case should read /rallye. Domain, Subdomain on other Domain, 500 Error.. - benchfrooser - 2009-05-21 Had the same problem. I don´t know which one helped.
Domain, Subdomain on other Domain, 500 Error.. - david.matthewson - 2009-12-24 I have the same problem - I installed to sub dir and THEN made the subdir a sub domain... so... www.lymden-lodge.com\test then became test.lymden-lodge.com - and I get 500 errors on all pages apart fromthe front page. If I turn mod_rewrite = OFF then it works. If I do an u/g - /zp-core/upgrade.php - the u/g works but the pages still fail unless I have mod_rewite = Off. I have yet to try the theme flip. David Domain, Subdomain on other Domain, 500 Error.. - david.matthewson - 2009-12-24 bah.. and trying the theme flip didn't work either. I guess having installed to a sub dir and then making it a sub domain really breaks things. Off to do a reinstall..!! David Domain, Subdomain on other Domain, 500 Error.. - acrylian - 2009-12-24 Zenphoto does work on my server in a subdomain that is a subfolder of the webspace root. If the subfolder is /zenphoto and the subdomain poinst directly to that the RewriteBase should be Domain, Subdomain on other Domain, 500 Error.. - david.matthewson - 2009-12-24 Thanks Acrylian - helpful & prompt as ever, I'll try that & revert with what happens. Ein frohes Weihnachtsfest und alles Gute zum neuen Jahr! David Domain, Subdomain on other Domain, 500 Error.. - sbillard - 2009-12-24 The bottom line on this is that if you "move" the Zenphoto installation you MUST re-run the setup program. It is also not possible to use mod_rewrite and have Zenphoto accessed both from a subdomain and as a folder within the main domain. Mod rewrite just does not support that as you can define only one Domain, Subdomain on other Domain, 500 Error.. - david.matthewson - 2009-12-24 Thanks Guys. I can confirm that this all works fine as you say. So what I did was:
End result? All works fine! So it is possible to install to a sub dir and then 'migrate' to a sub domain with out any problems. Thanks to all for their help. brgd David |