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.

.htaccess problem

Discussion in 'Apache' started by teena1jain, Sep 4, 2005.

  1. #1
    My problem is that i want to add
    "AddType application/x-httpd-php .php .htm .html"
    this into my .htaccess file as mentioned in the setup instructions.

    I've tried modifying the .htaccess directly on the c-panel, through FTP, using notepad, and anything else suggested in the forums.

    I am getting the 500 error thought when there is a .htaccess file with the commands in the instructions.

    Please help how can I do this or i have to create a new .htaccess file or anything else.

    I have read all the posts related to this and tried whatever they suggested, but it doesn't help.

    Teena
     
    teena1jain, Sep 4, 2005 IP
  2. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #2
    AddType requires Options FileInfo set up in your virtual host definition in your apache configuration, I believe. That's the most common case for this kind of a problem.

    Check your apache error log and it will tell you exactly why you are receiving this 500 error.
     
    nevetS, Sep 4, 2005 IP