๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fj.net.www.servers
3 messages
3 total messages Started by Yasushi Shinjo Sat, 02 Oct 2004 09:06
[apache] Redirect seeother except subdir/
#227
Author: Yasushi Shinjo
Date: Sat, 02 Oct 2004 09:06
16 lines
1448 bytes
$B?7>k!wC^GHBg3X>pJs$G$9!#$3$s$K$A$O!#(B

Apache 2.0 $B$G!"(BRedirect $B$r;H$C$F$$$^$9!#%G%U%)%k%H$G(B 
Redirect $B$G$9$,!"0lIt$@$1$O$=$N$^$^;D$9$h$&$K$7$?$$$N$G$9$,!"(B
$B2DG=$G$7$g$&$+!#5$;}$H$7$F$O!"$3$s$J46$8$G$9!#(B

Redirect /dir1 http://host1/dir1
Redirect /dir1/dir2 $B$=$N$^$^(B

Alias $B$H(B Redirect $B$G$O!"(BRedirect$B$NJ}$,>!$D$H%I%-%e%a%s%H$K$O(B
$B=q$$$F$"$j$^$9!#(B

http://httpd.apache.org/docs-2.0/mod/mod_alias.html

$B!@!@!!?7>k!!Lw!!!J$7$s$8$g$&!!$d$9$7!K!!!@!@(B
$B!@!@!!C^GHBg3X!!EE;R!&>pJs!!!!!!!!!!!!!!!@!@(B
Re: [apache] Redirect seeother except subdir/
#228
Author: MAEDA Atusi
Date: Sun, 03 Oct 2004 15:00
13 lines
1859 bytes
yas@is.tsukuba.ac.jp (Yasushi Shinjo) writes:

> Apache 2.0 ใงใ€Redirect ใ‚’ไฝฟใฃใฆใ„ใพใ™ใ€‚ใƒ‡ใƒ•ใ‚ฉใƒซใƒˆใง 
> Redirect ใงใ™ใŒใ€ไธ€้ƒจใ ใ‘ใฏใใฎใพใพๆฎ‹ใ™ใ‚ˆใ†ใซใ—ใŸใ„ใฎใงใ™ใŒใ€
> ๅฏ่ƒฝใงใ—ใ‚‡ใ†ใ‹ใ€‚ๆฐ—ๆŒใจใ—ใฆใฏใ€ใ“ใ‚“ใชๆ„Ÿใ˜ใงใ™ใ€‚
> 
> Redirect /dir1 http://host1/dir1
> Redirect /dir1/dir2 ใใฎใพใพ

RedirectMatch /dir1/(([^d]|d[^i]|di[^r]|dir[^2]|dir2[^/]).*)  http://host1/dir1/$1
ใจใ‹?

				ๅ‰็”ฐๆ•ฆๅธ
Re: [apache] Redirect seeother except subdir/
#229
Author: Yasushi Shinjo
Date: Tue, 05 Oct 2004 18:26
22 lines
1630 bytes
$B?7>k!wC^GHBg3X$G$9!#$3$s$K$A$O!#(B

In article <m3oejj3kzh.fsf@nospam.maedapc.cc.tsukuba.ac.jp>
	MAEDA Atusi <maeda-news@ialab.is.tsukuba.ac.jp> writes:
> > Redirect /dir1 http://host1/dir1
> > Redirect /dir1/dir2 $B$=$N$^$^(B
> RedirectMatch /dir1/(([^d]|d[^i]|di[^r]|dir[^2]|dir2[^/]).*)  http://host1/dir1/$1
> $B$H$+(B?

$B$*$*!#$&$^$/$$$-$^$9$M!#(B

/dir1/[^d].*
/dir1/d[^i].*
/dir1/di[^r].*
/dir1/dir[^2].*
/dir1/dir2[^/].*

$B%G%#%l%/%H%j$,#2$D$"$C$?$i!"!"!"$^$"$$$$$+!#(B
$B%*!<%H%^%H%s$NJ}$,4JC1$=$&!#(B

$B!@!@!!?7>k!!Lw!!!J$7$s$8$g$&!!$d$9$7!K!!!@!@(B
$B!@!@!!C^GHBg3X!!EE;R!&>pJs!!!!!!!!!!!!!!!@!@(B
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads