[users@httpd] SUMMARY:still hacking proxy-attempts accepted by webserver

2011-07-07 Thread Rob De Langhe
thx to Eric Covener (the sole replier on my mail), he pointed me in the right direction : Without any 'proxy' modules loaded, I needed to configure a 'honeypot' virtualhost to catch any request that doesn't contain one of my hostnames (like www.mydomain.be),[1] and deny access to them all.

[users@httpd] i am losing my hairs

2011-07-07 Thread Friedrich Locke
Hi folks, i am trying to get my users authenticated via kerberos password (NotGSSAPI, i.e., ticket exchange). But i cannot and the strange is that i can connect to my web server byproviding my kerberos password and by GSSAPI (ticket exchange). I don't know where my error is. When i try to access

[users@httpd] What version shall I use for learning PHP?

2011-07-07 Thread Varuna Seneviratna
Hello I am using Ubuntu 11.04 as my OS.The available versions of Apache2 for Ubuntu are listed below apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model apache2-mpm-worker - Apache HTTP Server - high speed threaded model 1 Can you please explain to me the difference

Re: [users@httpd] What version shall I use for learning PHP?

2011-07-07 Thread Tom Evans
On Thu, Jul 7, 2011 at 4:04 PM, Varuna Seneviratna vswebserv...@gmail.com wrote: Hello       I am using Ubuntu 11.04 as my OS.The available versions of Apache2 for Ubuntu are listed below apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model apache2-mpm-worker - Apache

[users@httpd] per location group based authentication

2011-07-07 Thread S. Levent Yilmaz
Hi all, I am trying to setup URI based authentication, and am not sure if this is doable. Currently, manually set permissions look like (omitting all non-pertinent config details): Location /git/foo Require group foo /Location Location /git/bar Require group bar /Location ... Is there

[users@httpd] Invoking PHP without .php extension?

2011-07-07 Thread Michael B Allen
I want a request like: /base/path/to/target?foo=bar to invoke a particular PHP file for everything under /base. It seems the usual way (only way?) to do this is with something like: AddHandler php5-script .php AddType text/html .php DirectoryIndex index.php and with directives like:

Re: [users@httpd] Invoking PHP without .php extension?

2011-07-07 Thread Devraj Mukherjee
Hi, If your Rewrite rule reads something like this RewriteRule ^api/(.*) api-gateway.php [L] Then basically you can extract the last few bit using regular expression in our case $urlParts = null; preg_match('/api\/([^\/]+)\/([0-9]+)*/', $_SERVER['REQUEST_URI'], $urlParts); $handlerName =

Re: [users@httpd] Invoking PHP without .php extension?

2011-07-07 Thread Michael B Allen
On Thu, Jul 7, 2011 at 7:02 PM, Devraj Mukherjee dev...@gmail.com wrote: Hi, If your Rewrite rule reads something like this RewriteRule ^api/(.*) api-gateway.php   [L] Then basically you can extract the last few bit using regular expression in our case $urlParts = null;

Re: [users@httpd] per location group based authentication

2011-07-07 Thread Igor Cicimov
Have you tried setting a variable and use it as group name? Have a look at SetEnvIf and RewriteRule options for setting variables. Igor On Fri, Jul 8, 2011 at 2:11 AM, S. Levent Yilmaz leventyil...@gmail.comwrote: Hi all, I am trying to setup URI based authentication, and am not sure if this

Re: [users@httpd] Invoking PHP without .php extension?

2011-07-07 Thread Devraj Mukherjee
On Fri, Jul 8, 2011 at 9:54 AM, Michael B Allen iop...@gmail.com wrote: This is a wreck and I must say I don't think it has much to do with PHP. It has to do with the CGI model which is all but dead. Considered Python via mod_wsgi?

Re: [users@httpd] Invoking PHP without .php extension?

2011-07-07 Thread Michael B Allen
On Thu, Jul 7, 2011 at 9:35 PM, Devraj Mukherjee dev...@gmail.com wrote: On Fri, Jul 8, 2011 at 9:54 AM, Michael B Allen iop...@gmail.com wrote: This is a wreck and I must say I don't think it has much to do with PHP. It has to do with the CGI model which is all but dead. Considered Python

Re: [users@httpd] per location group based authentication

2011-07-07 Thread S. Levent Yilmaz
Thanks for the response. That seems doable, however, I wasn't able to figure out how to use an (environment) variable with Require directive? I couldn't tell that from the docs http://httpd.apache.org/docs/current/en/env.html that this is in fact possible; and if it is, how to reference the