problem with .htaccess file

Discussion in 'PHP' started by venkat6134, Jul 14, 2010.

  1. venkat6134

    venkat6134 New Member

    Joined:
    Jul 14, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    when i access my site it displays the sourcecode that to asking if u want to open/save the particular page.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Does it display fine without .htaccess file?
     
  3. venkat6134

    venkat6134 New Member

    Joined:
    Jul 14, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    no same problem,when am disable that.
    some times if u call specific file it will display, some times not.
    i changed the MIME type also, not working.
     
  4. venkat6134

    venkat6134 New Member

    Joined:
    Jul 14, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    no same problem,when am disable that.
    some times if u call specific file it will display, some times not.
    i changed the MIME type also, not working.
     
  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    So it is not the problem with .htaccess file but mainly what I can sense is PHP and specially .php files are not configured into your Apache to work.
     
  6. johnny.dacu

    johnny.dacu New Member

    Joined:
    Jul 6, 2010
    Messages:
    88
    Likes Received:
    4
    Trophy Points:
    0
    Or could be the short_tag option disabled from php.ini. I encounted this problem a while ago but not with save file aspect.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice