Help with .htaccess

Discussion in 'Co-op Advertising Network' started by mak, Oct 28, 2005.

  1. #1
    My site is html based and have following lines in my .htaccess file but its giving me error [an error occurred while processing this directive]


    AddType text/html .shtml .php
    AddHandler server-parsed .html .htm
    Options Indexes FollowSymLinks Includes

    Till now I have been using html includes with no problem. So its not a problem from host. But its the file with php ext causing the problem.

    As suggested in the "Setup Instructions" to add the following line in .htaccess:

    AddType application/x-httpd-php .php .htm .html

    When I add this line my site stops responding.

    Please I need help resolving this problem. Even few months ago I gave up on using the "ads" as even after several attempts I wasnt able to setup correctly.
     
    mak, Oct 28, 2005 IP
  2. unprofundity

    unprofundity Peon

    Messages:
    45
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi mak,

    i have the same problem, i have few old sites still in html but have ssi includes for all of the pages but i cant seem to get the ssi include and the php include in the .htaccess work together.

    loooking forward for a solution to this if there is. thank you.
     
    unprofundity, Oct 30, 2005 IP
  3. Vincent

    Vincent Active Member

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    You need to find out which line is the problem. Does it work with only the first/second/... line in the .htaccess?
     
    Vincent, Oct 31, 2005 IP