tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com>
Subject Re: TOMCAT with multiple sites (one on https, others on http)
Date Thu, 09 Aug 2012 15:10:06 GMT
See comment inline.

On 8/9/2012 6:58 AM, Massimo Chirivì - Ict Consultant wrote:
> i have correct the server.xml, but into the folder catalinassl there is
> www.site3.net, but all child folders are empty,
> - with netstat the https is up
> ----------------------------------------------------------------------------------
> <Service name="Catalinassl">
>
> <Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol"
> maxHttpHeaderSize="8192" maxThreads="150" enableLookups="false"
> disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true"
> SSLEnabled="true" clientAuth="false" sslProtocol="TLS"
> keystoreFile="/conf/site3" keypass="qwertyuiop" />
>
>   <Engine name="Catalinassl" defaultHost="localhost">
>   <Host name="www.site3.net" debug="1" unpackWARs="true">
> <Logger className="org.apache.catalina.logger.FileLogger"
>                   directory="logs"  prefix="virtual_log29." suffix=".txt"
> timestamp="true"/>
>          <Context path="" docBase="/webapps/site3" debug="0"
> reloadable="true"/>
>          <Valve className="org.apache.catalina.valves.AccessLogValve"
>                   directory="logs"  prefix="virtual_log." suffix=".txt"
>                   pattern="common"/>
> </Host>
>    </Engine>
>      </Service>
> </Server>
> ----------------------------------------------------------------------------------

No, you have not corrected your server.xml. You are ignoring everyone's 
recommendations and the Wiki document which lays out in great detail how 
to set up virtual hosts.

Please read and follow this Wiki document.

http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts

Your paths (/webapps/site3, etc.) make absolutely NO sense unless you 
have a directory at the ROOT of your file system called /webapps/site3.

/mde/

>
> 2012/8/8 Christopher Schultz-2 [via Tomcat] <
> ml-node+s10n4984981h29@n6.nabble.com>
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Martin,
>>
>> On 8/7/12 1:12 PM, Martin Gainty wrote:
>>>
>>> <snip>INFO: Initializing Coyote AJP/1.3 on ajp-8009
>>>> 7-ago-2012 18.42.53 org.apache.coyote.http11.Http11AprProtocol
>>>> init GRAVE: Error initializing endpoint java.lang.Exception: No
>>>> Certificate file specified
>>>
>>> </snip> client request on Port 8009 wont pass through *until* you
>>> get the Certificate from the site administrator
>>
>> It appears that the OP is not using AJP at all, so your response does
>> not help.
>>
>> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAlAh3REACgkQ9CaO5/Lv0PCmjgCgogIeyhqfRIP96KuDOWz7Q7gI
>> /t8AoKDKdMSHsNKwCuF+k2cZvVmadex7
>> =42Bh
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4984981&i=0>
>> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4984981&i=1>
>>
>>
>>
>> ------------------------------
>>   If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://tomcat.10.n6.nabble.com/TOMCAT-with-multiple-sites-one-on-https-others-on-http-tp4462105p4984981.html
>>   To unsubscribe from TOMCAT with multiple sites (one on https, others on
>> http), click here<http://tomcat.10.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4462105&code=aW5mb0BtYXNzaW1vY2hpcml2aS5uZXR8NDQ2MjEwNXwxMTc5MDcxMzk2>
>> .
>> NAML<http://tomcat.10.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message