MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - WPT 2.7.2 .htaccess in /video

WebPagetest Forums

Full Version: WPT 2.7.2 .htaccess in /video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

<IfModule mod_rewrite.c>
RewriteEngine on

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


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.
Reference URL's