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
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
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]
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
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
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
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
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
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
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
10 matches
Mail list logo