Setting virtual host on Mac Leopard

This is a note for adding a friends phpbb forum on my Mac mini which running Leopard.

Upload the phpbb3.0 to "/Library/WebServer/Documents". This folder is as "/var/www" on Ubuntu.

Modified the apache configuration:
$> sudo vim /etc/apache2/extra httpd-vhosts.conf

Add the virtual host setting:


   DocumentRoot "/Library/WebServer/Documents/phpbb"
   ServerName your.url

Then restart the apache server:
$> sudo /usr/sbin/apachectl restart

1 comments on Setting virtual host on Mac Leopard

  • phpbb forum hosting (not verified)

    Thanks for sharing your views.Great blog here.. It’s hard to find quality writing like yours these days. I really appreciate people like you.
    Regards,
    managed wordpress hosting

  • Post new comment

    The content of this field is kept private and will not be shown publicly.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><img><blockquote>
    • Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.