SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast AndrewDay's Avatar
    Join Date
    Jan 2004
    Location
    Seattle, WA
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    .htaccess not working

    I cannot access file without an extention even though i have my .htaccess set properly (it tries to download it in PHP form)... Here's the content of the .htaccess:
    Code:
    DefaultType text/php
    DirectoryIndex index index.php
    Please help!

    note: it works with DefaultType text/html but I kinda want it to parse as php.
    Kempt - Few things in life are that good.

  2. #2
    Apache Expert i_like_php's Avatar
    Join Date
    Nov 2001
    Location
    Dallas, Texas
    Posts
    1,342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so are you trying to get your .html pages parsed as php pages?

    what o/s are you running?
    i love php

  3. #3
    FreeBSD The Power to Serve silver trophy pippo's Avatar
    Join Date
    Jul 2001
    Location
    Italy
    Posts
    4,514
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you use
    Options +MultiViews
    and you have a file called ciccio.php
    by calling example.com/ciccio
    then ciccio.php will be called


    Mr Andrea
    Former Hosting Team Advisor
    Former Advisor of '03


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •