Re: [EMAIL PROTECTED] .htaccess and PHP

2008-07-24 Thread Skip Evans
Hey Matt, This is closer, still, but what I emailed you off list is to ask if you would be willing to take this one as a small consulting job for us. The reg exp and htaccess issues involved are out of my area of expertise. We really need this done as the whole premise of how the site wor

Re: [EMAIL PROTECTED] .htaccess and PHP

2008-07-24 Thread Matt
On Thu, Jul 24, 2008 at 3:33 AM, Skip Evans <[EMAIL PROTECTED]> wrote: > Hey Matt, > > (I just sent you the message off list, but now rereading this again, I'm > starting to understand.) > > I see that I'm affecting all the URLs, including the ones the app is > initiating and that's what's breaking

Re: [EMAIL PROTECTED] .htaccess and PHP

2008-07-23 Thread Skip Evans
Hey Matt, (I just sent you the message off list, but now rereading this again, I'm starting to understand.) I see that I'm affecting all the URLs, including the ones the app is initiating and that's what's breaking stuff. But what if I want the rule to ONLY take affect when the URL ends w

Re: [EMAIL PROTECTED] .htaccess and PHP

2008-07-23 Thread Matt
if the "header file is read in by php" means that it is an include, that doesnt matter it is the form of the URL that the user_agent requests that matters so say the user_agent requests index.php, then that php file includes header.html and that the resulting HTML is something like the user_ag

Re: [EMAIL PROTECTED] .htaccess and PHP

2008-07-23 Thread Gene LeDuc
Hi Skip, I'm not an expert, but I've been messing with mod-rewrite a bit recently. My guess is that you need a rewrite condition like this before your RewriteRule: RewriteCond %{REQUEST_METHOD} ^GET Regards, Gene At 02:48 PM 7/23/2008, Skip Evans wrote: Hey all, I'm new to the list and

[EMAIL PROTECTED] .htaccess and PHP

2008-07-23 Thread Skip Evans
Hey all, I'm new to the list and am having some issues with a RewriteRule I've applied in an .htaccess file. Or perhaps not the rule, but with using .htaccess in general. What I wanted to do was allow users to enter a URL like the following: http://varsitybeat.com/wi/madison and then hav