[users@httpd] Need Help Urgently: Printing access details in Apache Access logs

2013-04-10 Thread santosh kumar
Hi

I am in search of any tool through which i can measure quality of service
of my sebservice which is being accessed through Apache .
My webservice is being deployed on tomcat and being accessed by Apache from
outer  world.
The problem i am facing is My Customer uses apache's access logs to measure
the quality of service by just seeing the error codes 200 (for OK) and rest
others as NOK.

When my service raises any exception ex:object not found then its an OK
case in regard to my quality of web service but apache shows code as 500
and they assume that my web service quality is bad.

is there any way through which we can print the response of web service in
access logs in Apache.

I need this help urgently if anybody could do it pls

*With Regards*
*Santosh Kumar*

 



[users@httpd] SSL Proxy Tunnel to Tomcat SSL WebSocket

2013-04-10 Thread Jamie Johnson
I had originally sent this to the dev list but it has seemed to stall
there, perhaps it is more appropriate on this list.

Should proxying requests from wss:// to an apache tomcat server using
wss:// work?  From the logs (included below) it appears that the ws proxy
tunnel is picking up and making the connection, but then it disconnects.
 I've tried to add some logging to tomcat, but I am not seeing the request
hit the tomcat server, should this work or is there something else that
needs to be done config wise (also included below)?

[Fri Mar 29 17:23:20.386068 2013] [ssl:info] [pid 29972:tid 47105066768704]
[client 10.81.1.12:64038] AH01964: Connection to child 2 established
(server hostname:443)
[Fri Mar 29 17:23:20.401204 2013] [ssl:debug] [pid 29972:tid
47105066768704] ssl_engine_kernel.c(1899): [client 10.81.1.12:64038]
AH02041: Protocol: TLSv1, Cipher: DHE-RSA-AES256-SHA (256/256 bits)
[Fri Mar 29 17:23:20.418721 2013] [ssl:debug] [pid 29972:tid
47105066768704] ssl_engine_kernel.c(216): [client 10.81.1.12:64038]
AH02034: Initial (No.1) HTTPS request received for child 2 (server
hostname:443)
[Fri Mar 29 17:23:20.418762 2013] [authz_core:debug] [pid 29972:tid
47105066768704] mod_authz_core.c(799): [client 10.81.1.12:64038] AH01626:
authorization result of Require all granted: granted
[Fri Mar 29 17:23:20.418773 2013] [authz_core:debug] [pid 29972:tid
47105066768704] mod_authz_core.c(799): [client 10.81.1.12:64038] AH01626:
authorization result of : granted
[Fri Mar 29 17:23:20.418821 2013] [proxy:debug] [pid 29972:tid
47105066768704] mod_proxy.c(1081): [client 10.81.1.12:64038] AH01143:
Running scheme wss handler (attempt 0)
[Fri Mar 29 17:23:20.418833 2013] [proxy_http:debug] [pid 29972:tid
47105066768704] mod_proxy_http.c(1909): [client 10.81.1.12:64038] AH01113:
HTTP: declining URL wss://hostname:8443/alert/event
[Fri Mar 29 17:23:20.418841 2013] [proxy_wstunnel:debug] [pid 29972:tid
47105066768704] mod_proxy_wstunnel.c(331): [client 10.81.1.12:64038]
AH02451: serving URL wss://hostname:8443/alert/event
[Fri Mar 29 17:23:20.418850 2013] [proxy:debug] [pid 29972:tid
47105066768704] proxy_util.c(2011): AH00942: WSS: has acquired connection
for (hostname)
[Fri Mar 29 17:23:20.418859 2013] [proxy:debug] [pid 29972:tid
47105066768704] proxy_util.c(2089): [client 10.81.1.12:64038] AH00944:
connecting wss://hostname:8443/alert/event to hostname:8443
[Fri Mar 29 17:23:20.418869 2013] [proxy:debug] [pid 29972:tid
47105066768704] proxy_util.c(2218): [client 10.81.1.12:64038] AH00947:
connected /alert/event to hostname:8443
[Fri Mar 29 17:23:20.418914 2013] [proxy:debug] [pid 29972:tid
47105066768704] proxy_util.c(2453): AH00951: WSS: backend socket is
disconnected.




  ErrorLog "/usr/local/apache2/logs/error_log"
  TransferLog "/usr/local/apache2/logs/access_log"

  SSLEngine on
  SSLProxyEngine on

  ProxyPreserveHost on
  ProxyRequests off

  ProxyPass /event wss://hostname:8443/alert/event
  ProxyPassReverse /event wss://hostname:8443/alert/event
  ...


If I don't use SSL on the tomcat instance things work properly.

Here is the readable text from the wireshark capture.  The request that
works looks like this

Apache running HTTPS talking to tomcat on port 8080 (non-ssl)

E@@I
Q
QmiPGET /alert/event HTTP/1.1
Host: ###.com
Origin: https://###.com
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: vPVEY5WCf17Od94k+c/MpQ==
Sec-WebSocket-Version: 13
Sec-WebSocket-Extensions: x-webkit-deflate-frame
X-Forwarded-For: 10.81.1.12
X-Forwarded-Host: ###.com
X-Forwarded-Server: ###.com
Upgrade: WebSocket
Connection: Upgrade

us-cli > 27905 [ACK]

E@@`
Q
Qmi+P 5HTTP/1.1 101 Switching Protocols
Server: Apache-Coyote/1.1
Upgrade: websocket
Connection: upgrade
Sec-WebSocket-Accept: aYYtgKFlU/vrt/MCQ9EQHlPQY5c=
Date: Tue, 02 Apr 2013 13:45:07 GMT


the request that fails looks like this

Apache running HTTPS forwarding to tomcat on 8443 (SSL)

Eh@@

Q
Q 1N,BgPGET /alert/event HTTP/1.1
Host: ###.com
Origin: https://###.com
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: OfRlq1skxYe1Z0EqD5u9Hg==
Sec-WebSocket-Version: 13
Sec-WebSocket-Extensions: x-webkit-deflate-frame
X-Forwarded-For: 10.81.1.12
X-Forwarded-Host: ###.com
X-Forwarded-Server: ###.com
Upgrade: WebSocket
Connection: Upgrade

pcsync-https > 44249 [ACK]
pcsync-https > 44249 [PSH, ACK]
44249 > pcsync-https [ACK]
pcsync-https > 44249 [FIN, ACK]
44249 > pcsync-https [ACK]


It's obvious the upgrade is not happening but I don't know where to look
for why.  Again any information is appreciated.


[users@httpd] Apache Upgrade Question ...

2013-04-10 Thread CR Rajesh




Hello,

  I'm currently running Apache version Apache/2.2.11 in Ubuntu 9.04. I want 
to update this to atleast Apache 2.2.24 for PCI compliance.

Can you help me in getting the instructions for a safe and successful upgrade?

Thanks,
Rajesh.


  

Re: [users@httpd] Re: mod_proxy integrate mod_cband apache http server

2013-04-10 Thread Igor Cicimov
> CBandExceededSpeed 128 5 15
> CBandExceededURL http://24h.com.vn
>
As far as I know the CBandExceededSpeed and the CBandExceededURL directives
are mutually exclusive. They do not make sense in the same vhost.


[users@httpd] Chroot + ITK

2013-04-10 Thread James Devine
Is there a way to get chroot and MPM-ITK to work in concert?  chroot works
when I use prefork but with itk it seems to be ignored.  I am using ubuntu
12.04 + apache 2.2.22-1ubuntu1.


Re: [users@httpd] Failure to start 2.4.4

2013-04-10 Thread Redalert Commander
>
> I found something in configure that looks like an option, 'runtimedir',
> but that is not actually a valid option.
> Something is definately wrong here, I see other people having the
> authdigest_shm files in /var/run/httpd by default, without extra configure
> arguments.

Replying to myself... it appears that I missed the "--enable-layout=" argument.
This then goes looking for a directive in config.layout
The runtimedir is present there, it appears the option for the
runtimedir has been removed from configure and is only available in
config.layout.

Sorry for the noise.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Failure to start 2.4.4

2013-04-10 Thread Redalert Commander
On Wed, April 10, 2013 14:17, Jens-U. Mozdzen wrote:
> Hi Steven,
>
> Zitat von Redalert Commander :
>> Hi Jens, thanks for having a look.
>>
>> 2013/4/10 Jens-U. Mozdzen :
>>> Hi Steve,
>>>
[...]
>>>
>>> I believe you have no or a wrong path set for the shared memory
>>> location...
>>> it shouldn't point to "/etc/httpd/logs/authdigest_shm.23908", but more
>>> probably to "/var/log/httpd/..." or even better to "/var/run/httpd/..."
>>> (or
>>> similar)?
>>
>> /etc/httpd/logs is a symlink to /var/log/httpd.
>
> ah, I should have thought of that.
>
> In your original message you wrote that httpd is running as user (and
> group) "apache", and that /var/log/httpd is owned by root:root with
> 700 permission.
>
> Judging from that and the error message, httpd attempts to open the
> shm file as user "apache" (not "root") and thus fails. Is there any
> specific reason /var/log/httpd is not owned by your httpd user?

This is how it is done in both Fedora and RHEL releases (also for 2.4), my
guess is that this is done so that a compromised instance would be unable
to delete the logs since they are written with elevated permissions. (I
believe Debian does this as well).

>
>> Although /var/run/httpd does look like a better location for such a
>> file, so where would I configure this?
>> Is it a configure option when compiling or a directive in httpd.conf?
>> I couldn't find a reference to it on a quick search.
>
> Me neither - might be you'd have to look at the documentation written
> in that other language (I'm talking about the module's source code ;)
> ) to see if it is configurable. The online man page at least lists *no
> hint at all* that you may influence the location. Sorry for putting
> you on that wrong track.

I found something in configure that looks like an option, 'runtimedir',
but that is not actually a valid option.
Something is definately wrong here, I see other people having the
authdigest_shm files in /var/run/httpd by default, without extra configure
arguments.

[...]

Regards,
Steven

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Currently facing some reverse proxy issues

2013-04-10 Thread Loic Paturel
Hi,
thanks for your answer.
I've tried to put both directives outside my  tags but the
behavior is still the same with this configuration.
At that time, I've to choose whether I configure version1 or version2
inside apache but I can't reach both without re-configuring it.

The link you're providing was the stuff I've first looked at but it seems
that the utilization I want is a particular case...

Loic


2013/4/10 Philip Wigg 

> Try removing your ProxyPass and ProxyPassReverse directives from inside
>  directives and just put them directly inside your 
>
> Then use them as detailed in the docs:-
>
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
>
> i.e. something like:-
>
> ProxyPass /version_App1/subdirectory http://ipAppServer:port1/subdirectory
> ProxyPassReverse /version_App1/subdirectory http://ipAppServer:port1
> /subdirectory
>
> ProxyPass /version_App2/subdirectory http://ipAppServer:port2/subdirectory
> ProxyPassReverse /version_App2/subdirectory http://ipAppServer:port2
> /subdirectory
>
> Phil.
>
>
> On 9 April 2013 16:14, Loic Paturel  wrote:
>
>> Hello there,
>>
>> I'll try to explain my issue as clearly as possible.
>> My architecture looks like this :
>> some web space <---> outside server (apache server) <---> application
>> server
>>
>> I've defined a VirtualHost on some outside server ip:port and then some
>> location inside this VHost. This configuration hosts 2 different locations
>> to be redirected on 2 different applciations on the application server
>> (App1 and App2). Both application are 2 different versions on the same
>> basis.
>> I'd like to be able to redirect the following addresses towards the 2
>> applications according to their versions, such as :
>> https://ip:port/version_App1/subdirectory
>> https://ip:port/version_App2/subdirectory
>>
>> In order to do this, I've created 2 Location such as following :
>> ProxyPreserveHost on
>> 
>> ProxyPass http://ipAppServer:port1/subdirectory
>> ProxyPassReverse http://ipAppServer:port1/subdirectory
>> 
>> 
>> ProxyPass http://ipAppServer:port2/subdirectory
>> ProxyPassReverse http://ipAppServer:port2/subdirectory
>> 
>>
>> My issue concerns the response I receive from the application server
>> which always answers with a redirection but omit the version in the
>> response. It answers me as following :
>> https://ip:port
>> /subdirectory/common/loginView.do;jsessionid=C3E6707A5BA4FD393B5E22525F4D764B
>> whereas I expect  :
>> https://ip:port
>> /version/subdirectory/common/loginView.do;jsessionid=C3E6707A5BA4FD393B5E22525F4D764B
>>
>> Could someone help me with the rewriting of the response from the
>> application server, to be able to keep the version inside the url I get as
>> answer from the server and which is viewed by the user ?
>>
>> I hope that I've been clear enough and that this has an easy solution.
>> I've read some topic that I think are related to this, but no solution fit
>> to my issue.
>> Thanks in advance.
>>  Loic
>>
>
>


Re: [users@httpd] Failure to start 2.4.4

2013-04-10 Thread Jens-U. Mozdzen

Hi Steven,

Zitat von Redalert Commander :

Hi Jens, thanks for having a look.

2013/4/10 Jens-U. Mozdzen :

Hi Steve,

Zitat von Redalert Commander :


[...]


# cat /var/log/httpd/error_log
[Wed Apr 10 12:44:44.796571 2013] [suexec:notice] [pid 23907] AH01232:
suEX= EC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Apr 10
12:44:44.819405 2013] [auth_digest:notice] [pid 23908] AH01757:=
generating secret for digest authentication ...
[Wed Apr 10 12:44:44.819655 2013] [auth_digest:error] [pid 23908]
(13)Permi= ssion denied: AH01762: Failed to create shared memory
segment on file /etc/=
httpd/logs/authdigest_shm.23908
[Wed Apr 10 12:44:44.819796 2013] [auth_digest:error] [pid 23908]
(13)Permi= ssion denied: AH01760: failed to initialize shm - all
nonce-count checking,=  one-time nonces, and MD5-sess algorithm
disabled [Wed Apr 10 12:44:44.819807 2013] [:emerg] [pid 23908]
AH00020: Configurati= on Failed, exiting

In httpd.conf, both 'User apache' en 'Group apache' are specified.



I believe you have no or a wrong path set for the shared memory location...
it shouldn't point to "/etc/httpd/logs/authdigest_shm.23908", but more
probably to "/var/log/httpd/..." or even better to "/var/run/httpd/..." (or
similar)?


/etc/httpd/logs is a symlink to /var/log/httpd.


ah, I should have thought of that.

In your original message you wrote that httpd is running as user (and  
group) "apache", and that /var/log/httpd is owned by root:root with  
700 permission.


Judging from that and the error message, httpd attempts to open the  
shm file as user "apache" (not "root") and thus fails. Is there any  
specific reason /var/log/httpd is not owned by your httpd user?



Although /var/run/httpd does look like a better location for such a
file, so where would I configure this?
Is it a configure option when compiling or a directive in httpd.conf?
I couldn't find a reference to it on a quick search.


Me neither - might be you'd have to look at the documentation written  
in that other language (I'm talking about the module's source code ;)  
) to see if it is configurable. The online man page at least lists *no  
hint at all* that you may influence the location. Sorry for putting  
you on that wrong track.


Regards,
Jens


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Failure to start 2.4.4

2013-04-10 Thread Redalert Commander
Hi Jens, thanks for having a look.

2013/4/10 Jens-U. Mozdzen :
> Hi Steve,
>
> Zitat von Redalert Commander :
>
[...]
>>
>> # cat /var/log/httpd/error_log
>> [Wed Apr 10 12:44:44.796571 2013] [suexec:notice] [pid 23907] AH01232:
>> suEX= EC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Apr 10
>> 12:44:44.819405 2013] [auth_digest:notice] [pid 23908] AH01757:=
>> generating secret for digest authentication ...
>> [Wed Apr 10 12:44:44.819655 2013] [auth_digest:error] [pid 23908]
>> (13)Permi= ssion denied: AH01762: Failed to create shared memory
>> segment on file /etc/=
>> httpd/logs/authdigest_shm.23908
>> [Wed Apr 10 12:44:44.819796 2013] [auth_digest:error] [pid 23908]
>> (13)Permi= ssion denied: AH01760: failed to initialize shm - all
>> nonce-count checking,=  one-time nonces, and MD5-sess algorithm
>> disabled [Wed Apr 10 12:44:44.819807 2013] [:emerg] [pid 23908]
>> AH00020: Configurati= on Failed, exiting
>>
>> In httpd.conf, both 'User apache' en 'Group apache' are specified.
>
>
> I believe you have no or a wrong path set for the shared memory location...
> it shouldn't point to "/etc/httpd/logs/authdigest_shm.23908", but more
> probably to "/var/log/httpd/..." or even better to "/var/run/httpd/..." (or
> similar)?

/etc/httpd/logs is a symlink to /var/log/httpd.
Although /var/run/httpd does look like a better location for such a
file, so where would I configure this?
Is it a configure option when compiling or a directive in httpd.conf?
I couldn't find a reference to it on a quick search.

Regards,
Steven

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: mod_proxy integrate mod_cband apache http server

2013-04-10 Thread xuan11290
i config mod_proxy apache2 with tomcat cluster(2 machine), that is ok.
i config mod_cband (virtual host based-name) apache2 to control traffic with
each virtual host, that is ok.

But i want integrate 2 module together. In virtual host tag, i config load
balancing with mod_proxy,
but that seem CBandLimit is useless

 #   ServerAdmin webmas...@dummy-host2.example.com
 DocumentRoot "/var/www/html/"
 ServerName admin.example.com
 CBandSpeed 1024 10 30
CBandRemoteSpeed 50kb/s 3 3
CBandLimit 10K
CBandExceededSpeed 128 5 15
#CBandScoreboard /var/www/scoreboard
CBandPeriod 1W
CBandExceededURL http://24h.com.vn

ProxyPass / balancer://mybalancer/ 
stickysession=JSESSIONID|jsessionid

BalancerMember http://10.1.1.77:8080 route=tomcat1 loadfactor=1
BalancerMember http://10.1.1.28:8080 route=tomcat2 loadfactor=1
ProxySet lbmethod=byrequests

# Forward Proxy
ProxyRequests Off

Order deny,allow
Deny from none
Allow from all






--
View this message in context: 
http://apache-http-server.18135.x6.nabble.com/mod-proxy-integrate-mod-cband-apache-http-server-tp5004885p5004887.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] mod_proxy integrate mod_cband apache http server

2013-04-10 Thread Eric Covener
On Wed, Apr 10, 2013 at 7:27 AM, xuan11290  wrote:
> I have 3 machines. One installs apache, two other installs tomcat. I config
> mod_proxy successful with them but when I config mod_cband, that seem to be
> useless. Any one has idea?

Elaborate on your problem if you want help.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] mod_proxy integrate mod_cband apache http server

2013-04-10 Thread xuan11290
I have 3 machines. One installs apache, two other installs tomcat. I config
mod_proxy successful with them but when I config mod_cband, that seem to be
useless. Any one has idea?



--
View this message in context: 
http://apache-http-server.18135.x6.nabble.com/mod-proxy-integrate-mod-cband-apache-http-server-tp5004885.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Failure to start 2.4.4

2013-04-10 Thread Jens-U. Mozdzen

Hi Steve,

Zitat von Redalert Commander :

Hello list,

I compiled version 2.4.4 from source and created an RPM package, I
used a spec file for a 2.2.3 package and changed it where required in
order to build successfully.
The httpd.conf file used was also for 2.2.3 (with minor changes as
defined in the section " Common problems when upgrading" from
http://httpd.apache.org/docs/2.4/upgrading.html).

After going through some errors about modules, for which the solution
was described in the documentation, I'm left with a more obscure
error.
The only thing I can see is in /var/log/httpd/error_log A file
authdigest_shm. is also created, but left empty.
Selinux is set to permissive, no entries appear to be logged here.
Apr and apr-util versions are 1.4.6 and 1.5.2 respectively.

Does anyone have any idea about what's wrong here?

# cat /var/log/httpd/error_log
[Wed Apr 10 12:44:44.796571 2013] [suexec:notice] [pid 23907] AH01232:
suEX= EC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Apr 10
12:44:44.819405 2013] [auth_digest:notice] [pid 23908] AH01757:=
generating secret for digest authentication ...
[Wed Apr 10 12:44:44.819655 2013] [auth_digest:error] [pid 23908]
(13)Permi= ssion denied: AH01762: Failed to create shared memory
segment on file /etc/=
httpd/logs/authdigest_shm.23908
[Wed Apr 10 12:44:44.819796 2013] [auth_digest:error] [pid 23908]
(13)Permi= ssion denied: AH01760: failed to initialize shm - all
nonce-count checking,=  one-time nonces, and MD5-sess algorithm
disabled [Wed Apr 10 12:44:44.819807 2013] [:emerg] [pid 23908]
AH00020: Configurati= on Failed, exiting

In httpd.conf, both 'User apache' en 'Group apache' are specified.


I believe you have no or a wrong path set for the shared memory  
location... it shouldn't point to  
"/etc/httpd/logs/authdigest_shm.23908", but more probably to  
"/var/log/httpd/..." or even better to "/var/run/httpd/..." (or  
similar)?


Regards,
Jens


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Currently facing some reverse proxy issues

2013-04-10 Thread Philip Wigg
Try removing your ProxyPass and ProxyPassReverse directives from inside
 directives and just put them directly inside your 

Then use them as detailed in the docs:-

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

i.e. something like:-

ProxyPass /version_App1/subdirectory http://ipAppServer:port1/subdirectory
ProxyPassReverse /version_App1/subdirectory http://ipAppServer:port1
/subdirectory

ProxyPass /version_App2/subdirectory http://ipAppServer:port2/subdirectory
ProxyPassReverse /version_App2/subdirectory http://ipAppServer:port2
/subdirectory

Phil.


On 9 April 2013 16:14, Loic Paturel  wrote:

> Hello there,
>
> I'll try to explain my issue as clearly as possible.
> My architecture looks like this :
> some web space <---> outside server (apache server) <---> application
> server
>
> I've defined a VirtualHost on some outside server ip:port and then some
> location inside this VHost. This configuration hosts 2 different locations
> to be redirected on 2 different applciations on the application server
> (App1 and App2). Both application are 2 different versions on the same
> basis.
> I'd like to be able to redirect the following addresses towards the 2
> applications according to their versions, such as :
> https://ip:port/version_App1/subdirectory
> https://ip:port/version_App2/subdirectory
>
> In order to do this, I've created 2 Location such as following :
> ProxyPreserveHost on
> 
> ProxyPass http://ipAppServer:port1/subdirectory
> ProxyPassReverse http://ipAppServer:port1/subdirectory
> 
> 
> ProxyPass http://ipAppServer:port2/subdirectory
> ProxyPassReverse http://ipAppServer:port2/subdirectory
> 
>
> My issue concerns the response I receive from the application server which
> always answers with a redirection but omit the version in the response. It
> answers me as following :
> https://ip:port
> /subdirectory/common/loginView.do;jsessionid=C3E6707A5BA4FD393B5E22525F4D764B
> whereas I expect  :
> https://ip:port
> /version/subdirectory/common/loginView.do;jsessionid=C3E6707A5BA4FD393B5E22525F4D764B
>
> Could someone help me with the rewriting of the response from the
> application server, to be able to keep the version inside the url I get as
> answer from the server and which is viewed by the user ?
>
> I hope that I've been clear enough and that this has an easy solution.
> I've read some topic that I think are related to this, but no solution fit
> to my issue.
> Thanks in advance.
> Loic
>


[users@httpd] Failure to start 2.4.4

2013-04-10 Thread Redalert Commander
Hello list,

I compiled version 2.4.4 from source and created an RPM package, I
used a spec file for a 2.2.3 package and changed it where required in
order to build successfully.
The httpd.conf file used was also for 2.2.3 (with minor changes as
defined in the section " Common problems when upgrading" from
http://httpd.apache.org/docs/2.4/upgrading.html).

After going through some errors about modules, for which the solution
was described in the documentation, I'm left with a more obscure
error.
The only thing I can see is in /var/log/httpd/error_log A file
authdigest_shm. is also created, but left empty.
Selinux is set to permissive, no entries appear to be logged here.
Apr and apr-util versions are 1.4.6 and 1.5.2 respectively.

Does anyone have any idea about what's wrong here?

# cat /var/log/httpd/error_log
[Wed Apr 10 12:44:44.796571 2013] [suexec:notice] [pid 23907] AH01232:
suEX= EC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Apr 10
12:44:44.819405 2013] [auth_digest:notice] [pid 23908] AH01757:=
generating secret for digest authentication ...
[Wed Apr 10 12:44:44.819655 2013] [auth_digest:error] [pid 23908]
(13)Permi= ssion denied: AH01762: Failed to create shared memory
segment on file /etc/=
httpd/logs/authdigest_shm.23908
[Wed Apr 10 12:44:44.819796 2013] [auth_digest:error] [pid 23908]
(13)Permi= ssion denied: AH01760: failed to initialize shm - all
nonce-count checking,=  one-time nonces, and MD5-sess algorithm
disabled [Wed Apr 10 12:44:44.819807 2013] [:emerg] [pid 23908]
AH00020: Configurati= on Failed, exiting

In httpd.conf, both 'User apache' en 'Group apache' are specified.

Some configure options that may be relevant:
--enable-suexec --with-suexec \
--with-suexec-caller=3D%{suexec_caller} \
--with-suexec-docroot=3D%{contentdir} \
--without-suexec-logfile \
--with-suexec-syslog \
--with-suexec-bin=3D%{_sbindir}/suexec \
--with-suexec-uidmin=3D500 --with-suexec-gidmin=3D100 \
--enable-pie \
--with-pcre \

And the contents of /var/log/httpd.
# ls -al /var/log/httpd/
total 12
drwx--. 2 root root 4096 Apr 10 12:44 .
drwxr-xr-x. 4 root root 4096 Apr 10 12:44 ..
-rw-r--r--. 1 root root0 Apr 10 12:44 access_log
-rw-r--r--. 1 root root0 Apr 10 12:44 authdigest_shm.23908
-rw-r--r--. 1 root root  724 Apr 10 12:44 error_log

Kind regards,
Steven

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org