[us...@httpd] mod_rewrite and location

2010-03-29 Thread Henrik Gemal
I use mod_rewrite and in the root of the website I have this in the .htaccess file: IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [qsappend,last] /IfModule My index.php is

Re: [us...@httpd] mod_rewrite and location

2010-03-29 Thread Igor Cicimov
Your RewriteRule is wrong redirects everything to index.php in the root directory where you dont have access On Mar 29, 2010 8:24 PM, Henrik Gemal h...@mail.dk wrote: I use mod_rewrite and in the root of the website I have this in the .htaccess file: IfModule mod_rewrite.c RewriteEngine On

Re: [us...@httpd] mod_rewrite and location

2010-03-29 Thread Henrik Gemal
The problem is that if I do: Location / Order deny,allow Deny from all /Location Location /index.php Order deny,allow Allow from all /Location Location /program2 Order deny,allow Deny from all Allow from 127.0.0.1 /Location then calling

Re: [us...@httpd] mod_rewrite and location

2010-03-29 Thread Edgar Frank
10/03/29 Henrik Gemal I use mod_rewrite and in the root of the website I have this in the .htaccess file: Hi, mixing Location with .htaccess sounds wrong to me, as Location should be processed before URL-to-file mapping, but .htaccess can only be accessed after URL-to-file mapping. Be sure to

[us...@httpd] Default HTTPS VH to redirect to a HTTP page

2010-03-29 Thread Sandro Tosi
Hello, we're setting up an Apache to respond for SSL traffic. We have a set of VHs, each one for a different domain (we use SNI), and that part works fine. The additional requirement is that, for every domain that doesn't have a separate VH (so that goes into the default SSL VH) we want to

Re: [us...@httpd] Default HTTPS VH to redirect to a HTTP page

2010-03-29 Thread Tom Evans
On Mon, Mar 29, 2010 at 1:13 PM, Sandro Tosi sandro.t...@register.it wrote: Hello, we're setting up an Apache to respond for SSL traffic. We have a set of VHs, each one for a different domain (we use SNI), and that part works fine. The additional requirement is that, for every domain that

[us...@httpd] high load apache mpm configuration

2010-03-29 Thread alin vasile
Hi All,    Did anyone configured an apache 2.2 for a high traffic server? I am interested in how many connections can handle an apache installation using worker or prefork (and wich one is more suitable) for a minimum response time, ignoring file i/o (this server will server reverse proxy

Re: [us...@httpd] high load apache mpm configuration

2010-03-29 Thread Arnab Ganguly
Hi Alin, User worker model.It will give you the privilege of both threads and process.Tweak around the params MaxChildProcess,MaxThreads and MinThreadsand may be MaxMemFree for memory usage. Thanks, -A On Tue, Mar 30, 2010 at 1:32 AM, alin vasile alinachegal...@yahoo.comwrote: Hi All, Did