Connection interrupted
Posted by: aangel (---.hsd1.ca.comcast.net)
Date: July 10, 2009 04:39AM

I've read the other forum topics where people have experienced this situation and there doesn't seem to be a clear answer, so I thought I'd try again.

I have wampserver set up on Windows Enterprise Server 2003 R2. I've set up two domains, one works perfectly and the other returns "connection interrupted." Baffling.

I have changed the hosts files to recognize two domains:
domain1.com
staging.domain1.com

the vhosts portion of Apache config looks like this:

NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/davinci"
ServerName domain1.com
ErrorLog "logs/davinci-main.log"
CustomLog "logs/davinci-main.log" common
<Directory "C:\wamp\www\davinci">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


<VirtualHost *:80>
DocumentRoot "C:/wamp/www/davinci_working"
ServerName staging.domain1.com
ErrorLog "logs/davinci-staging.log"
CustomLog "logs/davinci-staging.log" common
<Directory "C:\wamp\www\davinci_working">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
</code>

The code is identical on both sides except that the database points to a different place.

Here is the Apache log file:
[Thu Jul 09 19:08:20 2009] [notice] Child 3576: Starting 64 worker threads.
[Thu Jul 09 19:08:20 2009] [notice] Child 3576: Starting thread to listen on port 80.
[Thu Jul 09 19:17:19 2009] [notice] Parent: child process exited with status 128 -- Restarting.
[Thu Jul 09 19:17:19 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Thu Jul 09 19:17:19 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Thu Jul 09 19:17:19 2009] [notice] Server built: Dec 10 2008 00:10:06
[Thu Jul 09 19:17:19 2009] [notice] Parent: Created child process 3964
[Thu Jul 09 19:17:19 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Thu Jul 09 19:17:19 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Thu Jul 09 19:17:19 2009] [notice] Child 3964: Child process is running
[Thu Jul 09 19:17:19 2009] [notice] Child 3964: Acquired the start mutex.
[Thu Jul 09 19:17:19 2009] [notice] Child 3964: Starting 64 worker threads.
[Thu Jul 09 19:17:19 2009] [notice] Child 3964: Starting thread to listen on port 80.

The php_error file shows no errors. It's trying to run a Drupal installation starting with index.php.

Does anyone have any ideas of where I can look?

Thanks,
André

Options: ReplyQuote
Re: Connection interrupted
Posted by: yfastud (Moderator)
Date: July 10, 2009 04:44PM

Quote

The code is identical on both sides except that the database points to a different place.
where second db point to? Are both of db's still in same computer?

Quote

NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
NameVirtualHost *:80
you have 2 lines, so get rid of 1

Quote

staging.domain1.com
did you already setup dns for this subdomain? if not, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Connection interrupted
Posted by: aangel (---.hsd1.ca.comcast.net)
Date: July 10, 2009 04:54PM

Yes, both db's are on the same computer. This an internal intranet installation and the dns entries both point to the same computer, too.

Options: ReplyQuote
Re: Connection interrupted
Posted by: yfastud (Moderator)
Date: July 10, 2009 05:08PM

if they're local domains, don't use real domain names for them
to setup vh, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Connection interrupted
Posted by: aangel (---.hsd1.ca.comcast.net)
Date: July 10, 2009 05:22PM

sorry, I do need to use real domains names so that people on the intranet can find the site.

Now even the main website is not coming up, it's giving me a connection interrupted, too. That's not good...lots of people about to try to use the site...

Options: ReplyQuote
Re: Connection interrupted
Posted by: aangel (---.hsd1.ca.comcast.net)
Date: July 10, 2009 05:24PM

I've commented out the second website in the vhosts file and am rebooting the server. I need to get the main site up.

Do you by chance provide paid consulting services?

Options: ReplyQuote
Re: Connection interrupted
Posted by: yfastud (Moderator)
Date: July 10, 2009 05:28PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.