L
laredotornado
Hello,
I just instaleld Tomcat 5.5 on Fedora Core 5 Linux. Everything works
fine if I make absolutely no changes to anything, including server.xml
with this host element ...
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
However, I want to change the default webapps directory. I notice when
I change to any other directory (the one below exists and has 775
permissions)
<Host name="localhost" appBase="/usr/local/apache2/htdocs"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
I get this error by doing "wget" ...
[root@localhost bin]# wget http://localhost:8080/
--08:29:46-- http://localhost:8080/
=> `index.html'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 400 No Host matches server name
localhost
08:29:46 ERROR 400: No Host matches server name localhost.
Any ideas where I might start troubleshooting the problem?
Thanks, - Dave
I just instaleld Tomcat 5.5 on Fedora Core 5 Linux. Everything works
fine if I make absolutely no changes to anything, including server.xml
with this host element ...
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
However, I want to change the default webapps directory. I notice when
I change to any other directory (the one below exists and has 775
permissions)
<Host name="localhost" appBase="/usr/local/apache2/htdocs"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
I get this error by doing "wget" ...
[root@localhost bin]# wget http://localhost:8080/
--08:29:46-- http://localhost:8080/
=> `index.html'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 400 No Host matches server name
localhost
08:29:46 ERROR 400: No Host matches server name localhost.
Any ideas where I might start troubleshooting the problem?
Thanks, - Dave