some principal questions concerning mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i'd like to use mod_rewrite, but i have some problems in understanding it.

- "RewriteRule pattern subtitution [flags]":
Is substitution always an URL ? Also in cases when pattern is matched against the filesystem path ?
Is a RewriteRule always applied to an URL, meaning the URL will change depending on the substitution ?

- What means (in directory context) "... after removing the prefix that lead the server to the current RewriteRule" ? Which prefix is removed ? That of the URL or that of the filesystem path ?

- "per-directory Rewrites": "When using the rewrite engine in .htaccess files the per-directory prefix (...) is automatically removed for the RewriteRule pattern matching and automatically added after any relative (not starting with a slash or protocol name) substitution encounters the end of a rule set." Does this not apply to directory context, only to .htaccess ? Again: what is removed ? The prefix of an URL or that of a filesystem path ? And where is it added ? In an URL or in a filesystem path ?

Thanks for any clarifying.


Bernd
--
Bernd Lentes

Systemadministration
Institut für Entwicklungsgenetik
Gebäude 35.34 - Raum 208
HelmholtzZentrum münchen
bernd.lentes@xxxxxxxxxxxxxxxxxxxxx
phone: +49 89 3187 1241
fax:   +49 89 3187 2294
http://www.helmholtz-muenchen.de/idg

Leute, versauft's nit Euer ganzes Geld.
Kauft lieber Bier davon !
Karl Valentin

Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux