RE: [users@httpd] installing an Apache module after Apache is up and running

2011-06-22 Thread Ashwin Kesavan
Hi John,

You say Linux. Which distro? If it is a Redhat or some other rpm based distro 
then you can find where the .so files are. I think you are looking into the 
wrong location for the .so files. There ,most probably, not one so file but 
many. Do the following to find out where are those so files are located by
#rpm -ql httpd-ver

The above will list all files that are part of that package, so I guess .so 
files should be part of that package.

Then read the httpd.conf in /etc/httpd/httpd.conf and the included conf files 
in the dir /etc/httpd/conf.d/*.conf and look for the directive Loadmodule and 
look at the path mentioned. Note that path are relative to server root defined 
in httpd.conf.

You can see what are the modules that are compiled with httpd by doing this, 
note that it won't give the complete picture of all modules but atleast ones 
that are compiled with (which means a partial list):

/path/to/binary/httpd -M

HTH

--ashwin



-Original Message-
From: John Fitzgibbon [mailto:jfitzgib...@galwaylibrary.ie] 
Sent: Tuesday, June 21, 2011 6:10 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] installing an Apache module after Apache is up and 
running

Hi,

Sorry. My omission. I installed it on Linux. I have also installed a copy of 
Greenstone on Windows. In the case of Windows, there are a number of modules in 
the modules folder including mod_rewrite. In the case of Linux, there are no 
modules in the modules folder.

Regards
John

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: 21 June 2011 13:29
To: users@httpd.apache.org
Subject: Re: [users@httpd] installing an Apache module after Apache is up and 
running

John Fitzgibbon wrote:
 I installed it with a program called Greenstone. In other words, when I 
 installed Greenstone, it also installed Apache.
You still do not say what you installed it on ... Linux or Windows? It would 
seem that Greenstone only supplies Apache with the windows version.
But a quick glance tells me you need to be asking on the Greenstone support 
list 
since it obviously packages it's own version of apache with that.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-
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-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

#
This e-mail message has been scanned for  content and cleared 
by MailMarshal Hosted  at Galway County  Council

T? an teachtaireacht r?omhphoist seo scan?ilte d??bhar agus glanta 
ag MailMarshal at? ?st?lta i gComhairle Chontae na Gaillimhe.

Correspondance is welcome in Irish or in English.
T? m?le f?ilte roimh chomhfhreagras i nGaeilge n? i mB?arla.

T? eolas at? pr?obh?ideach agus r?nda sa r?omhphost seo 
agus aon iat?n a ghabhann leis agus is leis an duine/na daoine
sin amh?in a bhfuil siad seolta chucu a bhaineann siad. 
Mura seola? th?, n?l t? ?daraithe an r?omhphost n? aon iat?n 
a ghabhann leis a l?amh, a ch?ip?il n? a ?s?id. 
M? t? an r?omhphost seo faighte agat tr? dhearmad, 
cuir an seolt?ir ar an eolas thr? aischur r?omhphoist 
agus scrios ansin ? le do thoil. 
 
This e-mail and any attachment contains information which is 
private and confidential and is intended for the addressee 
only. If you are not an addressee, you are not authorised 
to read, copy or use the e-mail or any attachment. 
If you have received this e-mail in error, please notify 
the sender by return e-mail and then destroy it. 

If you need this email in an alternative format please contact the sender
M? t? an r?omhphost seo ag teast?il uait i bhform?id eile d?an teagmh?il leis 
an duine a sheol chugat ?

#

-
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-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.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-unsubscr...@httpd.apache.org
  from the 

RE: [users@httpd] Installing Subversion support for Apache

2011-06-22 Thread Ashwin Kesavan


From: Yehuda Katz [mailto:yeh...@ymkatz.net]
Sent: Tuesday, June 21, 2011 10:27 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Installing Subversion support for Apache

On Tue, Jun 21, 2011 at 12:35 PM, Kevin Christensen 
ksch...@cdrgts.commailto:ksch...@cdrgts.com wrote:
On 6/20/2011 10:11 PM, Yehuda Katz wrote:
On Mon, Jun 20, 2011 at 4:21 PM, Kevin Christensen 
ksch...@cdrgts.commailto:ksch...@cdrgts.com wrote:
httpd.exe: Syntax error on line 83 of C:/Program Files (x86)/Apache Software 
Foundation/Apache2.2/conf/httpd.conf: LoadModule takes two arguments, a module 
name and the name of a shared object file to load it from

The line the error specifically refers to is the following:
LoadModule dav_module modules/mod_dav.so

When I had a similar problem, in one case it was caused by non-printing 
characters in the middle of the line and in another by a bad line ending. Your 
line endings should be consistent (on my Windows servers I use CRLF).
Since you are on Windows, a program like Notepad++ can quickly help you find 
problems like that.

Not just notepad ++ in windows, but we can do the same in Linux as well though 
not through notepad++ . The good old vim (which is a part of most modern linux 
distribution and far more efficient than notepad++) can show that. Start vim 
like this.
Vim -b filename
And it will show the non printable characters in your file. Then there is this 
versatile unix2dos and dos2unix which will convert the file endings 
accordingly. This is useful if you worked on files windows environment and then 
transferred it to Linux. This what most inexperienced in using  unix developer 
or sys admin (windows sys admin now forced to take care of *nix ) mostly do.

HTH

--ashwin


RE: [users@httpd] Change $PATH in apache

2011-06-22 Thread Ashwin Kesavan


-Original Message-
From: Eric Covener [mailto:cove...@gmail.com] 
Sent: Tuesday, June 21, 2011 11:42 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Change $PATH in apache

 We're trying to run trac and svn which include some python scripts.  I'd
 really like to use the python that I've installed in /opt, but it appears
 that apache is using the default python /usr/bin/python.

Using it for what? mod_python, or python scripts that start with
#!/usr/bin/python?

I wouldn't expect either cares about the PATH.
-END 


Good point. So it won't care what the PATH variable tells. But command line 
will be working fine. But scripts would fail. So the way out would be to rename 
the /usr/bin/python to something like /usr/bin/python-it's version number and 
sym link the /opt/python to this /usr/bin/python. And it should now work fine 
from both cmd line and from scripts. But think twice before you do this. 
Because the OS scripts which rely on the ver. of python in /usr/bin/python and 
if your python in /opt/python is not backward compatible with /usr/bin/python 
then those things will fail. So I think of running sed 
s$usr/bin/python$/opt/python$g on all the files which are related to the trac 
and svn. you can find out trac and svn files via listing files via rpm or dpkg. 
But this sed is a long workaround and YMMV.

HTH

--ashwin

-
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-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] need some thoughts on trouble shooting httpd server hangup

2011-06-22 Thread Matus UHLAR - fantomas

On 16.06.11 15:58, Zaccone, Warren wrote:

I was able to reproduce with ab by requesting a php script that has an infinite 
loop.

Running  multiple copies of this script concurrently brings httpd into a 
hang state, that it will not recover from without manually restarting the 
httpd server.



while (1) sleep (20);



I have timeout set to 900 but it does not appear to be working.  Will this 
timeout protect the server from such scripts or should is there something else.


set max_execution_time in php.ini.

for CGI and SSI executed processes, you need to set RLimitCPU
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states. 


-
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-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Syntax question

2011-06-22 Thread Gabriel Harmon
In the httpd.conf file, I have the following line which allows people in a 
specific distribution list that is maintained by our Active Directory access to 
the dirs in SVN:

AuthLDAPURL 
ldap://OurServer:OurPort/DC=,DC=com?sAMAccountName?sub?(objectClass=user)(memberOf=CN=OurADName,CN=users,DC=x,DC=com)


I have two more AD groups that I'd like to allow access to SVN.  Is the 
following valid?  If not, is this possible (allowing multiple Groups access to 
separate areas)?  If so, and I'm not close with my syntax, where can I go for 
additional reading?

AuthLDAPURL 
ldap://OurServer:OurPort/DC=,DC=com?sAMAccountName?sub?(objectClass=user)(memberOf=CN=OurADName,CN=users,DC=x,DC=com)
 
(memberOf=CN=ADGroupOne,CN=users,DC=x,DC=com)(memberOf=CN=ADGroupTwo,CN=users,DC=x,DC=com)


Thanks,

Gabriel Harmon
Configuration Manager
Delta Dental of VA
(540) 989-8000 x3112


The information contained in this email and subsequent attachments
may be privileged, confidential and protected from disclosure. This
transmission is intended for the sole use of the individual and entity to
whom it is addressed.  If you are not the intended recipient, any
dissemination, distribution or copying is strictly prohibited. If you have
received this message in error, please email the sender at the above
email address.


Re: [users@httpd] Syntax question

2011-06-22 Thread Igor Galić


- Original Message -



 In the httpd.conf file, I have the following line which allows people
 in a specific distribution list that is maintained by our Active
 Directory access to the dirs in SVN:



 AuthLDAPURL
 ldap://OurServer:OurPort/DC=,DC=com?sAMAccountName?sub?(objectClass=user)(memberOf=CN=OurADName,CN=users,DC=x,DC=com)





 I have two more AD groups that I’d like to allow access to SVN. Is
 the following valid? If not, is this possible (allowing multiple
 Groups access to separate areas)? If so, and I’m not close with my
 syntax, where can I go for additional reading?



 AuthLDAPURL
 ldap://OurServer:OurPort/DC=,DC=com?sAMAccountName?sub?(objectClass=user)(memberOf=CN=OurADName,CN=users,DC=x,DC=com)
 (memberOf=CN=ADGroupOne,CN=users,DC=x,DC=com)(memberOf=CN=ADGroupTwo,CN=users,DC=x,DC=com)


I think you should keep the AuthLDAPURL simple, and instead use

Require ldap-filter
http://httpd.apache.org/docs/current/mod/mod_authnz_ldap.html#reqfilter

where appropriate.

 Thanks,

 Gabriel Harmon
 Configuration Manager
 Delta Dental of VA
 (540) 989-8000 x3112


 The information contained in this email and subsequent attachments
 may be privileged, confidential and protected from disclosure. This
 transmission is intended for the sole use of the individual and
 entity to
 whom it is addressed.  If you are not the intended recipient, any
 dissemination, distribution or copying is strictly prohibited. If you
 have
 received this message in error, please email the sender at the above
 email address.

You're sending this to a publicly archived mailing list, all bets are off.

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@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-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org