Re: [users@httpd] Almost There

2014-11-06 Thread Steve Matzura
It occurred to me that apache2.conf might be what's wanted. Here it is, without the comments, and lots of white space removed. ServerRoot "/etc/apache2" LockFile /var/lock/apache2/accept.lock PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 Sta

Re: [users@httpd] Almost There

2014-11-06 Thread Steve Matzura
I did. Here it is again. Actual domain names obfuscated to preserve anonymity. ServerName www.domain1.com ServerAlias domain1.com *.domain1.com DocumentRoot /webfiles-root/www/domain1.com ServerName www.domain2.com ServerAlias domain2.com *.domain2.com DocumentRoot /webfiles-root/www/domain2.c

Re: [users@httpd] Almost There

2014-11-06 Thread Edgar Pettijohn
I would recommend posting your config. On 11/06/2014 12:41 PM, Steve Matzura wrote: > I've swung my second domain over to the first address. The first > domain URL still works, but the second newly added address does not. > What happens is that when browsing to the new address, the correct > serve

[users@httpd] http testing question

2014-11-06 Thread Rose, John B
Any pro/con views, personal experience, insights on these tools, or any not listed here you think are good? Ab - Apache jmeter Webpagetest Httperf Apache Flood We have tried ab, webpagetest, and jmeter a bit but still learning. Thanks

[users@httpd] Almost There

2014-11-06 Thread Steve Matzura
I've swung my second domain over to the first address. The first domain URL still works, but the second newly added address does not. What happens is that when browsing to the new address, the correct server responds, but the default document root is used. This indicates to me that I've specified s

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Steve Matzura
I did, and it worked. I just don't know if it will server the other domain yet. Waiting for DNS catch-up. On Thu, 06 Nov 2014 11:02:13 -0600, you wrote: >What happens if you omit the NameVirtualHost directive? > >On 11/06/2014 10:56 AM, Steve Matzura wrote: >> On Thu, 06 Nov 2014 10:30:32 -0600,

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Edgar Pettijohn
What happens if you omit the NameVirtualHost directive? On 11/06/2014 10:56 AM, Steve Matzura wrote: > On Thu, 06 Nov 2014 10:30:32 -0600, you wrote: > >> Try giving NameVirtualHost 0.0.0.0:80 or the actual ip:80. Not sure if >> it will change anything, but its worth the 10 seconds it will take t

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Steve Matzura
I got to thinking, if I have a mismatch, what if I remove the NameVirtualHost line? I did, and the error went away. Now I have to test it to see that the second domain will be server by name. On Thu, 6 Nov 2014 11:33:42 -0500, you wrote: >On Thu, Nov 6, 2014 at 11:22 AM, Steve Matzura wrote: >>>

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Steve Matzura
On Thu, 06 Nov 2014 10:30:32 -0600, you wrote: >Try giving NameVirtualHost 0.0.0.0:80 or the actual ip:80. Not sure if >it will change anything, but its worth the 10 seconds it will take to >implement. Sorry, same error, just substituting * with either 0.0.0.0 or the actual address. ---

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Kees Nuyt
On Thu, 06 Nov 2014 11:22:00 -0500, you wrote: >On Thu, 6 Nov 2014 11:06:06 -0500, you wrote: > >>On Thu, Nov 6, 2014 at 10:43 AM, Steve Matzura wrote: >>> NameVirtualHost *:80 >> >> >>You probably have two or more of these, you only want 1. > >How does that jibe with the article saying I need a

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Eric Covener
On Thu, Nov 6, 2014 at 11:22 AM, Steve Matzura wrote: >>You probably have two or more of these, you only want 1. > > How does that jibe with the article saying I need a block for each > domain? It's a 1:n relationship betwen NameVirtualHost X and . ---

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Edgar Pettijohn
Try giving NameVirtualHost 0.0.0.0:80 or the actual ip:80. Not sure if it will change anything, but its worth the 10 seconds it will take to implement. On 11/06/2014 10:21 AM, Steve Matzura wrote: > Once again, domains and addresses are obfuscated. 'xxx' refers to the > actual node name of the sy

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Steve Matzura
Once again, domains and addresses are obfuscated. 'xxx' refers to the actual node name of the system about which we're talking. Here you go: [Thu Nov 06 16:11:08 2014] [warn] NameVirtualHost *:80 has no VirtualHosts VirtualHost configuration: [2001:4b98:dc0:41:216:3eff:fe18:db3b]:80 domain1.com (/

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Steve Matzura
On Thu, 6 Nov 2014 11:06:06 -0500, you wrote: >On Thu, Nov 6, 2014 at 10:43 AM, Steve Matzura wrote: >> NameVirtualHost *:80 > > >You probably have two or more of these, you only want 1. How does that jibe with the article saying I need a block for each domain? -

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Eric Covener
On Thu, Nov 6, 2014 at 10:43 AM, Steve Matzura wrote: > NameVirtualHost *:80 You probably have two or more of these, you only want 1. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail:

Re: [users@httpd] Problem with httpd.conf

2014-11-06 Thread Edgar Pettijohn
try this to test your virtual host config. #apache2ctl -S On 11/06/2014 09:43 AM, Steve Matzura wrote: > When restarting the server with 'apache2ctl restart', or when using > the -t option to check the syntax of files, I get the following after > the current date-and-time stamp: > > [warn] NameVi

Re: [users@httpd] Error when restarting server as root

2014-11-06 Thread Steve Matzura
OK, the bad news is, apachectl didn't work, but the good news is that apache2ctl did. The server restart fine with a 0-length httpd.conf. See next message for new problem. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.o

[users@httpd] Problem with httpd.conf

2014-11-06 Thread Steve Matzura
When restarting the server with 'apache2ctl restart', or when using the -t option to check the syntax of files, I get the following after the current date-and-time stamp: [warn] NameVirtualHost *:80 has no VirtualHosts Before I added anything to httpd.conf, it was empty--a 0-length file--which I

Re: [users@httpd] Error when restarting server as root

2014-11-06 Thread Eric Covener
On Wed, Nov 5, 2014 at 11:40 PM, Steve Matzura wrote: > I'm running version 2.2 on a Debian 4 system (OK, don't laugh please). Check the README.debian. You should at least use apache2ctl. - To unsubscribe, e-mail: users-unsubsc

Re: [users@httpd] Error when restarting server as root

2014-11-06 Thread Edgar Pettijohn
Have you tried these: # apachectl graceful # apachectl configtest On 11/05/2014 10:40 PM, Steve Matzura wrote: > I'm running version 2.2 on a Debian 4 system (OK, don't laugh please). > It's been running swell for years. And before anyone says the answer > to life, the universe and everything is