Hi Adrian.
2. Changed <Engine name="Catalina" defaultHost="localhost">
to
<Engine name="Catalina" defaultHost="www.mywebsite.info">
Not really necessary ... not wrong, just not necessary. Localhost,
which was declared as the default host in the Host element above and
would have naturally taken any request without an explicitly matching
Host element.
3. Changed <Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
to
<Host name="www.mywebsite.info" appBase="webapps/magnoliaPublic"
unpackWARs="true" autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false">
Again, not necessary .... not wrong ... just unnecessary. See above.
The name of the folder containing the application is magnoliaPublic
Then you should be requesting http://www.mywebsite.info/magnoliaPublic.
If you want magnoliaPublic to be the default webapp, it should be named
ROOT (case is important).
Your result (the blank page) may be because their is no ROOT webapp or
because of an exception processing the default page. Hard to say what's
happening at this point. You should review your logs, both tomcat's and
magnolia's for possible sources of issues. Also check to be sure tomcat
is listening on port 80 as that's the default port web browsers contact
when you don't add a colon and port number after your domain name in the
URL.
--David
Adrian Butnaru wrote:
But is there any chance to make it working only woth Tomcat?
I really do not need Apache.
Adrian
Ruben Reusser schreef:
you probably would be better off installing apache in front of tomcat
and use a reverse proxy or mod_jk
Ruben
Adrian Butnaru wrote:
Hi I am a newbie trying to use Tomcat to run a website (e.g
www.mywebsite.info) on a Virtual Private Server (VPS). I built the
website using Magnolia CMS. My domain is registered by the provider
of the VPS. I uploaded my application in the webapps folder. The
name of the folder containing the application is magnoliaPublic. I
did the following changes in server.xml:
1. Changed the Connector port from 8080 to 80.
2. Changed <Engine name="Catalina" defaultHost="localhost">
to
<Engine name="Catalina" defaultHost="www.mywebsite.info">
3. Changed <Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false">
to
<Host name="www.mywebsite.info" appBase="webapps/magnoliaPublic"
unpackWARs="true" autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false">
If I try www.mywebsite.info in my browser I cannot see nothing.
Can you please guide how to make my website working? Is it something
more I should do?
Thanks
A.
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------