Results 1 to 2 of 2

Thread: setting up vhosts

  1. #1
    Join Date
    Nov 2015

    setting up vhosts

    Hi There,
    I'm a noob, trying to set up my vhost in apache.
    Machine: OSX 10.9

    I edit file:
    <VirtualHost *:80>
    DocumentRoot "/Users/Sites/pims/public"
    ServerName pims

    <Directory "/Users/Sites/pims/">
    Allowoverride All
    Then in etc/hosts I add: pims
    Restart server:

    sudo apachectl restart
    Server version: Apache/2.2.29 (Unix)

    However, when I type pims in the browser I'm not navigated to the application. I get a notification in browser to navigate local pims. Clicking on the link, I'm then navigated to the application.

    What I've missed in vhost set up?
    Please guide.

    PS: Is there a way to attach documents in this forum?

  2. #2
    Join Date
    Nov 2015
    A gentle bump to this post.
    Apparently if add a forward slash to the server name, I'd be navigated to my application.
    Any help shall be highly appreciated.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center