httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Schevingt" <l...@nightrain.com>
Subject [users@httpd] Help me please .. Mod_rewrite
Date Mon, 02 Feb 2004 09:49:05 GMT
Hi

i am new user of apache and i want use mod_rewrite

Actually i have this into my VirtualHost:

    RewriteEngine On
    RewriteRule ^/clients/(.+)$
http://www-srv1.nightrain.com/cgi-bin/awstats.pl?config=$1 [R,L]

When my user put http://stats.nightrain.com/clients/www.toto.com he going
automatiquely
to http://www-srv1.nightrain.com/cgi-bin/awstats.pl?config=www.toto.com
but he see the url http://www-srv1......

Now, i want the same action but without change URL. I want use Proxy.

I put into my VirtualHost:

    RewriteEngine On
    RewriteRule ^/clients/(.+)$
http://www-srv1.nightrain.com/cgi-bin/awstats.pl?config=$1 [P,L]

When the user put the first url, she don't change (good ..) but the $1 don't
work ...

My question:
    1- He have a debug mode in mod_rewrite ?? for know what is the problems
?
    2- Can i use the good config ?

Thanks for your help





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message