Re: [us...@httpd] VirtualHost Directory Not Found

2009-11-04 Thread Robert Harrison
Okay. I copied a fresh default-server.conf into /etc/apache2. It has the DocumentRoot and Directory stanzas. I added NameVirtualHost aaa.xxx.yyy.zzz:80 to it. Here is a fresh copy of the VirtualHost configuration. I turned CanonicalNames on and removed the Options and AllowOverride lines from

Re: [us...@httpd] VirtualHost Directory Not Found

2009-10-30 Thread André Warnier
Igor Cicimov wrote: Directory /usr/local/tomcat/webapps5/ROOT Which is usually a Bad Idea. Tomcat knows that it should not serve, e.g., the contents of a WEB-INF directory. Apache httpd does not know that. So unless you proxy *everything* to Tomcat (which would then raise the question of

[us...@httpd] VirtualHost Directory Not Found

2009-10-29 Thread Robert Harrison
I have Apache 2.2.8 installed on a machine running openSuse. I have set up mixed name-based and ip-based virtual hosting. Listen.conf Listen *:80 Listen *:443 default-server.conf NameVirtualHost aaa.xxx.yyy.zzz:80 ServerName localhost DocumentRoot and Directory have been removed. A name-based

Re: [us...@httpd] VirtualHost Directory Not Found

2009-10-29 Thread Igor Cicimov
Couple of questions DocumentRoot and Directory have been removed. Why did you do that? Directory /usr/local/tomcat/webapps5/ROOT Options -Indexes +FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory I think you need Alias directive here

Re: [us...@httpd] VirtualHost Directory Not Found

2009-10-29 Thread Robert Harrison
Igor, Thanks very much for your questions. I removed the DocumentRoot and Directory stanzas from default-serverl.conf just to simplify things where I could. The path in the Directory stanza is the same as DocumentRoot. It was my understanding that an Alias would only be needed if the files