Mod_Rewrite Help

Associate
Joined
12 Mar 2006
Posts
376
Been trying to get some stuff to work with mod_rewrite but cant get the following to work (only started learning it today) basically want to use /proxy/www.google.co.uk to call the script to google.

To call a script I have in the browser I use:


when called and you enter all the stuff you want the actual output is:

What id like is to be able to enter:


Then mod_rewrite does its thing and only shows ^ in the browser but runs the script.

So far I have only put a .htaccess file in the cgi-bin with:

RewriteEngine on

RewriteRule ^/proxy.cgi/([A-Za-z0-9-]+)$ /proxy.cgi/111111A/http/$

But to no luck, any help on the correct way to do this would be a great help!

Thanks Laser402
 
Back
Top Bottom