problem setting up virtual host on localhost

P

petermichaux

Hi,

I'm using OS X with Apache and am trying to set up a virtual host to
play with my creatively named /Users/peter/railsapp/ project. I tried
adding the following to httpd.conf but it didn't work. The browser said
it could not find "railsapp.peter-michauxs-computer.local". Any ideas?

I also tried "railsapp.localhost" for my ServerName in httpd.conf

Thanks,
Peter

<VirtualHost *>
ServerName railsapp.peter-michauxs-computer.local
DocumentRoot /Users/peter/railsapp/public/
<Directory /Users/peter/railsapp/public/>
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
</Directory>
</VirtualHost>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top