403 error

please i am new to dealer with apache, but i am having this error for a script setup.php

You don’t have permission to access /~mgltd/comparison/setup.php on this server.

but i have other script working in this directory /~mgltd/

please where can i correct it(though i purchased this script)

sorry for the wordings, let me rewrite please

please i am new with apache (mac lion), but i am having this error for a script setup.php

You don’t have permission to access /~mgltd/comparison/setup.php on this server.

but i have other script working in the same directory /~mgltd/

please where can i correct it

lostty,

It’s been too long since I’ve worked with a Mac, however, it appears to be a permissions problem. Just make sure that setup.php is enabled with respect to EXECUTE, i.e., 777 in 'nix terms.

Regards,

DK

@dklynn, i saw a command i was told to know if apache has right to execute,

ls -lde / /Users/ /Users/myusername/ /Users/myusername/Sites

i tried it and it returned some result below( but i dont understand or know what to do )

drwxrwxr-t 33 root admin 1190 5 May 14:38 /
drwxr-xr-x 5 root admin 170 5 May 14:30 /Users/
drwxr-xr-x+ 42 mgltd staff 1428 5 May 16:07 /Users/mgltd/
0: group:everyone deny delete
drwxr-xr-x+ 10 mgltd staff 340 5 May 16:07 /Users/mgltd/Sites
0: group:everyone deny delete

losty,

I’m certainly not current with mac permissions but it appears that you either need to be admin or staff to access and everyone else is to be denied access.

Use your equivalent of F1 (help) to search for how to change file/directory permissions on a mac.

Regards,

DK