Permissions and web sharing problem

Discussion in 'Mac Basics and Help' started by mark88, Jun 7, 2007.

  1. mark88 macrumors 6502a

    Joined:
    Oct 30, 2004
    #1
    I dunno what has happened but all of a sudden all the sites in my ~Sites/ folders have had their permissions changed to Group & Others: No access.

    I run MAMP on my iMac and all my sites are in that folder. I can view them fine via http://localhost:8888/mysite/ but now can't access them from other networked machines via http://192.168.2.10/~mark/mysite/

    I can change the previleges to group & others : red only, but after doing that oddly on the networked machines PHP isn't working and I can view all the PHP in the source, despite it working locally.

    Any ideas?
     
  2. jng macrumors 65816

    jng

    Joined:
    Apr 6, 2007
    Location:
    Germany
    #2
    Did you try repair permissions in disk utility?

    PHP needs to be read write execute for the owner and read and execute for everyone else -> 755.

    Do you have an FTP client? If so, just find your files and CHMOD HTML/images etc to 644 and 755 to PHP files and the folders in which they reside.
     

Share This Page