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 help please

Discussion in 'Apache' started by NewComputer, Jul 13, 2005.

  1. #1
    What is the correct information for the htaccess files so that I can create an html page but put php on it and have it function correctly?
     
    NewComputer, Jul 13, 2005 IP
  2. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #2
    AddType application/x-httpd-php .php .htm .html
     
    nevetS, Jul 13, 2005 IP
  3. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #3
    is that the exact code that needs to go in?
     
    NewComputer, Jul 13, 2005 IP
  4. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #4
    Yes, that will do the trick. ;)
     
    ResaleBroker, Jul 13, 2005 IP
  5. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #5
    If it doesn't work, you need to adjust your apache configuration. You need: Options FileInfo enabled.
     
    nevetS, Jul 13, 2005 IP
  6. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #6
    Thanks guys, that is what I 'thought' I had... amazing what a typo can do....
     
    NewComputer, Jul 13, 2005 IP