DIYMacServer » Apache

2 posts

was in v1, but not in v2

started at 05 Jan 2007
started by Marshal
last reply from richard5
  • Marshal
    05 Jan 2007
    #

    Hi Richard,

    I was following the instructions in isp-in-a-box-v2.

    When i reached the steps in http://switch.richard5.net/isp-in-a-box-v2/installing-and-configuring-postfixadmin/
    I ran into the same situations as others did in the responses.

    Since I had the setup working from your previous ISP in a box, using a Mac mini, I went back and read them again : )

    http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/seting-up-mamp/

    Please edit the file httpd.conf in the directory /Library/Apache2/conf/. Find the following line:

    DirectoryIndex index.html index.html.var



    and change it into:

    DirectoryIndex index.php index.html index.html.var



    This will allow your php index pages to appear without any problems. Next change the following lines:

    User nobody
    Group #-1


    and change them into:

    User www
    Group www


    The last change is to allow the use of .htaccess files on your web-server. First find the lines:

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #

    Edit the line below from:

    AllowOverride None



    and change it into:


    AllowOverride All



    but these instructions don't seem to be in http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/

    also

    User nobody 
    Group #-1


    has become

    User daemon
    Group daemon


    in isp-in-a-box-v2

    Thank you
  • 06 Jan 2007
    #

    Marshal, you are so right. I'm getting a red face as I read your post.
    Whatta mistake to make (pronounce with italian accent ;-) ).

    I'll correct this as soon as I can.

Reply

You must log in to post.