Forums / Install & configuration / PHP problems with domains
Karsten Jennissen
Tuesday 07 November 2006 7:59:39 am
Might not be an ezpublish problem, but some of you hopefully are able to help me on this.
I just installed 3.8.5 and configured the host method. I have 4 domains setup to point to this install.
From the same install, I get sent the php in plain text when I use 2 of the domains, and the php gets executed / runs normally when I use the other 2 domains. Try it:
http://stories.bizmag.de (does not work)http://news.bizmag.de (works)
When I go to http://stories.bizmag.de/index.phpeverything works again.
Any idea?
Cheers,Karsten
Claudia Kosny
Tuesday 07 November 2006 9:36:28 am
Hi Karsten
Seems like you solved the problem yourself - well done. Just one minor thing: You definitely should download ez 3.8.6 as this is a bugfix for an ezxml problem in 3.8.5 so you might save yourself some trouble.
Greetings from Luxembourg
Claudia
Tuesday 07 November 2006 9:55:42 am
Hi Claudia,
thanks for the hint to 3.8.6.
Didn't solve the problem, yet. Try the above link where it says "doesn't work" and try the same domain with the additional index.php. One works, the other doesn't.
Some apache problem?
Sascha Frinken
Tuesday 07 November 2006 10:20:17 am
> some Apache problem
I think you are missing this in the Apache (virtual host) configuration:
DirectoryIndex index.php
HTH
Sascha
Tuesday 07 November 2006 10:50:59 am
I get the same page for http://stories.bizmag.de/ andhttp://stories.bizmag.de/index.php
which is page with the heading wirtschaftswunder, a horizontal menu, an access denied message and a login window. The debug messages also look quite similar except for the line "Error ocurred using URI: /index.php" which is just "Error ocurred using URI: /" for the first url.
Tuesday 07 November 2006 11:47:24 am
Oh boy,
now it works just as Claudia described. I didn't do anything. I don't know.
If anybody has ideas as to what could have happened, please let me know.
Tuesday 07 November 2006 12:17:19 pm
The most likely reason for unexplained stuff is the cache function of ez. Sometimes you change something in an ini file and forget to empty the cache or you empty the cache only partially and if you do sometimes later you see the result of all multiple changes at once.
The source of your problem was most likely in the siteaccess settings in the override site.ini.append.php or the site access specific site.ini.append.php although this is hard to say for sure afterwards.
Regards
Wednesday 08 November 2006 2:19:19 am
Thanks for your help. I really appreciate it!