1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Setup For .html/.htm Files Without A Footer File

Discussion in 'Co-op Advertising Network' started by digitalpoint, Dec 1, 2004.

  1. seohome

    seohome Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    The .htaccess is bringing me troubles with my php pages so I I'll have to remove the whole code :(
     
    seohome, Dec 2, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #22
    No, the original .htaccess file (check the beginning of this thread).
     
    digitalpoint, Dec 2, 2004 IP
  3. ericn

    ericn Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #23
    I finally got this working. Now I just need to figure out how to have five adds going?

    How would this be done?
     
    ericn, Dec 2, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #24
    There are instructions in this thread.
     
    digitalpoint, Dec 2, 2004 IP
  5. ericn

    ericn Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Please excuse my lack of scripting.

    I have read the entire thread twise. I do not see how to edit this .html method to show the add five times.
     
    ericn, Dec 2, 2004 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #26
    Check post #14.
     
    digitalpoint, Dec 2, 2004 IP
  7. zamolxes

    zamolxes Peon

    Messages:
    176
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #27
    I'm getting a configuration error when trying to add the code to the .htaccess file:

    It's this line that seems to cause it:

     
    zamolxes, Dec 3, 2004 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #28
    Check your httpd error log. Your server might not allow it.
     
    digitalpoint, Dec 3, 2004 IP
  9. Spyware Remover

    Spyware Remover Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #29
    When I added the mod rewrite code to my .htaccess file, I got server 500 erros on my site. (html based)

    I have tried getting the ad network on my site many times to no avail. No matter what I do I can never get validation or the ads to display.

    I usually have no problem with things like this, but this one stumps me completely.

    I am hosted on iPowerWeb, they want me to do things differently with the .htaccess like:

    AddType text/x-server-parsed-html .shtm .shtml .htm .html

    for SSI.

    I am stumped

    AJ
     
    Spyware Remover, Dec 3, 2004 IP
  10. zamolxes

    zamolxes Peon

    Messages:
    176
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #30
    I am already using mod_rewrites on one of the sites is just this one that doesn't want to work - results in server configuration error.
    I have tried this already on 4 different servers now - I must be doing sth. wrong :( .

    The error log shows:

    File does not exist: ...../public_html/404.shtml
    File does not exist: .../favicon.ico
     
    zamolxes, Dec 3, 2004 IP
  11. Foxy

    Foxy Chief Natural Foodie

    Messages:
    1,614
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #31
    Hi Shawn, I tried this on world-ok.com and got the internal server error - so I rechecked that the engine was on which it is and then today I refed the htaccess and the same error occurred - I have a few "old" sites, with many pages that I would like to use this on so it is worth continuing - any ideas?

    Thanks :)
     
    Foxy, Dec 6, 2004 IP
  12. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #32
    Most likely your server configuration doesn't allow the mod_rewrite. If you have access to check the httpd error log, you might want to check it.
     
    digitalpoint, Dec 6, 2004 IP
  13. Foxy

    Foxy Chief Natural Foodie

    Messages:
    1,614
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #33
    I checked the error log before I asked the techies and there was no error logged - I shall go back and ask more specifically

    Thanks
     
    Foxy, Dec 6, 2004 IP
  14. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #34
    Hi Foxy

    I have a few sites where I have been able to use a .htaccess file to get htm processed as php using:

    AddType x-mapp-php4 .php3 .php .html .htm

    This is hosted by 1&1 so the settings are probably atypical.

    Not as neat as Shawns as you still need to add the code to every page. More hosts seem to support this though.
     
    Patient, Dec 6, 2004 IP
  15. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #35
    You sure you are looking in the right error log? Usually it's named error in /var/log/httpd
     
    digitalpoint, Dec 6, 2004 IP
  16. Foxy

    Foxy Chief Natural Foodie

    Messages:
    1,614
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #36
    Unfortunately for me I have tried it on two different ISPs with the same result - one in Florida with cpanel and the other in California with vdeck - so I guess its a no go for me.

    Thanks anyway Shawn :)
     
    Foxy, Dec 6, 2004 IP
  17. OnSEO

    OnSEO Guest

    Messages:
    170
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #37
    After fooling around with this for 2 days..I still cant get it to work..I contacted mt host, and they confirmed that that the rewrite is enabled.

    Any ideas?
     
    OnSEO, Dec 7, 2004 IP
  18. Spyware Remover

    Spyware Remover Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #38
    Yeah, I am in same boat. It's hopeless. I have tried four different configurations with the htaccess file and then the mod re-write and it's still a no go.

    I am hosted on iPowerWeb, which isa major company and no one (here) has been able to shed any light on the subject in order for me to getthis network up and running.

    AJ
     
    Spyware Remover, Dec 7, 2004 IP
  19. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #39
    Often there are different levels of a rewrite available (some hosts allow some things but not others for example). The only way to find out for certain what the error you get would be to check /var/log/httpd/error (your administrator will probably need to do it for you).
     
    digitalpoint, Dec 7, 2004 IP
  20. Bulldog San

    Bulldog San Peon

    Messages:
    195
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #40
    I've successfully gotten the ads running on my site. Thanks for the html version. How do I change the font and size of the ads if I don't have a footer file?
     
    Bulldog San, Dec 7, 2004 IP