[BNM] Mod rewrite problem

Steve Purkiss steve at purkiss.com
Wed Jan 7 11:16:16 GMT 2009


Have you tried setting your RewriteBase?

http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteBase

On Wed, Jan 7, 2009 at 11:14 AM, Julian Blundell <old at w34u.com> wrote:
> Hi
>
> Got a little mod -rewrite problem, should work but does not.
>
> trying to get
> www.studiopottery.co.uk/html/jennybeavan.html
>
> to divert to
> <http://www.studiopottery.co.uk/potter_profile.php?id=39&name=Jenny-Beavan%29>
> www.studiopottery.co.uk/potter_profile.php?id=39
>
> got this in the .htaccess file in the /html directory
>
> Options +followsymlinks
>
> # Turn on the rewriting engine
> RewriteEngine On
>
> RewriteRule ^/html/jennybeavan.html$
> www.studiopottery.co.uk/potter_profile.php?id=39 [R,L]
>
> Does it work, does it hell. Just cant find the file and diverts to 404 and
> then the home page.
>
> Any help much appreciated.
>
> Jules
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>



-- 
Steve Purkiss

http://stevepurkiss.com
http://twitter.com/stevepurkiss


More information about the BNMlist mailing list. Powered by Wessex Networks