Personal Web Sharing

Discussion in 'Web Design and Development' started by macnoob1587, Nov 21, 2008.

  1. macnoob1587 macrumors newbie

    Joined:
    Nov 21, 2008
    #1
    Hi,
    My Web Sharing setting on System preferances is "ON"...Yet everytime i try to access my personal website, i.e. http://localhost/~username , it says "403 Forbidden".
    How do i change permissions to access my personal web page?
    Also, are there any links to teach me exactly how to execute perl and cgi scripts through the Apache web server?
    Thanks!
     
  2. SrWebDeveloper macrumors 68000

    SrWebDeveloper

    Joined:
    Dec 7, 2007
    Location:
    Alexandria, VA, USA
    #3
    As to Apache/Perl which was also asked:

    Mac OS X already has Perl installed.

    For help programming with Apache/Perl on Mac OS X read this article please.

    On my Leopard, for example, I went into terminal mode and typed in "which perl" to see the location of the binary (which is referenced in the first line of all Perl scripts) and "perl -v" to determine the version (5.8.8 in my case). If you wish to upgrade/patch your version of Perl to meet a requirement for a framework or whatever use the CPAN wrapper already built into Mac OS X, it's excellent and makes it so easy.

    If you do NOT have any instance of Perl on your system (which is doubtful, but this advice might be helpful if you run another OS) then you have two methods of implementation available to you:


    -jim
     

Share This Page