mod_rewrite - URL Arache
mod_rewrite Apache , .. URL . URL - . , , mod_rewrite, , . Apache mod_rewrite.
( ), URL . , URL. URL , , , HTTP , , URL .
URL ( path-info) (httpd.conf) (.htaccess) . , .
, . , .
1996 The Apache Group 1997
, , , , .
API
, , - HTTP , Apache . Apache API. Mod_rewrite 2 : URL HTTP , - (.htaccess), .
, Apache' ( ) mod_rewrite URL . , , mod_rewrite . mod_rewrite URL, URL, , . API, , Apache 1.x mod_rewrite. 2 :
mod_rewrite URL URL, URL , API URL . 2- Apache 2 , . , : Apache URL API.
mod_rewrite URL , .. .htaccess, URL . , .htaccess , . : API, URL. , mod_rewrite : URL/ , mod_rewrite , URL ( , , RewriteBase , ) URL. API.
mod_rewrite , : URL , - . , mod_rewrite ( ) URL , .
2 !
API, mod_rewrite ( , , Apache , ). URL (() ). . .
( ) . : (RewriteRule ) (RewriteCond ). , .
URL . mod_rewrite , . , mod_rewrite . , URL . , . : URL - . , , , .. . , . , . , URL .
Apache 1.3.20, ( , ) (''). , '\$'; mod_rewrite .
: , , $N %N (. ). . 2 ( ) .
2: .
, mod_rewrite, .
() CGI/SSI SCRIPT_URL SCRIPT_URI. , .. , , CGI/SSI SCRIPT_NAME SCRIPT_FILENAME .
: URI/URL , , .., - . , URL .
SCRIPT_NAME=/sw/lib/w3s/tree/global/u/rse/.www/index.html
SCRIPT_FILENAME=/u/rse/.www/index.html
SCRIPT_URL=/u/rse/
SCRIPT_URI=http://en1.engelschall.com/u/rse/