Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Why can I view PHP pages but not html ones?
Date:   2004-11-16 07:47:15
From:   CrazyPsyRoller
My problem seems rather strange...I have no problem viewing php pages through my browser or LAN using this kind of address


http://127.0.0.1/~Tristian%20Bougeard/insert.php


but when i try to view a html page in the same way I get this error in my browser...


"
Forbidden
You don't have permission to access /~Tristian Bougeard/index.html on this server.


Apache/1.3.29 Server at tristian-bougeards-computer.local Port 80"


im probly being really dumb, anyone got any idea's how to sort this out?


Full Threads Newest First

Showing messages 1 through 2 of 2.

  • Acually I think it might be a permissions problem
    2004-11-19 03:43:16  CrazyPsyRoller [View]

    Ah update....I now know the server will accept html....the real problem is something to do with permissions....it opens up index.html or index.php but whenever I click on a link I always get the forbidden error telling me I dont have permission to access the file...

    please please someone help, I really dont know what to do....
    • Acually I think it might be a permissions problem
      2004-12-08 11:56:20  Drachentöter [View]

      I think you have turned on FileVault right? The process of enableing FileVault cause a change of the permission setting of your home directory - I do not know why this havens? But if you start your terminal then go to your home directory and enter "chmod 755 ~" then it is working again and well.