trying to to change path

New to mod_rewrite? This is a good place to start.

trying to to change path

Postby j0wsty1ls » Sun Oct 17, 2004 8:23 am

Can anyone help, I have been fiddling with this for days and I cant seem to get it to work right

I want my hyperlink that says
http://www.myurl.com/cgi-bin/mystore/somepage.html
to go to that page, but after the link is clicked, show up in the address bar as
http://www.myurl.com/somepage.html

My code is not working like I expect it to
Code: Select all
RewriteEngine on
RewriteBase /
RewriteRule ^/(.*)$ /cgi-bin/mystore/$1 [L]


Thanks in advance for any advice.

Tom
j0wsty1ls
 
Posts: 3
Joined: Sun Oct 17, 2004 8:13 am
Location: va beach

Return to Beginner's Corner

Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests

cron