Re: Apache, mod_rewrite and directory context

2012-06-06 Thread Tony Baldwin
On Tue, Jun 05, 2012 at 06:40:10PM +0200, Claudius Hubig wrote: > Hello Jimmy, > > Jimmy Thrasibule wrote: > > > > > > > > RewriteEngine On > > RewriteCond %{REQUEST_FILENAME} !-f > > RewriteCond %{REQUEST_FILENAME} !-d > > RewriteCond %{REQUEST_URI} !=/favicon.ic

Re: Apache, mod_rewrite and directory context

2012-06-05 Thread Claudius Hubig
Hello Jimmy, Jimmy Thrasibule wrote: > > > > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_URI} !=/favicon.ico > RewriteRule ^/(.*)$ index.php?q=$1 [L,QSA] > > > http://httpd.ap

Apache, mod_rewrite and directory context

2012-06-04 Thread Jimmy Thrasibule
Hi, I'm trying to pass everything that is not a file to `index.php` as a request parameter without using a `.htaccess` file. A request to http://www.example.com/test must be rewritten to http://www.example.com/index.php?q=/test. I'm using Debian Squeeze (6.0) and Apache 2.2.16. Here is my config

Re: Apache & mod_rewrite

2005-09-11 Thread David Clymer
On Sun, 2005-09-11 at 21:50 +0100, Philip Radford wrote: > Hi everyone, > > Anyone got any experience with mod_rewrite under Apache. Which version of apache? > > I am trying to create a dynamic directory using the following syntax > which I figured out from looking at tutorials etc but it refus

Apache & mod_rewrite

2005-09-11 Thread Philip Radford
Hi everyone, Anyone got any experience with mod_rewrite under Apache. I am trying to create a dynamic directory using the following syntax which I figured out from looking at tutorials etc but it refuses to work. This is what I have so far :- RewriteEngine on RewriteBase / RewriteRule ^/(.*)$

Problem apache+mod_rewrite

2001-10-05 Thread Jose Manuel Perez
Hi all. We are having some problems with Apache 1.3.19-1 and mod_rewrite. Using rewritemap rule we've got following error message in log file: [Thu Oct 4 12:38:23 2001] [error] [client 192.168.200.101] (37)No locks available: mod_rewrite: failed to lock file descriptor Aparently server is serving

Re: Apache mod_rewrite and Alias ?

2000-09-05 Thread Jaume Teixi
thank you Craig, I've tried both on global and on vhost config but has no effect for rewrite engine any points how to get that /stats pointing ot differeent _document_root ? thanks jaume. Craig Sanders wrote: > On Tue, Sep 05, 2000 at 11:22:56AM +, Jaume Teixi wrote: > > RewriteRule ^/

Re: Apache mod_rewrite and Alias ?

2000-09-05 Thread Craig Sanders
On Tue, Sep 05, 2000 at 11:22:56AM +, Jaume Teixi wrote: > RewriteRule ^/stats(.*)/reports/%{SERVER_NAME}$1 > > but it only forwards to /_document_root_/reports/virtualhost.com ok, so the rewrite rule is working. > as I see on rewrite log then reports 404 > so Alias

Re: Apache mod_rewrite and Alias ?

2000-09-05 Thread Jaume Teixi
hi RewriteRule ^/stats(.*)/reports/%{SERVER_NAME}$1 but it only forwards to /_document_root_/reports/virtualhost.com as I see on rewrite log then reports 404 so Alias /reports/var/reportshas no effect how to enable rewrite and then alias to change document_r

Re: Apache mod_rewrite

2000-09-04 Thread Craig Sanders
On Mon, Sep 04, 2000 at 06:20:09PM +, Jaume Teixi wrote: > I'm still getting 404 RewriteLog shows: > > ' pattern='^www\.[^.]+$' => not-matched > > whats happening ? i wasn't paying enough attention to your rules. they can't work as written. you want to look at the SERVER_NAME variable, not

Re: Apache mod_rewrite

2000-09-04 Thread Jaume Teixi
I'm still getting 404 RewriteLog shows: ' pattern='^www\.[^.]+$' => not-matched whats happening ? thanks, jaume. Craig Sanders wrote: > On Wed, Aug 30, 2000 at 10:18:14PM +, Jaume Teixi wrote: > > I need to do the following in order to access stats for each based > > virtual host > > > >

Re: Apache mod_rewrite

2000-09-02 Thread Craig Sanders
On Wed, Aug 30, 2000 at 10:18:14PM +, Jaume Teixi wrote: > I need to do the following in order to access stats for each based > virtual host > > when typing url www.virtualhost1.com/stats or > www.virtualhost99.com/stats > server page located under /var/reports/virtualhost1 or > /var/rep

Re: Apache mod_rewrite

2000-08-31 Thread Will Trillich
On Wed, Aug 30, 2000 at 10:18:14PM +, Jaume Teixi wrote: > I need to do the following in order to access stats for each based > virtual host > > when typing url www.virtualhost1.com/stats or > www.virtualhost99.com/stats > server page located under /var/reports/virtualhost1 or > /var/rep

Apache mod_rewrite

2000-08-30 Thread Jaume Teixi
I need to do the following in order to access stats for each based virtual host when typing url www.virtualhost1.com/stats or www.virtualhost99.com/stats server page located under /var/reports/virtualhost1 or /var/reports/virtualhost99 I've tryed on my httpd.conf: RewriteEngine on Rewrit