Problem with .htaccess. Iframe not allowed?

Discussion in 'Co-op Advertising Network' started by subhendu, Jul 25, 2005.

  1. #1
    Hi..

    I'm having bloggers.com blog at http://www.allindianews.in

    My server admin says that php is installed as cgi and hence AddType won't work (it doesn't, says 'Internal Server Error').

    So, I put the include_ad_network.php in between iframe codes in blogger template and it shows the ads. ad_network_ads_328.txt file is also being updated with ads.

    However, whenever I try to validate my link with DP, it says that ads are not present in http://www.allindianews.in.

    Is there any other way to make this work or do I have to drop the idea of adding co-op ads?

    Please help!

    Thanks & Regards

    Subhendu Sen
     
    subhendu, Jul 25, 2005 IP
  2. subhendu

    subhendu Peon

    Messages:
    124
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ok guys...

    I waited for a response for quite some time. No reply. No help. So, I'm removing the code.

    Thanks

    Subhendu
    http://www.allindianews.in
     
    subhendu, Jul 25, 2005 IP
  3. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #3
    5 and a half hours and he's giving up. C'mon, subhendu you should at least give it a day. :)

    As far as your problem goes, I *think* each frame will have it's own URL, meaning that each and every frame would need to have the ad network code on it. Someone correct me if I'm wrong, or if I misread the question.
     
    exam, Jul 25, 2005 IP
  4. subhendu

    subhendu Peon

    Messages:
    124
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for your response, exam...

    When you're waiting for a valuable response from people and your things are not working, 5 and half hours is too long :)

    You can call a single file and put it inside iframe tags. So, you have only one file which is actually showing the ads, but placed in all the files. Adsense is also displayed in iframe.

    I have more than 11,000 pages and republishing the entire blog is an impossible task using blogger.

    I think, I have to come out with a solution. I'll be back when I get it.

    I really like the concept of this co-op ad and I have to find out a solution to make it work in my conditions. A help from pros would be better though!

    Regards

    Subhendu Sen
    http://www.allindianews.in
     
    subhendu, Jul 25, 2005 IP
  5. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I guess the bottom line is you should move to another server. I believe PHP is a *lot* more efficient installed as an Apache module. OR, maybe you could get the server admin to add php to the TypesConfig file. (conf/mime.types)
     
    exam, Jul 26, 2005 IP
  6. subhendu

    subhendu Peon

    Messages:
    124
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks exam...

    I've solved the problem and provided the solution in this forum [http://forums.digitalpoint.com/showthread.php?t=22552]

    Thanks and regards

    Subhendu Sen
    http://www.allindianews.in
     
    subhendu, Jul 26, 2005 IP