Hi,
I'm helping a friend setting up a free-hosting service. For this he want to force ads on header/footer of all the users pages.
I have used this tutorial:
http://www.developertutorials.com/tu...525/page2.html
to force ads on all users pages.
I currently have this in my .htaccess, which resides in the document root:
Now.. when a user creates an account, it will be for example user1.domain.com or domain.com/user1.
When I view domain.com/user1/index.html it works fine, and ads are being displayed on the page.
But when I view user1.domain.com/index.html it says
"The requested URL /ad_test/ads/config.php/index.html was not found on this server"
But when I place the ad_test folder with all its contents in user1.domain.com it works great. Obviously im not able to do that, as the users would just remove that folder. So somehow its looking for ad_test in user.domain.com instead of looking for it in domain.com..
If it matters, here's how the config.php looks like:
Anyone got any idea how I can solve this?
Thanks in advance for all replies!