SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: 403 error

  1. #1
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    323
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    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)

  2. #2
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    323
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    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

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    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
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  4. #4
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    323
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    @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

  5. #5
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    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
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


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
  •