SVN directories not showing up in localhost when using WAMP

Posted by JsusSalv on Stack Overflow See other posts from Stack Overflow or by JsusSalv
Published on 2010-01-16T12:06:47Z Indexed on 2010/05/13 21:24 UTC
Read the original article Hit count: 396

Filed under:
|
|

Hi:

I recently installed WAMP for actual local use. I've worked on live development servers but now am working on localhost. I've managed to get multiple virtual hosts setup on my WAMP/Vista 64-bit box but am having difficulty with directories pulled from SVN. I have four vhosts setup. Two work well and they are not tied to any SVN just yet. I'm also using TortoiseSVN in case it makes any difference. However, the other projects are coming from SVN repositories. When I view these two projects I get the following error:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.

The way I setup the vhosts is as follows:

httpd.conf

# Multiple Virtual Hosts
<VirtualHost 127.0.0.1>
    ServerName localhost
    DocumentRoot "C:/wamp/www/"
</VirtualHost>

<VirtualHost 127.0.1.0>
    ServerName testone.local
    DocumentRoot "C:/wamp/www/root/projectone/"
</VirtualHost>

<VirtualHost 127.0.2.0>
    ServerName testtwo.local
    DocumentRoot "C:/wamp/www/root/projecttwo/"
</VirtualHost>

<VirtualHost 127.0.3.0>
    ServerName testthree.local
    DocumentRoot "C:/wamp/www/root/projectthree/"
</VirtualHost>

<VirtualHost 127.0.3.1>
    ServerName testfour.local
    DocumentRoot "C:/wamp/www/root/projectfour/"
</VirtualHost>

And here's the 'hosts' file:

# Localhost
127.0.0.1       localhost
::1             localhost


# Project One
127.0.1.0      testone.local

# Project Two
127.0.2.0      testtwo.local


# Project Three
127.0.3.0      testthree.local


# Project Four
127.0.3.1      testfour.local

Everything works just fine. So if you want to tell me I'm doing something wrong then by all means point out a few things. But as it stands, it works and I'm content using different IPs and/or named-based vhosts.

The problem comes in not being able to see the directories and files in the projects that are tied to an SVN. Whenever I visit http://testxxxx.local I get the error message at the top of this post. Please provide some suggestions. Thank you!

© Stack Overflow or respective owner

Related posts about svn

Related posts about wamp