PDA

View Full Version : Subdomain options


gring
15th April 2009, 15:57
Hi,

I can't find documentation about the options in the subdomain menu.

What are the different redirect types (R, L, RL) ?

How should we format the Redirect path ( filesystem path? Url with http:// ? simple domain name?)

I'd like to redirect while keeping the original url in the browser, is it possible?

thks

Horfic
15th April 2009, 16:10
I'd like to redirect while keeping the original url in the browser, is it possible?

Yes, with the L as Redirect Typ.

rdv25772
15th April 2009, 16:52
Hi,

I can't find documentation about the options in the subdomain menu.

What are the different redirect types (R, L, RL) ?

How should we format the Redirect path ( filesystem path? Url with http:// ? simple domain name?)

I'd like to redirect while keeping the original url in the browser, is it possible?

thks

Can anybody tell me what the different redirect types means?

Many thanks in advance

Horfic
15th April 2009, 21:32
L = The url stays. phpmyadmin.domain.xx => domain.xx/phpmyadmin = phpmyadmin.domain.xx in the URL-Bar

R = The phpmyadmin.domain.xx => domain.xx/phpmyadmin = domain.xx/phpmyadmin in the URL-Bar

Don't know for the RL, I think it adds the path to the url.
phpmyadmin.domain.xx => domain.xx/phpmyadmin = phpmyadmin.domain.xx/domain.xx/phpmyadmin
But as I said I don't know.

falko
16th April 2009, 18:15
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriteflags

gring
18th April 2009, 01:05
Hi, thanks for your answers, now I know what these flags stand for.

Howerver, no matter what I put in the flags dropdown, it keeps making a simple redirection.

Any Ideas how I should start to troubleshoot this?

gring
20th July 2009, 16:57
Hi, I finally got my server running, but I still have the same problem, using the noflag or L option keeps to behave like a R (redirection).

SamTzu
28th November 2013, 16:11
4 us lazy ppl.

Apache Redirect rule sets
(Recommendation is to *always* use [L] flag. Last Rule.)

L = (last rule) Original URL stays in the browser address field.
R = (force redirect) changes the URL to the new URL. (=Google rank killer.)
RL = Use [R] with [L] rather than just R flag. Makes a redirect to new (visible) address and then stops with [L]ast rule.
R=301,L = "The resoure you requested has been moved permanently to this new address."

SamTzu
28th November 2013, 16:13
I'm curious what is the difference between No Redirect & No Flag?

till
28th November 2013, 16:44
"No Redirect" is no redirect while "No Flag" is a redirect without specifyng a redirect flag in apache for this redirect. If you like to see the different configs, set a redirect and then take a look into the resulting vhost file.