Re: [EMAIL PROTECTED] Rewrite help

2008-11-08 Thread Craig Tataryn
Oh wow, thanks so much! I had a similar setup before but I guess because "root-resources" was always mounted as the DocumentRoot in the past it worked! Thanks again, Craig. On 8-Nov-08, at 10:42 AM, Eric Covener wrote: On Sat, Nov 8, 2008 at 11:26 AM, Craig Tataryn <[EMAIL PROTECTED]> w

Re: [EMAIL PROTECTED] Rewrite help

2008-11-08 Thread Eric Covener
On Sat, Nov 8, 2008 at 11:26 AM, Craig Tataryn <[EMAIL PROTECTED]> wrote: > Hi, I have the following rules setup: > > - > Alias /root-resources /Users/craiger/root-test > > RewriteEngine On > RewriteRule ^/freshaire/images/(.*)$ /root-resources/images/$1 [L] > > RewriteRule ^/fresha

[EMAIL PROTECTED] Rewrite help

2008-11-08 Thread Craig Tataryn
Hi, I have the following rules setup: - Alias /root-resources /Users/craiger/root-test RewriteEngine On RewriteRule ^/freshaire/images/(.*)$ /root-resources/images/$1 [L] RewriteRule ^/freshaire/community/images/(.*)$ /root-resources/ community-resources/images/$1 [L]

Re: [EMAIL PROTECTED] rewrite help

2008-11-04 Thread apache
I have figured out the problem. Once apache tested the request URI it tested it a second time as an internal redirect and would fail, or get in a loop. So I just had to tell it not to check for /wc , which wasn't excluded by the !-f and !-d because it doesn't exist on the filesystem because it is a

Re: [EMAIL PROTECTED] rewrite help

2008-11-03 Thread André Warnier
Also, maybe be aware that (.*) will match anything, even the empty string, so you may end up with "/wc?uni=" (unless as solprovider indicates, you have a different rule for "/"). It may be better to use "^/(.+)$", which will only match if there is actually something after the /. [EMAIL PROTECT

Re: [EMAIL PROTECTED] rewrite help

2008-11-03 Thread solprovider
Do not escape the question mark. RewriteRule ^/(.*) /wc?uni=$1 [L] - the first character must be a slash and is not included in the $1 variable. - Add "/wc?uni=" before the rest of the URL on the same server. - Discard any querystring from the visitor. (No QSA flag.) - [L] = stop processing Rewri

[EMAIL PROTECTED] rewrite help

2008-11-03 Thread apache
I am trying to get a redirect to work so that I can get friendl URLs for my website. I am using mod_perl and have written a little handler as a controler to handle all requests. What I currently have that works as follows. RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f [OR] Re

Re: [EMAIL PROTECTED] Rewrite Help

2007-08-25 Thread Jeff Peng
Original-Nachricht > Datum: Sat, 25 Aug 2007 22:37:39 +0100 > Von: "Ben Hussey" <[EMAIL PROTECTED]> > An: users@httpd.apache.org > Betreff: [EMAIL PROTECTED] Rewrite Help > This is something I've been trying to do for a while but never foun

Re: [EMAIL PROTECTED] Rewrite Help

2007-08-25 Thread Joshua Slive
On 8/25/07, Ben Hussey <[EMAIL PROTECTED]> wrote: > This is something I've been trying to do for a while but never found or > achieved how to do it. > > I need to redirect (on a large scale): > http://xyz.mydomain.com > to: > /web/live/xyz > > Is this possible using mod_rewrite and if so I would gr

[EMAIL PROTECTED] Rewrite Help

2007-08-25 Thread Ben Hussey
This is something I've been trying to do for a while but never found or achieved how to do it. I need to redirect (on a large scale): http://xyz.mydomain.com to: /web/live/xyz Is this possible using mod_rewrite and if so I would greatly appreciate a starting block to work from Thanks Ben Hussey