'2008/09'에 해당되는 글 2건

  1. 2008/09/17 [펌] Redirect Reference (IIS 6.0)
  2. 2008/09/04 이문세 초절정 희귀 데뷔 음반을 구하다!
2008/09/17 13:08 study/research

Redirect Reference (IIS 6.0)

Redirecting a client request is one way to ensure that users get the correct page, if your site is under construction or has changed identity. You can redirect client requests to a directory on the same Web server or to a different URL.

Configuring URL and Wildcard Redirection

You can configure redirection to a URL and wildcard redirection programmatically. Redirection variables and flags allow you to specify targets and behavior by changing the HttpRedirect metabase property.

The following example shows the format of a simple redirection string.

http://DestinationURL[,Flag[s]]

Where DestinationURL can include the following redirect variables to pass portions of the original URL with the destination URL. You can use more than one variable in a single redirection string.

Variable Description Example

$S

Passes the suffix of the requested URL to the new URL. The suffix is the portion of the original URL that remains after the redirected URL is substituted.

If the EXACT_DESTINATION flag is not set, the resulting destination URL will have the name of the requested file appended as a folder name, as well as the file name itself.

If the virtual directory that is mapped to the following Web site:

http://fabrikam/Scripts

is configured to be redirected to the following exact URL:

http://fabrikam/NewScripts$S

A new request for the following URL:

http://fabrikam/Scripts/Program.exe

Would be redirected automatically to the following URL:

http://fabrikam/NewScripts/Program.exe

$P

Passes parameters (such as querystring parameters) in the original URL to the new URL, without the question mark (?).

If the virtual directory that is mapped to the following Web site:

http://fabrikam/Scripts

is configured to be redirected to the following URL:

http://fabrikam/NewScripts$P

A new request for the following URL:

http://fabrikam/Scripts/File.asp?var1=5&var2=6

Would be redirected automatically to the following URL:

http://fabrikam/NewScriptsvar1=5&var2=6

$Q

Passes parameters (such as querystring parameters) in the original URL to the new URL, including the question mark (?).

If the virtual directory that is mapped to the following Web site:

http://fabrikam/Scripts

is configured to be redirected to the following exact URL:

http://fabrikam/NewScripts$S$Q

A new request for the following URL:

http://fabrikam/Scripts/File.asp?var1=5&var2=6

Would be redirected automatically to the following URL:

http://fabrikam/NewScripts/File.asp?var1=5&var2=6

$V

Passes the requested URL, without the server name and without any parameters. To include parameters, use the $P or $Q variable with the $V variable.

If the EXACT_DESTINATION flag is not set, the resulting destination URL will have the name of the requested file appended as a folder name, as well as the file name itself.

If the virtual directory that is mapped to the following Web site:

http://fabrikam/Scripts

is configured to be redirected to the following exact URL:

http://contoso$V

A new request for the following URL:

http://fabrikam/Scripts/File.asp

Would be redirected automatically to the following URL:

http://contoso/Scripts/File.asp

Redirection Using Wildcards

You can use redirect wildcards to match any number of characters in the original URL. Begin the destination URL with an asterisk (*) and a semicolon (;), and separate pairs of wildcard characters and destination URLs with a semicolon. The following example shows the format of a redirection string that uses wildcards.

*; Wildcard1; Destination1[; Wildcard2; Destination2][, Flags]

Where WildcardN can include an asterisk (*) to match any number of characters in the original URL and pass them to DestinationN by using the $0 through $9 variables defined in the following table.

"Variable" "Description" "Example"

$0 through $9

Passes the portion of the requested URL that matches the indicted wildcard character. Wildcards must start at $0 for each Wildcard;Destination set. The EXACT_DESTINATION flag must be appended to the redirection string.

If the virtual directory that is mapped to the following Web site:

http://fabrikam/Scripts

is configured with the following redirection string:

*; /Scripts/*_in.asp; /NewScripts/$0.dll; /Scripts/*_out.asp; http://contoso/NewScripts/$0.dll

A new request for the following URLs:

http://fabrikam/Scripts/data_in.asp

http://fabrikam/Scripts/data_out.asp

Would be redirected automatically to the following respective URLs:

http://fabrikam/NewScripts/data.dll

http://contoso/NewScripts/data.dll

!

Does not allow a redirect.

This variable is useful when you want to exempt files or subdirectories from redirection when a parent directory is configured to be redirected.

If the virtual directory that is mapped to the following Web site:

http://fabrikam/Scripts

is configured to be redirected, but the following Web site:

http://fabrikam/Scripts/Commerce/Accounts

needs to be exempt, programmatically set the redirection string for the exempted folder to the following

*;!

For example, to redirect all requests for /Scripts/Filename.stm to a single file called Default.stm, and to redirect all requests for /Scripts /Filename.htm to a single file called Default.htm, use the following redirect request for the /Scripts virtual directory:

*;Filename.stm;/Default.stm/Filename.htm;/Default.htm

Using Redirection Flags

The following flags augment redirect strings of either URL or wildcard format. More than one flag is allowed. Flags are appended programmatically to the redirection string in HttpRedirect, or configured by selecting check boxes in IIS Manager.

Flag User Interface Check Box Description

EXACT_DESTINATION

The exact URL entered above

Indicates that the value provided for the destination should be considered an absolute target location.

CHILD_ONLY

A directory below this one

Alerts IIS that redirection should occur only once because the destination is in a subdirectory of the original URL. This flag avoids loops. Also, this flag instructs IIS to redirect requests only if they are to subfolders or files of the original URL.

PERMANENT

A permanent redirection for this resource

Indicates that this redirection is permanent for this resource.

TEMPORARY

Clear the A permanent redirection for this resource check box"

Indicates that this redirection is temporary for this resource.




* 출처 : http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true
크리에이티브 커먼즈 라이선스
Creative Commons License
posted by xfactor
2008/09/04 22:05 story.../음악이야기
사람들이 일반적으로 알고 있는 이문세 데뷔음반은 1983년 "나는 행복한 사람"이 수록된 음반이다. 그런데, 얼마전 1982년에 발매된 "떠돌이 인생도 하늘은 있다"라는 음반을 알게 되었다.

이 음반은 오아시스 레코드에서 발매된 이문세 최초의 음반으로 추정되는 것으로, 이문세 본인도 매우 찾고 있는 음반이라도 들었다. 음악은 어떨지 들어보고 싶은데, 턴테이블이 고장나서 매우 애가 타고 있는 상황이니.. 안타깝기 그지 없다. (곧 USB 달린 놈으로 하나 사야겠다. digitalize해놓고 가지고 다니면서 들어야지 이거참 힘들어서..)

그런데, 보다 황당한 음반을 알게 되었다. 김기록이라는 가수의 싱글 (당시 싱글은 앞뒤면 한곡씩 넣고 나머지는 다른 가수들의 노래를 넣는 경우가 많았다. 조용필 데뷔 음반도 그랬듯이..)에 이문세의 곡이 4곡 (가는 사람 갈지라도, 바보스럽게, 가까운 우리는, 당신이 필요할때)가 수록되어 있는 것이 아닌가?

이 음반은 1980년에 발매된 것으로 (와중에 내가 구한건 비매품이다. 정식 발매가 아예 안된건지, 여부는 알지 못한다) 이문세의 첫번째 녹음이라고 보는 것이 맞을 것 같다.

여하튼 최근에 구한 음반 중 최고 가격에 구하긴 했지만, 기분은 좋다. 당분간 술 안 먹으면 될것 아닌가.. ㅋㅋ

얼렁 턴테이블도 새로 사서, 신나게 들어봐야겠다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License
posted by xfactor