WPT 2.7.2 .htaccess in /video

Hey Pat,

I’m not sure where to put this so I’ve gone for here as it’s Private Instance related…

I’ve updated my .htaccess in /video so it’s wraps the rewrites in a check for mod_rewrite (code below)

Also I’m wondering about the / before create vs compare but I’ve never seen /video/create does it exist?

#Friendly urls

RewriteEngine on
#main pages
RewriteRule ^compare$ compare.php
RewriteRule ^create$ /create.php

Cheers

Andy

Thanks, I just updated the version in SVN. Honestly I don’t think either of those gets used anywhere so I may be able to get rid of it entirely.

create.php is in the video directory so the rewrite rule was completely wrong (and it’s used as part of the path for generating videos).

I’m pretty sure all of the code references compare.php directly even when in friendly urls mode but I’ll need to check before removing it.