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
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
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
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
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