[EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn

2006-07-20 Thread Manuela . Vorazzo

I've compiled Apache 2.2.2 and now I
would like to use apache with websphere plugin to pass requests to a remore
WebSphere Application Server.

I installed and configured the plugin
as written in the IBM guide and everything is Ok.
I can find these two new lines in the
httpd.conf:
LoadModule was_ap20_module /opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so
WebSpherePluginConfig /opt/CHROOT/HTTPD/WebSpherePlugin/config/atmweb-ts-proxy/plugin-cfg.xml


But now when I run the command 'apachectl
-t' I get the following:

httpd: Syntax error on line 225 of
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load /opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so
into server: /opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so:
cannot open shared object file: No such file or directory

The mod_was_ap20_http.so exists and
it is in the /opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.

Have you any idea

Please let me know, I would not like
to install Ibm Http Server!


Thanks in advance


MANUCIAO





Re: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn

2006-07-20 Thread Alexander Lazic

Hi,

On Don 20.07.2006 09:39, [EMAIL PROTECTED] wrote:


I've compiled Apache 2.2.2 and now I would like to use apache with
websphere plugin to pass requests to a remore WebSphere Application
Server.


Do you really must use the plugin or can you use the proxy-balance
module?

What i mean is if the plugin is only a http-proxy-plugin why not use the
build in modules of apache ;-)


But now when I run the command 'apachectl -t' I get the following:

httpd: Syntax error on line 225 of 
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server: 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open 
shared object file: No such file or directory


The mod_was_ap20_http.so exists and it is in the 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.


Have you any idea


Can the webserver user read the plugin  the config?
Is it right that you use a Linux-Distribution or do you use another OS?

Hth  Regards

Alex

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn

2006-07-20 Thread Manuela . Vorazzo

I'm using a Linux Suse 9.
I would like to use the plugin because
it was written for balancing throught WebSphere Application Server and
I think that if I have a WebSphere Application server on backend it
would be better using its plugin to reverse requests.

For Tomcat I'm using proxy pass reverse.

manuciaoThanks






Alexander Lazic [EMAIL PROTECTED]

20/07/2006 09.52



Please respond to
users@httpd.apache.org





To
users@httpd.apache.org


cc



Subject
Re: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere
PlugIn








Hi,

On Don 20.07.2006 09:39, [EMAIL PROTECTED] wrote:

I've compiled Apache 2.2.2 and now I would like to use apache with
websphere plugin to pass requests to a remore WebSphere Application
Server.

Do you really must use the plugin or can you use the proxy-balance
module?

What i mean is if the plugin is only a http-proxy-plugin why not use the
build in modules of apache ;-)

But now when I run the command 'apachectl -t' I get the following:

httpd: Syntax error on line 225 of 
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server:

/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot
open 
shared object file: No such file or directory

The mod_was_ap20_http.so exists and it is in the 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.

Have you any idea

Can the webserver user read the plugin  the config?
Is it right that you use a Linux-Distribution or do you use another OS?

Hth  Regards

Alex

-
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: [EMAIL PROTECTED]
from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn

2006-07-20 Thread Alexander Lazic

On Don 20.07.2006 10:01, [EMAIL PROTECTED] wrote:

I'm using a Linux Suse 9.
I would like to use the plugin because it was written for balancing 
throught WebSphere Application Server and I think that if I have a 
WebSphere Application server on backend  it would be better using its 
plugin to reverse requests.


Ok thanks for explanation.


Alexander Lazic wrote:

On Don 20.07.2006 09:39, [EMAIL PROTECTED] wrote:



But now when I run the command 'apachectl -t' I get the following:

httpd: Syntax error on line 225 of 
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server: 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open 
shared object file: No such file or directory


The mod_was_ap20_http.so exists and it is in the 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.


Have you any idea


Can the webserver user read the plugin  the config?
Is it right that you use a Linux-Distribution or do you use another OS?


How about this questions?!

Regards

Alex

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] problem loading DSO modules

2006-07-20 Thread Mauro



Hi all,
I'v configuread apache with these configure 
options:

# cat 
/home/mgatt/configure_options/httpd_configure_options.txt ./configure 
--prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique-id 
\--enable-usertrack --enable-mime-magic --enable-charset-lite 
\--enable-mods-shared=most

Then I tried to load some module in 
httpd.conf:

...
LoadModule mod_env modules/mod_env.soLoadModule 
mod_mime modules/mod_mime.soLoadModule mod_unique_id 
modules/mod_unique_id.soLoadModule mod_cgi modules/mod_cgi.soLoadModule 
mod_charset_lite modules/mod_charset_lite.so
...

but I got this error running web 
server:

httpd: Syntax error on line 54 of 
/data/programs/httpd-2.2.2/conf/httpd.conf: Can't locate API module structure 
`mod_env' in file /data/programs/apache2/modules/mod_env.so: 
/data/programs/apache2/modules/mod_env.so: undefined symbol: 
mod_env

where:
# ls -la /data/programs/apache2/modules/mod_env.so 
-rwxr-xr-x 1 root root 23491 Jul 20 09:23 
/data/programs/apache2/modules/mod_env.so

Could you help me to understand why apache doesn't 
load shared modules?

Thank You

Regards

Mauro



Re: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn

2006-07-20 Thread Manuela . Vorazzo

The permission bits for allthe plugin
directory are 755.
I'm on Z/linux. But it is the same as
in another suse linux version.

My question is if with a compiled apache
(and then I don't load modules dinamically and I've no modules
loaded with Load Module) I can use the LoadModule directive.
If yes then probably then probably the
WebSphere PlugIn was compiled with some options that are not compatible
with the ones I've used to compile apache.

manuciao 





Alexander Lazic [EMAIL PROTECTED]

20/07/2006 10.10



Please respond to
users@httpd.apache.org





To
users@httpd.apache.org


cc



Subject
Re: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere
PlugIn








On Don 20.07.2006 10:01, [EMAIL PROTECTED] wrote:
I'm using a Linux Suse 9.
I would like to use the plugin because it was written for balancing

throught WebSphere Application Server and I think that if I have a

WebSphere Application server on backend it would be better using
its 
plugin to reverse requests.

Ok thanks for explanation.

Alexander Lazic wrote:
On Don 20.07.2006 09:39, [EMAIL PROTECTED] wrote:

But now when I run the command 'apachectl -t' I get the following:

httpd: Syntax error on line 225 of 
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into
server: 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot
open 
shared object file: No such file or directory

The mod_was_ap20_http.so exists and it is in the 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.

Have you any idea

Can the webserver user read the plugin  the config?
Is it right that you use a Linux-Distribution or do you use another
OS?

How about this questions?!

Regards

Alex

-
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: [EMAIL PROTECTED]
from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [EMAIL PROTECTED] problem loading DSO modules

2006-07-20 Thread Mauro
My OS is RH Enterprise 4
obviusly mod_so is staticall loaded:
# ../bin/httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

I'm loading only modules you are reading
enven checkconf got me same error.


Thank You

- Original Message - 
From: Alexander Lazic [EMAIL PROTECTED]
To: users@httpd.apache.org
Sent: Thursday, July 20, 2006 10:16 AM
Subject: Re: [EMAIL PROTECTED] problem loading DSO modules


 Hi,

 On Don 20.07.2006 10:12, Mauro wrote:
 
 I'v configuread apache with these configure options:

 On which OS?

 # cat /home/mgatt/configure_options/httpd_configure_options.txt

./configure --prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique
-id \
 
 Then I tried to load some module in httpd.conf:
 
 ...
 LoadModule mod_env modules/mod_env.so
 LoadModule mod_mime modules/mod_mime.so
 LoadModule mod_unique_id modules/mod_unique_id.so
 LoadModule mod_cgi modules/mod_cgi.so
 LoadModule mod_charset_lite modules/mod_charset_lite.so
 ...

 How many modules do you try to load?

 Regards

 Alex

 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] mod_auth_mysql

2006-07-20 Thread Michael Luff
Hi William,
Thanks for your help on this one.  From what you and Elaine have
written and from what I've read, this really ought to work but I'm still
stuck with the all or nothing problem.

If I modify my file as you suggest, anyone can get access without being
prompted for a password, not just the IP I specify; if I comment out the
'satisfy any' line, I'm back to passwords for all.

As we agree that the approach is valid, can anyone think of any other
commands, directives etc somewhere else that might be having an effect
on this?

Many thanks,
Michael.

-Original Message-
From: paredes [mailto:[EMAIL PROTECTED] 
Sent: 19 July 2006 23:52
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_auth_mysql

Greetings Michael!

What should work is the following:

Directory /var/www/localhost/htdocs

deny from all
allow from 10.0.0.72

AuthName MailSource UK Intranet Zone, authentication required
AuthType Basic
AuthMySQLHost localhost
AuthMySQLEnable on
AuthMySQLUser xxx
AuthMySQLPassword xxx
AuthMySQLDB auth
AuthMySQLUserTable users
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd
AuthMySQLGroupTable groups
AuthMySQLGroupField user_group
Require group user admin

satisfy any

/directory

William Paredes
Computer Based education
Albert Einstein College of Medicine
Bronx, New York USA


Michael Luff wrote:

 Hi Elaine,

 Many thanks for the help, I've now got:

 Directory /var/www/localhost/htdocs

 AuthName MailSource UK Intranet Zone, authentication required

 AuthType Basic

 AuthMySQLHost localhost

 AuthMySQLEnable on

 AuthMySQLUser xxx

 AuthMySQLPassword xxx

 AuthMySQLDB auth

 AuthMySQLUserTable users

 AuthMySQLNameField user_name

 AuthMySQLPasswordField user_passwd

 AuthMySQLGroupTable groups

 AuthMySQLGroupField user_group

 # This next line controls which group(s) can access the resource

 AllowOverride none

 Require group user admin

 Order allow,deny

 Allow from 10.0.0.72

 Satisfy Any

 /Directory

 But now anyone can access it, not just the IUP address I've specified!

 I can't seem to get around this all or nothing problem.

 Can you see anything I've done wrong?

 Regards,

 Michael.

 *From:* elaine [mailto:[EMAIL PROTECTED]
 *Sent:* 19 July 2006 13:49
 *To:* users@httpd.apache.org
 *Subject:* Re: [EMAIL PROTECTED] mod_auth_mysql

 Michael,

 Try to use the allow and satisfy directives.
 This is an example, that we use to protect our intranet access :
 (Note that the IP's and server name were modified, and we use the deny

 directive
 to refuse connections from reception kiosk.)

 Limit GET PUT POST

 # Allow access only to authenticated users from MySQL
 # or users that are in the intranet
 # (except IP xx.xx.xx.xx : reception kiosk)

 require valid-user
 Order allow,deny
 Deny from xxx.xxx.xx.x

 # Allow access from our internal network without
 # username and password

 Allow from example.com

 Satisfy any
 /Limit


 You can read more details about Satisfy directive :

 http://httpd.apache.org/docs/2.2/mod/core.html#satisfy

 Regards,
 Elaine

 Michael Luff wrote:

 Hi All,

 I've got mod_auth_mysql working nicely but I would like the users on 
 my internal network not to have to enter a username and password, just

 people accessing from outside.

 I've tried various solutions using Order deny,allow; allow from and so

 forth but with no luck, I end up with everyone being prompted or
no-one.

 Here's my unmodified Directory command from my httpd.conf that 
 requires everyone to supply a password, can anyone suggest how I can 
 modify it to allow access from 10.0.0?

 Directory /var/www/localhost/htdocs

 AuthName authentication required

 AuthType Basic

 AuthMySQLHost localhost

 AuthMySQLEnable on

 AuthMySQLUser xx

 AuthMySQLPassword xxx

 AuthMySQLDB auth

 AuthMySQLUserTable users

 AuthMySQLNameField user_name

 AuthMySQLPasswordField user_passwd

 AuthMySQLGroupTable groups

 AuthMySQLGroupField user_group

 # This next line controls which group(s) can access the resource

 require group user admin

 /Directory

 Regards,

 *Michael Luff** *MSc B.Eng (Hons) MIET*
 **Facilities  Systems Manager *

 T: +44 (0)20 8614 7604
 F: +44 (0)20 8614 7601
 M: +44 (0)7976 404956
 E: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

 *MailSource UK Limited *

 - Europe's leading specialist in integrated document delivery
solutions

 - Holders of the RoSPA Health  Safety Gold Medal 2006/2007

 Northumberland House

 15 Petersham Road

 Richmond-upon-Thames

 Surrey TW10 6TP

 *www.mailsource.co.uk http://www.mailsource.co.uk/*

 *MailSource UK Limited *

 - Europe's leading specialist in integrated document delivery
solutions

 - Holders of the RoSPA Health  Safety Gold Medal 2006/2007

 Northumberland House

 15 Petersham Road

 Richmond-upon-Thames

 Surrey TW10 6TP

 *www.mailsource.co.uk http://www.mailsource.co.uk/*



-
The official User-To-User support forum of 

[EMAIL PROTECTED] logrotate doesn't create *log.1

2006-07-20 Thread thomas Armstrong

Hi

Working with Apache 2.0.52 on Linux, I created this logrotate
configuration file:
---
/usr/local/httpd/logs/*log {
   missingok
   notifempty
   sharedscripts
   postrotate
   /bin/kill -USR1 `cat /usr/local/httpd/logs/httpd.pid
2/dev/null` 2 /dev/null || true
   endscript
}
--

I executed '/usr/sbin/logrotate -v /etc/logrotate.d/httpd' and I get
this kind of messages:
---
renaming /usr/local/httpd/logs/access_log to /usr/local/httpd/logs/access_log.1
disposeName will be /usr/local/httpd/logs/access_log.1
removing old log /usr/local/httpd/logs/access_log.1
rotating log /usr/local/httpd/logs/blog_eitb-access_log, log-rotateCount is 0


However, '/usr/local/httpd/logs/access_log.1' doesn't exist, and
'/usr/local/httpd/logs/access_log' is empty!

Must I 'chmod a+w' /usr/local/httpd/logs/ directory?

Thank you very much.

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] problem loading DSO modules

2006-07-20 Thread Ashutosh Mohanty



Are you sure about the directory and path for the 
modules??

is it /data/programs/apache2/modules/mod_env.so 
?
or 
this is
/data/programs/httpd-2.2.2/modules/mod_env.so ?

or you started different httpd daemon 
?

Ashutosh
SynaptiCAD Inc.

  - Original Message - 
  From: 
  Mauro 
  To: users@httpd.apache.org 
  Sent: Thursday, July 20, 2006 1:57 
  PM
  Subject: Re: [EMAIL PROTECTED] problem 
  loading DSO modules
  My OS is RH Enterprise 4obviusly mod_so is staticall 
  loaded:# ../bin/httpd -lCompiled in modules: 
  core.c prefork.c http_core.c mod_so.cI'm 
  loading only modules you are readingenven checkconf got me same 
  error.Thank You- Original Message - From: 
  "Alexander Lazic" [EMAIL PROTECTED]To: 
  users@httpd.apache.orgSent: 
  Thursday, July 20, 2006 10:16 AMSubject: Re: [EMAIL PROTECTED] problem loading 
  DSO modules Hi, On Don 20.07.2006 10:12, Mauro 
  wrote:  I'v configuread apache with these configure 
  options: On which OS? # cat 
  /home/mgatt/configure_options/httpd_configure_options.txt./configure 
  --prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique-id 
  \  Then I tried to load some module in 
  httpd.conf:  ... LoadModule mod_env 
  modules/mod_env.so LoadModule mod_mime modules/mod_mime.so 
  LoadModule mod_unique_id modules/mod_unique_id.so LoadModule 
  mod_cgi modules/mod_cgi.so LoadModule mod_charset_lite 
  modules/mod_charset_lite.so ... How many modules 
  do you try to load? Regards 
  Alex 
  - 
  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: [EMAIL PROTECTED] 
  " from the digest: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED]-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: [EMAIL PROTECTED] 
  " from the digest: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] problem loading DSO modules

2006-07-20 Thread Mauro



apache2 is a link to http-2.2.2

I found the solution!

I have to write:

LoadModule 
env_modulemodules/mod_env.so 
^^^
and not
LoadModule 
mod_env 
modules/mod_env.so 
^^^

Thank you for your support


RGDS

Mauro



  - Original Message - 
  From: 
  Ashutosh 
  Mohanty 
  To: users@httpd.apache.org 
  Sent: Thursday, July 20, 2006 10:38 
  AM
  Subject: Re: [EMAIL PROTECTED] problem 
  loading DSO modules
  
  Are you sure about the directory and path for the 
  modules??
  
  is it /data/programs/apache2/modules/mod_env.so 
  ?
  or 
  this is
  /data/programs/httpd-2.2.2/modules/mod_env.so ?
  
  or you started different httpd daemon 
  ?
  
  Ashutosh
  SynaptiCAD Inc.
  
- Original Message - 
From: 
Mauro 

To: users@httpd.apache.org 
Sent: Thursday, July 20, 2006 1:57 
PM
Subject: Re: [EMAIL PROTECTED] problem 
loading DSO modules
My OS is RH Enterprise 4obviusly mod_so is staticall 
loaded:# ../bin/httpd -lCompiled in modules: 
core.c prefork.c http_core.c 
mod_so.cI'm loading only modules you are readingenven checkconf 
got me same error.Thank You- Original Message - 
From: "Alexander Lazic" [EMAIL PROTECTED]To: 
users@httpd.apache.orgSent: 
Thursday, July 20, 2006 10:16 AMSubject: Re: [EMAIL PROTECTED] problem 
loading DSO modules Hi, On Don 20.07.2006 
10:12, Mauro wrote:  I'v configuread apache with 
these configure options: On which OS? # 
cat 
/home/mgatt/configure_options/httpd_configure_options.txt./configure 
--prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique-id 
\  Then I tried to load some module in 
httpd.conf:  ... LoadModule mod_env 
modules/mod_env.so LoadModule mod_mime 
modules/mod_mime.so LoadModule mod_unique_id 
modules/mod_unique_id.so LoadModule mod_cgi 
modules/mod_cgi.so LoadModule mod_charset_lite 
modules/mod_charset_lite.so ... How many modules 
do you try to load? Regards 
Alex 
- 
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: [EMAIL PROTECTED] 
" from the digest: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED]-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: [EMAIL PROTECTED] 
" from the digest: [EMAIL PROTECTED]For 
additional commands, e-mail: [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn

2006-07-20 Thread Alexander Lazic

On Don 20.07.2006 10:19, [EMAIL PROTECTED] wrote:


The permission bits for allthe plugin directory are 755.
I'm on Z/linux. But it is the same as in another suse linux version.


Is this the 64 or the 31 bit version?!


My question is if with a compiled apache (and then I don't load modules
dinamically and I've no modules loaded with Load Module) I can use the
LoadModule directive.


Yes if you have the same Bit version e.g.:

64 = 64 ok
31 = 31 ok
64 = 31 nok as i know.


If yes then probably then probably the WebSphere PlugIn was compiled
with some options that are not compatible with the ones I've used to
compile apache.


What say a file to the so-file and to the httpd-bin?

BTW: What does IBM mean to his issuse because they wan't to force the
Z/Linux therefore you could get help at this time from this vendor
;-)

Regards

Alex

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] logrotate doesn't create *log.1

2006-07-20 Thread Neil A. Hillard
Hi,

thomas Armstrong wrote:
 Hi
 
 Working with Apache 2.0.52 on Linux, I created this logrotate
 configuration file:
 ---
 /usr/local/httpd/logs/*log {
missingok
notifempty
sharedscripts
postrotate
/bin/kill -USR1 `cat /usr/local/httpd/logs/httpd.pid
 2/dev/null` 2 /dev/null || true
endscript
 }
 --
 
 I executed '/usr/sbin/logrotate -v /etc/logrotate.d/httpd' and I get
 this kind of messages:
 ---
 renaming /usr/local/httpd/logs/access_log to
 /usr/local/httpd/logs/access_log.1
 disposeName will be /usr/local/httpd/logs/access_log.1
 removing old log /usr/local/httpd/logs/access_log.1
  

 rotating log /usr/local/httpd/logs/blog_eitb-access_log,
 log-rotateCount is 0
   

 However, '/usr/local/httpd/logs/access_log.1' doesn't exist, and
 '/usr/local/httpd/logs/access_log' is empty!

Never having had a problem with this I'm only guessing but it looks like
you have logrotate set to 'rotate 0'.  i.e. don't keep any logs!  It
appears to be rotating and then removing the old log.

Check you logrotate config for how frequently it performs the rotation
and how many old versions it keeps.

HTH,


Neil.

-- 
Neil Hillard[EMAIL PROTECTED]
Westland Helicopters Ltd.   http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
views of Westland Helicopters Ltd.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] mod_rewrite with [last] not behaving as expected

2006-07-20 Thread Neil A. Hillard
Nick,

Nick Burch wrote:
 Hi All
 
 I've been trying to set up some rewriting rules with mod_rewrite, and
 discovered that even with a [last] directive, things aren't quite
 behaving as I'd expect.
 
 My config is perhaps slightly unusual, in that I have a default rule
 that applies, at the bottom of the rewrite block. The config is
 something like:
 
 DocumentRoot /var/www/foo/
 Directory /var/www/foo/
 RewriteEngine on
 RewriteRule ^foo/foo.xsd /schema/foo.xsd [last]
 RewriteRule ^foo/.* /schema/about_foo.html [last]
 RewriteRule .* http://somewhere-else/ [R]
 /Directory
 
 Turning on RewriteLog and RewriteLogLevel, I see that a request for
 /foo/bar is re-written as an internal redirect to
 /schema/about_foo.html. No further rewriting occurs. The problem is that
 apache decides that it then needs to start processing
 /schema/about_foo.html from the top of my rewriting block, since it too
 falls within the Directory. It then runs off, does more rewriting, and
 goes to the wrong place.
 
 In short, the [last] directive stops this re-writing run, but doesn't
 prevent further runs.
 
 Is this behaviour:
 a) expected (except by me!) or unexpected?
 b) if expected, should we add another mod_rewrite flag to prevent further
 mod_rewrites touching the request? (eg [nofurther])
 
 (For anyone suffering the same issue, my workaround was to add a
 Directory for the schema subdir, with RewriteEngine on, but no rules)

Yes it is expected - it is not Apache deciding to run the URL through
the rewriting.  A redirect will be sent to the client which will then
request the new target and it is that which will be run through the
rewriting rules.

I would suggest that you'd be better off with rewriting in a Location
block and not a Directory.  The rewriting relates to the URL and not
necessarily the file system.

If you retain those rewrites then every request will end up at
http://somewhere-else/.

Do you really want to perform a redirect - in which case you need to
exclude /schema/ from 'catchall' last rewrite, or you need to proxy them
(use [P,L]).

HTH,


Neil.

-- 
Neil Hillard[EMAIL PROTECTED]
Westland Helicopters Ltd.   http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
views of Westland Helicopters Ltd.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn

2006-07-20 Thread Oliver.Schaudt
LoadModule was_ap20_module 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so 
Another possibility is, that mod_was_ap20_http.so was compiled against 2.0.xx
Ask IBM if they have something like mod_was_ap22_http.so 
which should be compiled against 2.2.x.

bye

Oliver


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Do 20.07.2006 09:39
An: users@httpd.apache.org
Betreff: [EMAIL PROTECTED] Apache 2.2.2 and WebSphere PlugIn
 
I've compiled Apache 2.2.2 and now I would like to use apache with 
websphere plugin to pass requests to a remore WebSphere Application 
Server.

I installed and configured the plugin as written in the IBM guide and 
everything is Ok.
I can find these two new lines in the httpd.conf:
LoadModule was_ap20_module 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so
WebSpherePluginConfig 
/opt/CHROOT/HTTPD/WebSpherePlugin/config/atmweb-ts-proxy/plugin-cfg.xml


But now when I run the command 'apachectl -t' I get the following:

httpd: Syntax error on line 225 of 
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server: 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open 
shared object file: No such file or directory

The mod_was_ap20_http.so exists and it is in the 
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.

Have you any idea

Please let me know, I would not like to install Ibm Http Server!


Thanks in advance


MANUCIAO



 

winmail.dat-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

[EMAIL PROTECTED] Apache 2.0 appending some extra lines

2006-07-20 Thread Chappidi, Sudhakar



Hello All,

I have some problem with Apache2.0 while sending the response.
When accessing the request from the browser , the response sent is got
properly.
But when I am using a C++ program for sending and receiving the response
I am getting the response with some addional text appended.
The addition text appended is 

!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
htmlhead
title200 OK/title
/headbody
h1OK/h1
pThe server encountered an internal error or
misconfiguration and was unable to complete
your request./p
pPlease contact the server administrator,
 [EMAIL PROTECTED] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error./p
pMore information about this error may be available
in the server error log./p
hr
addressApache/2.0.55 (Win32) mod_jk/1.2.6 Server at dpe1w023 Port
2906/address
/body/html


In think in case of IE, IE is parsing the response and displaying the
file properly.

Thanks,
Sudhakar

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Re: problem loading DSO modules

2006-07-20 Thread Joost de Heer
 Could you help me to understand why apache doesn't load shared modules?

You compiled httpd-2.2, but are trying to load modules compiled for
httpd-2.0. This won't work.

Educated guess: You have the ServerRoot in your httpd.conf wrong, causing
the LoadModule lines to look in the wrong directory for modules. Either
fix your ServerRoot, or use the full path for module loading.

Joost


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] SSI

2006-07-20 Thread Ashutosh Mohanty



Hi,

Iwant to run a script on a web page that uses 
server side includes, (mod_include.so is present in modules directory) for this 
do i need to recompile apache.if not then tell me what step should i take.?? 
Idid the installation with configuration option as ::

./configure --prefix=/usr/local/apache 
--with-berkeley-db=/usr --with-ssl=/usr --enable-mpm_common=shared 
--enable-mpm_prefork=shared --enable-mpm_perchild=shared 
--enable-mpm_worker=shared --enable-access=shared --enable-actions=shared 
--enable-alias=shared --enable-asis=shared --enable-auth=shared 
--enable-auth_anon=shared --enable-auth_dbm=shared --enable-auth_digest=shared 
--enable-autoindex=shared --enable-cache=shared --enable-cern_meta=shared 
--enable-cgi=shared --enable-cgid=shared --enable-charset_lite=shared 
--enable-dav=shared --enable-dav_fs=shared --enable-deflate=shared 
--enable-dir=shared --enable-echo=shared --enable-env=shared 
--enable-example=shared --enable-expires=shared --enable-ext_filter=shared 
--enable-file_cache=shared --enable-headers=shared --enable-imap=shared 
--enable-include=shared --enable-info=shared --enable-isapi=shared 
--enable-log_config=shared --enable-mime=shared --enable-mime_magic=shared 
--enable-negotiation=shared --enable-proxy=shared --enable-rewrite=shared 
--enable-setenvif=shared --enable-speling=shared --enable-status=shared 
--enable-suexec=shared --enable-unique_id=shared --enable-userdir=shared 
--enable-usertrack=shared --enable-vhost_alias=shared --enable-ssl=static 
--with-z=/usr




Best Regards: Ashutosh Mohanty SynaptiCADInc.

Visit us at:: www.syncad.com 

=This Communication is for the exclusive use of the intended 
recipient (s) and shall not attach any liability on the originator or SynaptiCAD 
Inc./its Subsidiaries. If you are the addressee, the contents of this email are 
intended for your use only and it shall not be forwarded to any third party, 
without first obtaining written authorization from the originator or SynaptiCAD 
Inc./its Subsidiaries. It may contain information which is confidential and 
legally privileged and the same shall not be used or dealt with by any third 
party in any manner whatsoever without the specific consent of SynaptiCAD 
Inc./its Subsidiaries. =


Re: [EMAIL PROTECTED] mod_auth_mysql

2006-07-20 Thread paredes

Greetings Michael!

Which versions of apache and mod_auth_mysql are you using? What platform 
are you on? When you check your httpd.conf file is mod_auth being loaded?


Regards,

William  Paredes
Computer Based Education
Albert Einstein College of Medicine
Bronx, New York USA


Michael Luff wrote:

Hi William,
Thanks for your help on this one.  From what you and Elaine have
written and from what I've read, this really ought to work but I'm still
stuck with the all or nothing problem.

If I modify my file as you suggest, anyone can get access without being
prompted for a password, not just the IP I specify; if I comment out the
'satisfy any' line, I'm back to passwords for all.

As we agree that the approach is valid, can anyone think of any other
commands, directives etc somewhere else that might be having an effect
on this?

Many thanks,
Michael.

-Original Message-
From: paredes [mailto:[EMAIL PROTECTED] 
Sent: 19 July 2006 23:52

To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_auth_mysql

Greetings Michael!

What should work is the following:

Directory /var/www/localhost/htdocs

deny from all
allow from 10.0.0.72

AuthName MailSource UK Intranet Zone, authentication required
AuthType Basic
AuthMySQLHost localhost
AuthMySQLEnable on
AuthMySQLUser xxx
AuthMySQLPassword xxx
AuthMySQLDB auth
AuthMySQLUserTable users
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd
AuthMySQLGroupTable groups
AuthMySQLGroupField user_group
Require group user admin

satisfy any

/directory

William Paredes
Computer Based education
Albert Einstein College of Medicine
Bronx, New York USA


Michael Luff wrote:
  

Hi Elaine,

Many thanks for the help, I've now got:

Directory /var/www/localhost/htdocs

AuthName MailSource UK Intranet Zone, authentication required

AuthType Basic

AuthMySQLHost localhost

AuthMySQLEnable on

AuthMySQLUser xxx

AuthMySQLPassword xxx

AuthMySQLDB auth

AuthMySQLUserTable users

AuthMySQLNameField user_name

AuthMySQLPasswordField user_passwd

AuthMySQLGroupTable groups

AuthMySQLGroupField user_group

# This next line controls which group(s) can access the resource

AllowOverride none

Require group user admin

Order allow,deny

Allow from 10.0.0.72

Satisfy Any

/Directory

But now anyone can access it, not just the IUP address I've specified!



  

I can't seem to get around this all or nothing problem.

Can you see anything I've done wrong?

Regards,

Michael.

*From:* elaine [mailto:[EMAIL PROTECTED]
*Sent:* 19 July 2006 13:49
*To:* users@httpd.apache.org
*Subject:* Re: [EMAIL PROTECTED] mod_auth_mysql

Michael,

Try to use the allow and satisfy directives.
This is an example, that we use to protect our intranet access :
(Note that the IP's and server name were modified, and we use the deny



  

directive
to refuse connections from reception kiosk.)

Limit GET PUT POST

# Allow access only to authenticated users from MySQL
# or users that are in the intranet
# (except IP xx.xx.xx.xx : reception kiosk)

require valid-user
Order allow,deny
Deny from xxx.xxx.xx.x

# Allow access from our internal network without
# username and password

Allow from example.com

Satisfy any
/Limit


You can read more details about Satisfy directive :

http://httpd.apache.org/docs/2.2/mod/core.html#satisfy

Regards,
Elaine

Michael Luff wrote:

Hi All,

I've got mod_auth_mysql working nicely but I would like the users on 
my internal network not to have to enter a username and password, just



  

people accessing from outside.

I've tried various solutions using Order deny,allow; allow from and so



  

forth but with no luck, I end up with everyone being prompted or


no-one.
  
Here's my unmodified Directory command from my httpd.conf that 
requires everyone to supply a password, can anyone suggest how I can 
modify it to allow access from 10.0.0?


Directory /var/www/localhost/htdocs

AuthName authentication required

AuthType Basic

AuthMySQLHost localhost

AuthMySQLEnable on

AuthMySQLUser xx

AuthMySQLPassword xxx

AuthMySQLDB auth

AuthMySQLUserTable users

AuthMySQLNameField user_name

AuthMySQLPasswordField user_passwd

AuthMySQLGroupTable groups

AuthMySQLGroupField user_group

# This next line controls which group(s) can access the resource

require group user admin

/Directory

Regards,

*Michael Luff** *MSc B.Eng (Hons) MIET*
**Facilities  Systems Manager *

T: +44 (0)20 8614 7604
F: +44 (0)20 8614 7601
M: +44 (0)7976 404956
E: [EMAIL PROTECTED]


mailto:[EMAIL PROTECTED]
  

*MailSource UK Limited *

- Europe's leading specialist in integrated document delivery


solutions
  

- Holders of the RoSPA Health  Safety Gold Medal 2006/2007

Northumberland House

15 Petersham Road

Richmond-upon-Thames

Surrey TW10 6TP

*www.mailsource.co.uk http://www.mailsource.co.uk/*

*MailSource UK Limited *

- Europe's leading specialist in integrated document delivery


solutions
  

- Holders of the RoSPA 

Re: [EMAIL PROTECTED] mod_deflate/mod_mem_cache issues

2006-07-20 Thread Apache User
Thanks for the help, Joshua. I configured apache to use mod_disk_cache and 
it seems to be working and compressed content is getting served up 
correctly. Guess that means it is a bug in mod_mem_cache ?


I still have to run some tests to check the performance of (caching on disk 
+ compression) vs ( caching in memory) though.



From: Joshua Slive [EMAIL PROTECTED]
Reply-To: users@httpd.apache.org
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_deflate/mod_mem_cache issues
Date: Wed, 19 Jul 2006 20:01:48 -0400

On 7/19/06, Apache User [EMAIL PROTECTED] wrote:

Hi,

I have an Apache 2.2.2 setup on a Redhat box. Mod_proxy(mod_proxy_ajp) is
being used to connect to tomcat on the same machine. Caching is 
implemented

using mod_cache(mod_mem_cache). This setup works fine and caching seems to
be working as expected.

The problem occurs when I try to optimize further by supporting HTML
compression using mod_deflate. In this case, whenever deflated documents 
are
served by the cache the Content-length returned is 0. Is this a known 
issue

? Can mod_deflate and mod_mem_cache be used together ? Or is it that
mod_mem_cache cannot handle compressed content ?


I don't have any specific info on this problem, but I'd highly
recommend using mod_disk_cache in place of mod_mem_cache.  It is
better tested, and will be more performant in most scenarios.

Joshua.

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] mod_authnz_ldap for 2.2.2

2006-07-20 Thread Declerck Michael-W30479
Kenneth,
Thank you for the redirect to /usr/lib/apache2/modules/, I was wondering
why none of the modules had the .so extension in the mods-available/
directory.
Upon looking in that folder, I found a mod_auth_ldap.so module which the
link below suggests was replaced by mod_authnz_ldap in the Apache2.2
release.

The documentation said that the most significant change between 2.0 and
2.2 was the authorization modules
(http://httpd.apache.org/docs/2.2/upgrading.html).
I have been searching around in the Ubuntu Dapper servertalk and howto
forums, but have found nothing as yet.

I am going to try to use the mod_auth_ldap.so and see how the Apache
takes it.
I will let you know what happens Kenneth.

If anyone has found anywhere to download standard 2.2 modules such as
mod_auth_basic, mod_authn_file, mod_authz_user, mod_authz_groupfile, and
mod_authnz_ldap please let me know. 
Your help is always appreciated.

Michael DeClerck

-Original Message-
From: Kenneth Stueflotten Svee [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 20, 2006 3:43 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_authnz_ldap for 2.2.2

[ Declerck Michael-W30479 ]

 Hello,
 I installed Apache2.2.2 several weeks ago on my Ubuntu Linux machine 
 (which is similar to Debian), and also on my Windows XP machine. I 
 went to my /etc/apache2/mods-available/ directory looking for the 
 mod_authnz_ldap package which (according to
 http://httpd.apache.org/docs/2.2/mod/) should be available.

Seems to be an Ubuntu build issue. You should try the Ubuntu-support
features (forums and whatnot).


 However, the mod_authnz_ldap module does not exist in that directory, 
 nor do many other modules which the Apache documentation suggests 
 should exist.

The modules them selves are found (on my Ubuntu Dapper) in
/usr/lib/apache2/modules/, and haven't found any mod_authnz_ldap.so
either. The module is however not enabled by default when compiling
Apache2.2, so it may be it's available as an addon, but a quick
apt-cache search did not reveal anything. Again, try the Ubuntu forum.


Rgds,
Kenneth Svee

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] SSI

2006-07-20 Thread Joshua Slive

On 7/20/06, Ashutosh Mohanty [EMAIL PROTECTED] wrote:



Hi,

I want to run a script on a web page that uses server side includes,
(mod_include.so is present in modules directory) for this do i need to
recompile apache.if not then tell me what step should i take.?? I did the
installation with configuration option as ::


Start here:
http://httpd.apache.org/docs/2.2/howto/ssi.html
and if you still have problems, come back with a much more specific
discussion of what you have tried and what happened.

Joshua.

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Reverse Proxy with internal redirects

2006-07-20 Thread scott . marquardt

I have a 2 node internal environment.
http://internal-apps and http://internal-sso. The reverse proxy has
two virtual hosts configured as http://external-apps and http://external-sso.
All reverse proxy configs work except when the application server
needs to authenticate to the sso server. The app server redirects
the client to the internal name of the sso server and not to the external
name. There is no way to change the redirection problem on the app
server.

My question is, can the location header
variable be rewritten before the external client receives it and makes
the request to the internal server name?

RE: [EMAIL PROTECTED] Reverse Proxy with internal redirects

2006-07-20 Thread Oliver.Schaudt

I have a 2 node internal environment. http://internal-apps and 
http://internal-sso.  The reverse proxy has two virtual hosts configured 
as http://external-apps and http://external-sso.  All reverse proxy 
configs work except when the application server needs to authenticate to 
the sso server.  The app server redirects the client to the internal name 
of the sso server and not to the external name.  There is no way to change 
the redirection problem on the app server.

My question is, can the location header variable be rewritten before the 
external client receives it and makes the request to the internal server 
name?

Despite of the fact that i don't know your real configuration, 
i would say, you miss
ProxyPassReverse ...
  or
ProxyPreserveHost On

More is only possible when you show a real config

Bye

Oliver
winmail.dat-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]