httpd-users mailing list archives

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

----- "Anisha Parveen" <anishaparveen2202@gmail.com> 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
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message