[us...@httpd] apache 2.2 and ldap group authentication

2009-05-27 Thread Jeff Shearer
I have been trying to implement group-based authentication using LDAP. But have yet to find the secret. I have been able to implement individual authentication using the “require ldap-user [username]” directive successfully. Some background information: I am using FreeBSD 7.2, Apache 2.2,

[us...@httpd] Userid and reverse proxy

2009-05-27 Thread Efjestad, Dag
Hi I want to do something like this: Location /kongsberg AuthType basic AuthName Requierd users AuthUserFile conf/basicauth.sec Require user user1 user2 user3 /Location ProxyRequestsOff ProxyPass/kongsberg/

Re: [us...@httpd] Userid and reverse proxy

2009-05-27 Thread Jeff Shearer
Try using a group rather than a list of users. See http://httpd.apache.org/docs/2.2/howto/auth.html#lettingmorethanonepersonin for a discussion. Efjestad, Dag wrote: Hi I want to do something like this: Location /kongsberg AuthType basic AuthName Requierd users

[us...@httpd] PHP ping and exec() hangs apache

2009-05-27 Thread Kamil Walas
Hi, I stuck with strange error. I have following code: ? echo 'BEFORE'; echo exec(ping -c1 -w1 1.1.25.38); echo 'AFTER'; ? Address doesn't exist. When execute script from command line everything works fine. But when I go to the file by Firefox it hangs out and apache need to be

Re: [us...@httpd] Userid and reverse proxy

2009-05-27 Thread Nguyen Tien Duong
Dear Sorry but i think that the post is not relevant to the original thread. You may want to create a new thread for this matter. Thank you. Regards, Jeff Shearer wrote: Try using a group rather than a list of users. See

Re: [us...@httpd] apache 2.2 and ldap group authentication

2009-05-27 Thread Peter Schober
* Jeff Shearer j...@shearer-family.org [2009-05-27 08:43]: dn: cn=SuperTeam,ou=groups,dc=my,dc=mydomain,dc=com ou: groups description: People who are employees of Super Team uniqueMember: uid=jeffshearer,dc=my,dc=mydomain,dc=com uniqueMember: uid=maeshearer,dc=my,dc=mydomain,dc=com

RE: [us...@httpd] Userid and reverse proxy

2009-05-27 Thread Efjestad, Dag
Jeff, I think you have misunderstood the problem. The problem is that I different web pages for different users. /dag -Opprinnelig melding- Fra: Jeff Shearer [mailto:j...@shearer-family.org] Sendt: 27. mai 2009 09:07 Til: users@httpd.apache.org Emne: Re: [us...@httpd] Userid and

Re: [us...@httpd] Unable to start Apache - Fail to Install libapreq2

2009-05-27 Thread Nick Kew
On Tue, 26 May 2009 20:56:29 -0700 (PDT) ragwho rag...@gmail.com wrote: Can't load '/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/APR/Request/Request.so' for module APR::Request: ld.so.1: httpd: fatal: libgcc_s.so.1: open failed: No such file or directory at Are you trying to mix an

Re: [us...@httpd] apache 2.2 and ldap group authentication

2009-05-27 Thread Peter Schober
* Peter Schober peter.scho...@univie.ac.at [2009-05-27 12:33]: I have tried a number of configurations for group authenticaiton, all without success. Following is the current iteration of my apache configuration for the superteam.docs directory: Directory /files/superteam.docs

Re: [us...@httpd] Userid and reverse proxy

2009-05-27 Thread Stefano Sasso
2009/5/27 Efjestad, Dag dag.efjes...@solvea.no:    Location /kongsberg        AuthType basic        AuthName Requierd users        AuthUserFile conf/basicauth.sec        Require user user1 user2 user3    /Location    ProxyRequests    Off    ProxyPass        /kongsberg/

[us...@httpd] Rewrite doesn't work !!

2009-05-27 Thread ricardo13
Hi, I have a web cluster and use mod_rewrite to forward request to cluster, according with type of request. There is a external program in directive RewriteMap to classify requests. My external program: ... while(1) { fscanf(stdin, %s, input); // read input --- format = /1, or /2, /3 ...

RE: [us...@httpd] Userid and reverse proxy

2009-05-27 Thread Efjestad, Dag
Thanks but I tried that. The problem is that the value of REMOTE_USER has no value. I use apache version 2.2 Here are the configuration: Location /kongsberg AuthType basic AuthName LOS AuthUserFile conf/LOSbasicauth.sec Require user u1 u2 u3 /Location

Re: [us...@httpd] sharing data between two different apache modules

2009-05-27 Thread Atanu
Thanks Nick for the pointer. Let me try this out in my boxes. On Wed, May 27, 2009 at 4:09 AM, Nick Kew n...@webthing.com wrote: On 26 May 2009, at 22:37, Atanu wrote: - The user will still type http://foo.com. This time a mod_proxy handler will display a login page. In fact this my own

Re: [us...@httpd] Rewrite doesn't work !!

2009-05-27 Thread Eric Covener
     sscanf(strchr(input,'/') + 1, %d, number);  // extract only number        RewriteRule ^/(.*) http://${prgmap:$1}/ [P] (5) map lookup OK: map=prgmap key=1 - val= Decide whether your passing in something with a slash or not. Does your program do the right thing when run outside of

[us...@httpd] Issue w/ Apache httpd 2.2.11 in Windows Vista

2009-05-27 Thread kowa
I installed Apache as a service as normal, then tried to run it. It ran...but it won't read the httpd.conf file. Even changing the service to call httpd.exe -k runservice -f (path to conf file) *does not work*. I can only run httpd manually, from the command prompt, with the -f parameter, and

RE: [us...@httpd] How do you build a FIPS 140-2 apache ?!?!?!

2009-05-27 Thread Sam theman
I was able to build a FIPS 140-2 apache, thanks to nobody at the apache users list. I banged my head against the wall for 2 days, and pieced together a lot of confused emails... WHY do apache developers not go the extra half foot and publish a doc. They will develop code out the gazoo, but

Re: [us...@httpd] How do you build a FIPS 140-2 apache ?!?!?!

2009-05-27 Thread Eric Covener
On Wed, May 27, 2009 at 2:44 PM, Sam theman xray...@hotmail.com wrote: I was able to build a FIPS 140-2 apache, thanks to nobody at the apache users list. I banged my head against the wall for 2 days, and pieced together a lot of confused emails... Quite sorry that nobody stepped up to collect

Re: [us...@httpd] How do you build a FIPS 140-2 apache ?!?!?!

2009-05-27 Thread Frank Gingras
Sam, Since you're 'theman', I guess we assumed you'd manage on your own. Seriously, however, no one is forcing you to use this software. Go ahead and use commercial software, we won't mind. Frank Sam theman wrote: I was able to build a FIPS 140-2 apache, thanks to nobody at the apache

Re: [us...@httpd] How do you build a FIPS 140-2 apache ?!?!?!

2009-05-27 Thread Peter Schober
* Sam theman xray...@hotmail.com [2009-05-27 20:45]: I was able to build a FIPS 140-2 apache, thanks to nobody at the apache users list. On a more constructive note: docs get written when someone does the work and puts them together. Find a stable place for your notes and publish them, so

[us...@httpd] mod-rewrite: ReWrite failure due to a reserved word?!

2009-05-27 Thread Shahriyar Shehi Imanov
My .htaccess contains following ReWrite rule: IfModule mod_rewrite.c RewriteEngine On RewriteBase / RewriteRule ^acp/([\/-_a-z0-9\.]*)/index.php/acp/$1 [NC,QSA,L] RewriteRule ^news/([\/-_a-z0-9\.]*)/index.php/news/$1[NC,QSA,L] /IfModule It works fine when I visit

Re: [us...@httpd] How do you build a FIPS 140-2 apache ?!?!?!

2009-05-27 Thread mboxdario-apache
Not the best answers. But it was not a good question neither. Can anyone supply the step-by-steps for building apache with FIPS 140-2 openssl? is NOT a good question. There is a guide you should have readed before, about how to ask good questions. Because the answer is: Yes. I'm almost sure

Re: [us...@httpd] Userid and reverse proxy

2009-05-27 Thread Stefano Sasso
2009/5/27 Efjestad, Dag dag.efjes...@solvea.no: I tried several options but no value in remote_user. did you try with LA-U? from apache mod_rewrite docs: For instance, to rewrite according to the REMOTE_USER variable from within the per-server context (httpd.conf file) you must use

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a reserved word?!

2009-05-27 Thread Eric Covener
What happens when you remove rewrite from the equation and just send the requests through your index.php? IOW, is the 403 issued by the PHP code? - The official User-To-User support forum of the Apache HTTP Server Project. See

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-27 Thread Kristof Zelechovski
Well, the log you have got is not complete, in that the crucial work is delegated to a subshell that is not being logged. What is interesting here is the preceding line starting with a '+'. You have snipped that one, unfortunately. Try changing ac_configure and friends to '/bin/sh -x ...'; you

Re: [us...@httpd] Rewrite doesn't work !!

2009-05-27 Thread ricardo figueiredo
Hi, I run the program outside of Apache, and it works perfeclty (How I would like). When typed 'http://localhost/1' in browser, the variable number is assigned value 1. Why mod_rewrite doesn't rewrite URL ??? I'm writing IP address to output program. Thank You Ricardo On Wed, May 27, 2009 at

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a reserved word?!

2009-05-27 Thread Shahriyar Shehi Imanov
hi again eric, i thought about that... i am coding cms, so redirections made by code are traceable. no, software [php that is] is not doing this. why would it do that only with one word [register in this case] anyway? As you said, I accessed pages through index.php, like:

Re: [us...@httpd] Issue w/ Apache httpd 2.2.11 in Windows Vista

2009-05-27 Thread William A. Rowe, Jr.
k...@redshift.com wrote: I installed Apache as a service as normal, then tried to run it. It ran...but it won't read the httpd.conf file. Even changing the service to call httpd.exe -k runservice -f (path to conf file) *does not work*. I can only run httpd manually, from the command prompt,

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a reserved word?!

2009-05-27 Thread Shahriyar Shehi Imanov
Ok, let me make this easier for you guys: http://www.audith.net/acp/components/index.do is our example page. If you are using some sniffer program, or header reader [like FF extension LiveHTTP headers. ], you can see that pages my code produces, have this header : X-Powered-By: Audith CMS

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a reserved word?!

2009-05-27 Thread Shahriyar Shehi Imanov
BLOODY HELL, I can't believe my dumbness :D I prepended my .htaccess with PERISHABLE PRESS 4G BLACKLIST for protection purposes, and it was the reason. Removed it and everything was fixed. I apologize guys for wasting your time here, and Eric, sorry for the earlier one :D. Thanks everyone for

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a reserved word?!

2009-05-27 Thread matt farey
We can all be dumb as you saw from my mistakes!! Sometimes the - in a regular expression gets interpreted as a range identifier, sometimes rewritebase can lead to non portability. And annoyingly once you have all this stuff set up, optimisation (of headers) can get thrown, see yahoo performance

Re: [us...@httpd] Rewrite doesn't work !!

2009-05-27 Thread ricardo figueiredo
Great Eric, You're right !!! The problem was the slash in RewriteRule (RewriteRule ^/(.*) http://${prgmap:$1}/ [P] ). Now, I have one more doubt. My external program forward request with URL with final /1, or /2 and others URL (for example, /3, /4, /5, etc...) I would like drop. The external

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a reserved word?!

2009-05-27 Thread Shahriyar Shehi Imanov
Lol yea, you guessed quite right. Until recently I was a PEAR user, but switched to Zend FW recently. Although Zend Db's Zend_Db_Select is a pain in ass, I managed to port everything to my existing Db handlers. Optimization is the concern at the moment, but I am sure it won't be hard to

Re: [us...@httpd] Issue w/ Apache httpd 2.2.11 in Windows Vista

2009-05-27 Thread kowa
k...@redshift.com wrote: I installed Apache as a service as normal, then tried to run it. It ran...but it won't read the httpd.conf file. Even changing the service to call httpd.exe -k runservice -f (path to conf file) *does not work*. I can only run httpd manually, from the command

Re: [us...@httpd] Issue w/ Apache httpd 2.2.11 in Windows Vista

2009-05-27 Thread kowa
Well, I solved it even though I have no idea what was going on. After disabling UAC, I happened to glance at the httpd.conf again and it was back to the default. I edited it AGAIN to set the correct configuration and lo and behold, now I can run httpd as a service. Did UAC do that? If it did,

[us...@httpd] Reverse proxy+Certs

2009-05-27 Thread Luis Daniel Lucio Quiroz
Hi there We have successfully install apache as normal reverse proxy, but now as a new requirement, real servers uses PKI for authenticate a site (mainly certificates) instead of using plain or digest. Of course, apache as we have fails. Does anyone has a guide of what should we do in this

Re: [us...@httpd] Issue w/ Apache httpd 2.2.11 in Windows Vista

2009-05-27 Thread Frank Gingras
Damon, UAC is likely to revert changes to config files, yes, without warning. Evil it is. Frank k...@redshift.com wrote: Well, I solved it even though I have no idea what was going on. After disabling UAC, I happened to glance at the httpd.conf again and it was back to the default. I

Re: [us...@httpd] Issue w/ Apache httpd 2.2.11 in Windows Vista

2009-05-27 Thread William A. Rowe, Jr.
k...@redshift.com wrote: k...@redshift.com wrote: I installed Apache as a service as normal, then tried to run it. It ran...but it won't read the httpd.conf file. Even changing the service to call httpd.exe -k runservice -f (path to conf file) *does not work*. I can only run httpd

Re: [us...@httpd] How do you build a FIPS 140-2 apache ?!?!?!

2009-05-27 Thread Jeff Shearer
It sure would be great if Sam the man would publish his notes so others wouldn't suffer the same learning frustration as Sam. Peter Schober wrote: * Sam theman xray...@hotmail.com [2009-05-27 20:45]: I was able to build a FIPS 140-2 apache, thanks to nobody at the apache users list. On a

Re: [us...@httpd] How do you build a FIPS 140-2 apache ?!?!?!

2009-05-27 Thread Doug Bell
On May 27, 2009, at 6:37 PM, Jeff Shearer wrote: I was able to build a FIPS 140-2 apache, thanks to nobody at the apache users list. On a more constructive note: docs get written when someone does the work and puts them together. Find a stable place for your notes and publish them, so others

[us...@httpd] Where to put .htpassd on CentOS?

2009-05-27 Thread Jason Todd Slack-Moehrle
Hi All, Where is the proper place to put .htpasswd on CentOS 5.3 so I can password protect directories in /var/www/html? /etc/httpd/run? -Jason - The official User-To-User support forum of the Apache HTTP Server Project.

[us...@httpd] How does Prefork work?

2009-05-27 Thread CrystalCracker
Can anyone explain me how exactly prefork works? StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 ServerLimit 16 I think I got confused between the terms - server, process and thread. If prefork is a single thread process, what does that ThreadsPerChild

RE: [us...@httpd] Userid and reverse proxy

2009-05-27 Thread Efjestad, Dag
Yes I tried LA-U without any luck :-( -Opprinnelig melding- Fra: Stefano Sasso [mailto:stesa...@gmail.com] Sendt: 27. mai 2009 21:20 Til: users@httpd.apache.org Emne: Re: [us...@httpd] Userid and reverse proxy 2009/5/27 Efjestad, Dag dag.efjes...@solvea.no: I tried several options but