Current time: 03-31-2020, 11:38 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPT 2.7.2 .htaccess in /video
09-18-2012, 01:27 AM
Post: #1
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
#

<IfModule mod_rewrite.c>
RewriteEngine on

#main pages
RewriteRule ^compare$ compare.php
RewriteRule ^create$ /create.php
</IfModule>

Cheers

Andy

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
09-21-2012, 11:22 PM
Post: #2
RE: WPT 2.7.2 .htaccess in /video
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)