Re: [users@httpd] mod_rewrite Question

2012-12-28 Thread Igor Cicimov
On Sat, Dec 29, 2012 at 3:40 PM, Akash Jain wrote: > RewriteRule ^/cmdbnew/(.*)/(.*)$ > http://ckcftpa2/cmdbnew/assetdetail.php?srv=$1&cust=$2 [R,L] > This is more precise. As I said, in a nutshell so you needed to work out the rest yourself since I was typing on a phone and went for a short ver

Re: [users@httpd] mod_rewrite Question

2012-12-28 Thread Akash Jain
RewriteRule ^/cmdbnew/(.*)/(.*)$ http://ckcftpa2/cmdbnew/assetdetail.php?srv=$1&cust=$2 [R,L] If you have any L rule preceeding it, then it may be overwriting it. Can you try putting the rule i gave you above , and see what the rewrite logs say. On Sat, Dec 29, 2012 at 10:02 AM, Martin, Stanley

RE: [users@httpd] mod_rewrite Question

2012-12-28 Thread Martin, Stanley G
It didn't work. It's obvious I subbed in some bogus names, but since I'm trapped behind a firewall and this data isn't sensitive, my real URl is: http://ckcftpa2/cmdbnew/assetdetail.php?server=Server1&cust=XXX I want them to click on a link that has an href like this: /cmdbnew/Server1/XXX And

Re: [users@httpd] mod_rewrite Question

2012-12-28 Thread Igor Cicimov
On 29/12/2012 3:12 PM, "Martin, Stanley G" wrote: > > I have been banging my head against the wall on this and when I think I finally have it, it doesn’t work. I’ve been able to get some basic stuff to work like: > > > > Setting DirectoryIndex > > And doing a simple redirect. > > > > But, what I

[users@httpd] mod_rewrite Question

2012-12-28 Thread Martin, Stanley G
I have been banging my head against the wall on this and when I think I finally have it, it doesn't work. I've been able to get some basic stuff to work like: Setting DirectoryIndex And doing a simple redirect. But, what I really want to do is make the URI cleaner so that the users don't see t

[users@httpd] Re: Backport of AuthLDAPInitialBindAsUser functionality to 2.2

2012-12-28 Thread Javier Domingo
Covener in #httpd told me to look at config.m4, but I don't really understand what: APACHE_MODULE(authnz_ldap, LDAP based authentication, , , no, [ MOD_AUTHNZ_LDAP_LDADD="`$apu_config --ldap-libs`" || MOD_AUTHNZ_LDAP_LDADD="" AC_SUBST(MOD_AUTHNZ_LDAP_LDADD) ]) means. I know I have to put the

[users@httpd] Backport of AuthLDAPInitialBindAsUser functionality to 2.2

2012-12-28 Thread Javier Domingo
Hi, I have just patched the 2.2 code to work making the inital bind as the user that requested, but I don't get into the way of linking it. I have suceeded in getting the source of the module compiled (go to /modules/aaa/ and there I apxs2 -a -i -c mod_authnz_ldap.c). The problem is that when I t

Re: [users@httpd] Re: Spam:*********, Re: [users@httpd] How do you implement mod_fcgid?

2012-12-28 Thread Nick Kew
On Fri, 28 Dec 2012 11:59:41 -0500 John Iliffe wrote: > That worked, thanks Eric. > > It was a positioning problem, mod_fcgid was ahead of mod_unixd in the > LoadModules list. I just moved it to the end of the list. > > I don't like to criticise, but could the documentation for 2.4 be updated

[users@httpd] Re: Spam:*********, Re: [users@httpd] How do you implement mod_fcgid?

2012-12-28 Thread John Iliffe
That worked, thanks Eric. It was a positioning problem, mod_fcgid was ahead of mod_unixd in the LoadModules list. I just moved it to the end of the list. I don't like to criticise, but could the documentation for 2.4 be updated to emphasize this requirement? http://httpd.apache.org/mod_fcgi

Re: [users@httpd] RE: Apache 2.4.3 - Mod_proxy_balancer + mod_lbmethod_bybusyness

2012-12-28 Thread Eric Covener
* NOTE: The default method is byrequests, which we assume * exists! */ lbmethod = ap_lookup_provider(PROXY_LBMETHOD, "byrequests", "0"); if (!lbmethod) { return "Can't find 'byrequests' lb method"; } On Fri, Dec 28, 2012 at 10:55 AM, Rapp, James wrote: > Hello

[users@httpd] RE: Apache 2.4.3 - Mod_proxy_balancer + mod_lbmethod_bybusyness

2012-12-28 Thread Rapp, James
Hello, Can anyone comment on this behavior? On Monday, December 17, 2012 at 3:52 PM James Rapp wrote: > > BalancerMember http://machine1.example.com:8080/ max=64 > connectiontimeout=1200 keepalive=on route=machine1 > BalancerMember http://machine2.example.com:8080/ max=64 > connectiontimeout

Re: [users@httpd] How to retrieve IP address of incoming packets in text file using httpd source code

2012-12-28 Thread Bouchot j.
Hi Bhavna, >> I need the source code file of apache which accepts requests and through >> which I can get the IP at the initial stage. i think you looking for that /server/listen.c line 174 173 #ifdef MPM_ACCEPT_FUNC 174 server->accept_func = MPM_ACCEPT_FUNC; 175 #else 176