You are probably right about using www.example.com
in my url of my browser as this would match the site my php is setup for within IspConfig.
IspConfig probably checks the http header i.e. url against the configured site name.
this explains in theory why I dont have php workin on a per site basis, there is obviously a mismatch.
however I am running on a test machine no real domain set up yet and to run locally on my machine with my current httpd.conf setup I have to enter
http://<localhost>/www.example.com/web/index.xx for pointing out both my php and html files
but as you said this is wrong and I think you are right.
so my question then inorder for me to test locally on my machine I need to configure my
httpd.conf so that I can type in a url the matches my Ispconfig configured sitename
--------should point to ------->/var/www/www.example.com/web/index.xx both for html and php
any httpd.conf guru's out there who can help me set up my apache to simulate this situation and remember I am connected to the web so I am just bafaled as to how we do this and mask out any real existing domains on www.