You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Anisha Parveen -X (anparvee - Infosys at Cisco)" <an...@cisco.com> on 2010/04/29 08:24:07 UTC

Httpd Configuration Clarification

Hi,

I am facing a problem with my configuration. Problem basically is that I
am able to access the WebServices URL
Say http://hostname:443/cns/ser/CTConfigService through the browser. 

However, the script running on the machine checks an url
https://localhost:443/cns/ser/CTConfigService. 
The webservice url is not accessible through localhost from the same
box.

I have attached my httpd.conf and mod_jk.conf-cns files. 
Kindly let me know what changes need to be done, such that the URL is
accessible through localhost from the same machine
And through hostname from the browser in other machines.

Any pointers or tutorials on configuration would be hihgly useful.

Thanks in advance,
Anisha

Re: Httpd Configuration Clarification

Posted by David Smith <da...@cornell.edu>.
Adjust your script to check http://hostname:443/...  An SSL cert is tied
to a hostname and will probably fail due to certificate issues if you
attempt to access via localhost.  Some http script libraries can be
rather draconian on this issue.

--David

On 4/29/2010 3:35 AM, Anisha Parveen wrote:
> Thank you for the response. That was a type error.
>  https://hostname:443/cns/ser/CTConfigService<https://hostname/cns/ser/CTConfigService>
> On Thu, Apr 29, 2010 at 12:54 PM, Pid <pi...@pidster.com> wrote:
>
>   
>> On 29/04/2010 07:24, Anisha Parveen -X (anparvee - Infosys at Cisco) wrote:
>>     
>>> Hi,
>>>
>>> I am facing a problem with my configuration. Problem basically is that I
>>> am able to access the WebServices URL
>>> Say http://hostname:443/cns/ser/CTConfigService through the browser.
>>>       
>> Your SSL config is probably broken, if you're using port 443 without https.
>>
>>     
>>> However, the script running on the machine checks an url
>>> https://localhost:443/cns/ser/CTConfigService<https://localhost/cns/ser/CTConfigService>
>>>       
>> .
>>     
>>> The webservice url is not accessible through localhost from the same
>>> box.
>>>
>>> I have attached my httpd.conf and mod_jk.conf-cns files.
>>>       
>> The list often strips attachments.
>>
>>     
>>> Kindly let me know what changes need to be done, such that the URL is
>>> accessible through localhost from the same machine
>>> And through hostname from the browser in other machines.
>>>
>>> Any pointers or tutorials on configuration would be hihgly useful.
>>>       
>> There's no clue that this is a Tomcat related question, perhaps you're
>> in the wrong place.
>>
>> If you're looking for the Apache HTTPD users list, it's here:
>>
>>  http://httpd.apache.org/lists.html
>>
>>
>> p
>>
>>
>>     
>>> Thanks in advance,
>>> Anisha
>>>
>>>       
>>
>>
>>     


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


Re: Httpd Configuration Clarification

Posted by Anisha Parveen <an...@gmail.com>.
Thank you for the response. That was a type error.
 https://hostname:443/cns/ser/CTConfigService<https://hostname/cns/ser/CTConfigService>
On Thu, Apr 29, 2010 at 12:54 PM, Pid <pi...@pidster.com> wrote:

> On 29/04/2010 07:24, Anisha Parveen -X (anparvee - Infosys at Cisco) wrote:
> > Hi,
> >
> > I am facing a problem with my configuration. Problem basically is that I
> > am able to access the WebServices URL
> > Say http://hostname:443/cns/ser/CTConfigService through the browser.
>
> Your SSL config is probably broken, if you're using port 443 without https.
>
> > However, the script running on the machine checks an url
> > https://localhost:443/cns/ser/CTConfigService<https://localhost/cns/ser/CTConfigService>
> .
> > The webservice url is not accessible through localhost from the same
> > box.
> >
> > I have attached my httpd.conf and mod_jk.conf-cns files.
>
> The list often strips attachments.
>
> > Kindly let me know what changes need to be done, such that the URL is
> > accessible through localhost from the same machine
> > And through hostname from the browser in other machines.
> >
> > Any pointers or tutorials on configuration would be hihgly useful.
>
> There's no clue that this is a Tomcat related question, perhaps you're
> in the wrong place.
>
> If you're looking for the Apache HTTPD users list, it's here:
>
>  http://httpd.apache.org/lists.html
>
>
> p
>
>
> > Thanks in advance,
> > Anisha
> >
>
>
>

Re: Httpd Configuration Clarification

Posted by Pid <pi...@pidster.com>.
On 29/04/2010 07:24, Anisha Parveen -X (anparvee - Infosys at Cisco) wrote:
> Hi,
> 
> I am facing a problem with my configuration. Problem basically is that I
> am able to access the WebServices URL
> Say http://hostname:443/cns/ser/CTConfigService through the browser. 

Your SSL config is probably broken, if you're using port 443 without https.

> However, the script running on the machine checks an url
> https://localhost:443/cns/ser/CTConfigService. 
> The webservice url is not accessible through localhost from the same
> box.
> 
> I have attached my httpd.conf and mod_jk.conf-cns files. 

The list often strips attachments.

> Kindly let me know what changes need to be done, such that the URL is
> accessible through localhost from the same machine
> And through hostname from the browser in other machines.
>
> Any pointers or tutorials on configuration would be hihgly useful.

There's no clue that this is a Tomcat related question, perhaps you're
in the wrong place.

If you're looking for the Apache HTTPD users list, it's here:

 http://httpd.apache.org/lists.html


p


> Thanks in advance,
> Anisha
>