httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <>
Subject Re: [users@httpd] Httpd Configuration Clarification
Date Thu, 29 Apr 2010 14:25:51 GMT

----- "Anisha Parveen" <> wrote:

> Hi,
> I am facing a problem with my configuration. Problem basically is that
> I am able to access the WebServices URL Say
> https://hostname:443/cns/ser/CTConfigService through the browser.
> However, the script running on the machine checks an url
> https://localhost:443/cns/ser/CTConfigService .

That is, to an SSL service especially, not the same.
The SSL Certificate will be issued to ``hostname'' and that is not the
same as localhost, so it won't work, it won't be verifiable
Even locally, you'll have to check against ``hostname'' -- in the worst
case you'll have to edit your hosts file.
> The webservice url is not accessible through localhost from the same
> box.
> I have attached my httpd.conf and mod_jk.conf-cns files.

No you haven't. You have attatched a RAR file.

Here's a great advise up-front:
i.galic@prvix ~ % alias uncomment
uncomment='sed "/^\s*#/d;/^\s*$/d"'
i.galic@prvix ~ %

This will greatly help you to ``optimize'' your configuration, making
it smaller thus guaranteeing that people will actually look at it and
see something from it -- you included.
Next, you're loading *ALL* modules. You probably don't need *ALL*.

mod_jk.conf-cns defines <VirtualHost localhost:*>

If anything in that config works out, this is the one that would catch your
request from above.

All in all, this configuration is greatly confusing. Needlessly so.
If you do not rely on any special features of mod_jk, I would advise
the use of mod_proxy_ajp in httpd 2.2
> Any pointers or tutorials on configuration would be hihgly useful.
> Thanks in advance,
> Anisha 

So long,
Igor Galić

Tel: +43 (0) 699 122 96 338
Fax: +43(0) 1 91 333 41

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message