[ic] Mod_Rewrite
Patrick Donker
list-account at webpagina.nu
Thu Sep 2 15:23:39 EDT 2004
Aftermarket Cellular wrote:
> Hi,
>
> I am trying to use the rule below to rewrite the following url:
>
> Old Url: http://aftermarketcellular.com/~aftermar/cgi-
> bin/cart.cgi/scan/fi=cat/sp=pcs_results_area.html/st=db/co=yes/sf=sel/se
> =AUDIOVOX/tf=description/ml=12/va=banner_image=/va=banner_text=.html
>
> New Url: http://aftermarketcellular.com/AUDIOVOX.html
>
> My .htaccess file looks like this:
>
> RewriteEngine On
> Options +FollowSymlinks
> RewriteBase /
> RewriteCond %{REQUEST_URI} !index.php
> RewriteRule ^([^/]+)/([^/]+)/?$ /~aftermar/cgi-
> bin/cart.cgi/scan/fi=cat/sp=pcs_results_area.html/st=db/co=yes/sf=sel/se
> =$1/tf=description/ml=12/va=banner_image=/va=banner_text=$2
>
> The file is located in my public_html directory but doesn't seem to be
> doing anything. Is there something wrong with my rewrite rule or am I
> missing something else? I am using 4.8.9.
>
> Thank you
>
>
You might want to try putting this in the virtual host section of your
httpd.conf
-Patrick
More information about the interchange-users
mailing list