Okay.
I copied a fresh default-server.conf into /etc/apache2. It has the
DocumentRoot and 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
the stat
Igor Cicimov wrote:
"
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 why you have Apache), Apache will happily
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 were
Couple of questions
"DocumentRoot and have been removed."
Why did you do that?
"
Options -Indexes +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
"
I think you need Alias directive here in front of the to
bring that directory into apache doc
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 have been removed.
A name-based virtual ho