[EMAIL PROTECTED] Apache's module debug best practices

2007-01-11 Thread Hamilton Vera
Hi list. I am looking for tips to debug a module (built in kylix, like a DSO) running in apache 1.3.34. Unfortunately I don't have access to the source code and I have to find out why this module is consuming a lot of CPU and memory I had already read some documentation like http://httpd.apache.

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Bob
Peter Huesser wrote: Bob wrote: following entries in httpd.conf: RewriteEngine On RewriteCond %{REMOTE_HOST} \.domain\.ch$ RewriteRule ^/testtinfo/fea http://another.url.ch/ The produced entries in rewrite.log are: 129.129.194.181 - - [11/Jan/2007:09:40:24 +0100] [server.psi.ch/sid#80c

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Israel Brewster
Ok- FINALLY got it working. Turns out I was bitten by the wording of my http.conf- I had used a location directive to tell it to execute using the perl_module for the location /perl, but then I was accessing the script through /cgi-bin/perl (/cgi-bin/perl is aliased to /perl) Once I tried a

[EMAIL PROTECTED] SNMP monitoring of Apache2 without recompiling net-snmp?

2007-01-11 Thread Julian Dunn
Hello, Is there a way to monitor Apache 2.x via SNMP without recompiling net-snmp? I was looking at mod_apache_snmp and I like that it can instrument Apache via a DSO, but I don't wish to recompile net-snmp. Are there any other DSOs available that leave the SNMP daemon alone? - Julian -- -- Jul

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Mark Feather
Does this help: http://www.faqs.org/docs/securing/chap29sec254.html - Original Message - From: "Israel Brewster" <[EMAIL PROTECTED]> To: Sent: Thursday, January 11, 2007 5:11 PM Subject: Re: [EMAIL PROTECTED] Simple perl question Yeah, I'm coming to that conclusion. I didn't want to

Re: [EMAIL PROTECTED] ServerAlias with Apache 2.0.40

2007-01-11 Thread Steve Swift
They resolve to different addresses for me (except www.nombre.com which doesn't resolve at all) On 11/01/07, Boyle Owen <[EMAIL PROTECTED]> wrote: > -Original Message- > From: cristina [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 11:11 AM > To: users@httpd.apache.org > S

Re: [EMAIL PROTECTED] Unwanted rewrite followup/continuationn

2007-01-11 Thread Israel Brewster
Thank you! That is EXACTLY what I was looking for! Sure enough, the default config supplied with my system had a "UseCanonicalName On" directive in there, changing that to "Off" fixed the issue. I knew there had to be something like that, I just didn't know where to look. Thanks again! ---

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Serge Dubrouski
modperl doesn't need to have perl installed because it has it embedded. Have you tried to put your script into your /perl directory and run it using Apache::Registry? But most probably it'll have problems anyway because it'll require perl libraries: CGI, strict, etc... unless it's a really generic

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Israel Brewster
Yeah, I'm coming to that conclusion. I didn't want to go that route, and have two copies of perl on my system, but it is looking as though that will be my best option --- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 A

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Israel Brewster
On Jan 11, 2007, at 2:15 AM, Mark Feather wrote: What is not being found? /usr/bin/perl, since it is not in the chroot jail Is apache finding the perl script or is perl not finding what it wants to run the script. Perl is not being found- it can't be, since apache (annd, by extentio

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Israel Brewster
On Jan 11, 2007, at 6:22 AM, Serge Dubrouski wrote: DO NOT REMOVE that #!/usr/bin/perl line. Without it OS tries to run it as a binary (ELF or whatever is appropriate for your systen ) file and of course fails. But with it, it can not find /usr/bin/perl (thanks to the chroot), and, of course

[EMAIL PROTECTED] Can apache 2.0.52 impact a Subversion lock-file command?

2007-01-11 Thread Trahan, Ted
I am using Subversion and accessing it through Apache (http protocol). Both Subversion and Apache are running on a Red Hat Enterprise Linux server. TortoiseSVN is the Subversion client running on Windows XP. We have the following revisions: RHEL 4WS Httpd 2.0.52 Subversion 1.3.2 TortoiseSVN 1.3

Re: [EMAIL PROTECTED] Name Resolution error

2007-01-11 Thread Jonathan Mangin
I don't get it. Maybe you should post your problem on an Suse list. - Original Message - From: "john" <[EMAIL PROTECTED]> To: Sent: Thursday, January 11, 2007 10:03 AM Subject: RE: [EMAIL PROTECTED] Name Resolution error > My system is able to resolve all the hostnames. > > The prob

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Serge Dubrouski
DO NOT REMOVE that #!/usr/bin/perl line. Without it OS tries to run it as a binary (ELF or whatever is appropriate for your systen ) file and of course fails. On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote: yeah, perl is not available at all from within the Apache chroot jail, unless I am

RE: [EMAIL PROTECTED] Name Resolution error

2007-01-11 Thread john
My system is able to resolve all the hostnames. The problem occurs during the boot. -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 3:28 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Name Resolution error On 1/11/07,

RE: [EMAIL PROTECTED] ServerAlias with Apache 2.0.40

2007-01-11 Thread Boyle Owen
> -Original Message- > From: cristina [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 11:11 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] ServerAlias with Apache 2.0.40 > > Hi all, > I'm tryint to test one virtual host with some alias. > My conf is: > > Server

RE: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Huesser Peter
> > Is there a .htaccess file somehwere in your mailmain install? If so, > have a look in there... > No. Pedro - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslis

Re: [EMAIL PROTECTED] Name Resolution error

2007-01-11 Thread Krist van Besien
On 1/11/07, john <[EMAIL PROTECTED]> wrote: My config is ... ServerAdmin root@ Domainname1 ServerName Domainname1 Is your server able to resolve this name? The problem might be that apache is not able to find out what IP adress this Virtual Host needs to be atached too. Krist -- [E

RE: [EMAIL PROTECTED] Name Resolution error

2007-01-11 Thread john
My config is ... ServerAdmin root@ Domainname1 ServerName Domainname1 . -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 2:48 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Name Resolution error On 1/11

Re: [EMAIL PROTECTED] Unwanted rewrite followup/continuationn

2007-01-11 Thread Krist van Besien
Put the following in your httpd.conf: UseCanonicalName off Krist -- [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland -- "...what you don't realize is that in the future Google WILL reach sentience, will [have had] invent[ed] a time machine, and will [have had] travel[ed] back in time to preven

Re: [EMAIL PROTECTED] Name Resolution error

2007-01-11 Thread Krist van Besien
On 1/11/07, john <[EMAIL PROTECTED]> wrote: Well, I did what you mentioned but the problem remains Cannot resolve the virtual hosts. When you say that "Domainname1" is the name of one of your virtual hosts, what do you exaclty mean by that? Can you post us part of your actual config? Kr

Re: [EMAIL PROTECTED] Reverse Proxy problem

2007-01-11 Thread Krist van Besien
On 1/11/07, Taranjeet Singh Bagga <[EMAIL PROTECTED]> wrote: Hi all, I am using reverse proxy in apache server. I am running an application 'tst' on the machine 10.5.100.15 accessed by the URL http://10.5.100.15:9080/tst My apache server is installed at another machine 10.5.100.20 on port 80.

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Krist van Besien
On 1/11/07, Peter Huesser <[EMAIL PROTECTED]> wrote: > What might also be an issue here is that reverse DNS doesn't work > properly. > > However, what you are trying to achieve might be better done > differently. See another post in this forum. You ought to set up two > virtual hosts, one on po

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Mark Feather
What is not being found? Is apache finding the perl script or is perl not finding what it wants to run the script. Have you had perl scripts running without errors in the past? When you try running the test.cgi script does apache / your browser find it and try to run it, if apache does find

RE: [EMAIL PROTECTED] How to disable directory listing option for a domain?

2007-01-11 Thread Boyle Owen
> -Original Message- > From: Halid Faith [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 11:27 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] How to disable directory listing > option for a domain? > > I use apache-2.0.55. > When I add a web page directory to m

Re: [EMAIL PROTECTED] Simple perl question

2007-01-11 Thread Issac Goldstand
mod_perl sounds a bit excessive. Just make sure Perl is installed in your chroot. Issac Serge Dubrouski wrote: > For this configuration you need to have mod_perl installed on your > server. Why don't you simply put your script into your cgi-bin > directory? > > On 1/10/07, Israel Brewster <[E

[EMAIL PROTECTED] How to disable directory listing option for a domain?

2007-01-11 Thread Halid Faith
I use apache-2.0.55. When I add a web page directory to my webserver for publishing if the directory doesn't contain index.html etc.. I see the files in the directory on the web. How to disable directory browsing ? Thanks -

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Peter Huesser
Bob wrote: >> following entries in httpd.conf: >> >> RewriteEngine On >> RewriteCond %{REMOTE_HOST} \.domain\.ch$ >> RewriteRule ^/testtinfo/fea http://another.url.ch/ >> >> The produced entries in rewrite.log are: >> >> 129.129.194.181 - - [11/Jan/2007:09:40:24 +0100] >> [server.psi.ch/sid#

[EMAIL PROTECTED] SSLCipherSuite and problems with Firefox, Mozilla

2007-01-11 Thread Markus Mayer
Hi All, I've been trying to configure an apache server with some SSL restrictions, in particular to disallow weak encryprion methods. I've follwed the instructions on the apache site for this, http://httpd.apache.org/docs/2.0/ssl/ssl_howto.html and also looked at the O'Reilly book Apache Secu

RE: [EMAIL PROTECTED] RE: What are URLs relative to?

2007-01-11 Thread Boyle Owen
> -Original Message- > From: lightbulb432 [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 9:40 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] RE: What are URLs relative to? > > > Thanks for your response. That makes sense. > > What might be the reason, then, b

[EMAIL PROTECTED] ServerAlias with Apache 2.0.40

2007-01-11 Thread cristina
Hi all, I'm tryint to test one virtual host with some alias. My conf is: ServerName www.nombre.es ServerAlias www.nombre.net www.nombre.com www.nombre.org I've seen that I could use ServerAlias with the same domain: www1.nombre.es www2.nombre.es and so on. But my question is if I can use

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Bob
Peter Huesser wrote: following entries in httpd.conf: RewriteEngine On RewriteCond %{REMOTE_HOST} \.domain\.ch$ RewriteRule ^/testtinfo/fea http://another.url.ch/ The produced entries in rewrite.log are: 129.129.194.181 - - [11/Jan/2007:09:40:24 +0100] [server.psi.ch/sid#80c1cc8][rid#814

[EMAIL PROTECTED] Reverse Proxy problem

2007-01-11 Thread Taranjeet Singh Bagga
Hi all, I am using reverse proxy in apache server. I am running an application 'tst' on the machine 10.5.100.15 accessed by the URL http://10.5.100.15:9080/tst My apache server is installed at another machine 10.5.100.20 on port 80. In httpd.conf I have written the following lines. ProxyPass /a

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Peter Huesser
> What might also be an issue here is that reverse DNS doesn't work > properly. > > However, what you are trying to achieve might be better done > differently. See another post in this forum. You ought to set up two > virtual hosts, one on port 80 and one on port 443. Have a redirect to > the htt

[EMAIL PROTECTED] RE: What are URLs relative to?

2007-01-11 Thread lightbulb432
Thanks for your response. That makes sense. What might be the reason, then, behind the quotation from that webpage in my original post? Why would you need to define all links absolutely rather than relatively? If the URLs are always relative to the error page URL which is always in the same locat

RE: [EMAIL PROTECTED] Name Resolution error

2007-01-11 Thread john
Well, I did what you mentioned but the problem remains Cannot resolve the virtual hosts. Any other ideas? _ From: Jonathan Mangin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 11:20 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Name Resolution erro