Just set up a new site, but out of the box, except for home and my page, give me a 404 error. I realize I have the community edition, but can I get a little help here? I'll never graduate to a paid edition without it.
Discuss Installation and Upgrade
New Install Problems
You need to be logged in to post messages
This question is answered
This is likely a Tomcat setup issue, but without further details like OS, Java version and Tomcat version I'm just guessing.
In Tomcat's conf/server.xml file I add Hosts like this:
<Host name="web.example.com" appBase="/home/webapps/web"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
Then in the /home/webapps/web directory I have a single file called ROOT.war which is Connect renamed to ROOT.war.
This keeps the files separate from Tomcat's default hosts.
Does that help?
Actually, it's incredibly different. Do you have any suggestions?
<Host name="connect.getpulp.com" appBase="/home/pulp1706/public_html" unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>www.connect.getpulp.com</Alias>
<Context path="/" reloadable="true" docBase="/home/pulp1706/public_html"/>
<Context path="/manager" docBase="/usr/local/tomcat/users/pulp1706/tomcat/webapps/manager"
privileged="true" antiResourceLocking="false" antiJARLocking="false" reloadable="true" />
</Host>
Hi Robert, that configuration isn't far off and might be ok. I'm seeing that the site is running through Apache Web Server (as well as Tomcat) so it likely has to do with the Apache Web Server configuration. Does that assumption sound right?
I'll look around and see if I have an example httpd.conf entry. What will be needed is for all requests for that domain name to go through Apache Tomcat and let it handle everything.
I'm new to Tomcat and this hosting service. This is all I am hosting here. Perhaps I can just disable Apache?
Actually, yes. You can disable Apache and change Tomcat's config to use Port 80.
Let's see if I can get apache off of port 80, at least. Shared hosting so it may or may not be possible.
Nope, can't affest apache functionality, other than through standard htaccess configuration.
Any ides?
There are a couple of different connectors between Apache and Tomcat... is there somewhere that you can see (like in an httpd.conf httpd.d or .htaccess file) that specifies something like:
JkMount /* ajp13
The goal is to get everything to run under Tomcat which can be done.
Searching the server fromn my root, I see none of those files.
Does the hosting provider give you a web interface to your website, like cpanel? It could be in there too.