1
0
mirror of https://github.com/apache/httpd.git synced 2025-05-17 15:21:13 +03:00

55 Commits

Author SHA1 Message Date
Tony Finch
84c36af5a2 note that rewrite map expansions work in rewriteconds
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87659 13f79535-47bb-0310-9956-ffa450edef68
2001-01-11 23:29:16 +00:00
Joshua Slive
e3489b6948 Normalize syntax.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87273 13f79535-47bb-0310-9956-ffa450edef68
2000-12-09 19:50:04 +00:00
Joshua Slive
9dc2c4d566 Typo in mod_rewrite.html.
PR: 6835
Submitted by:	ap@rupp.de


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86930 13f79535-47bb-0310-9956-ffa450edef68
2000-11-12 20:19:08 +00:00
Joshua Slive
c23305c3d9 Clarify when [NC] is effective.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86639 13f79535-47bb-0310-9956-ffa450edef68
2000-10-18 05:14:41 +00:00
Joshua Slive
f57744efd3 Last of the module style changes (I hope).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86351 13f79535-47bb-0310-9956-ffa450edef68
2000-09-28 22:43:31 +00:00
Joshua Slive
41890cd232 PR: 6139
Submitted by:	 ken@nsds.com
Reviewed by:	Joshua Slive
 "TestCond" should read "TestString" in documentation for mod_rewrite


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86191 13f79535-47bb-0310-9956-ffa450edef68
2000-09-09 18:40:49 +00:00
Ralf S. Engelschall
4cdb8a376e Documentation fixes do not harm anyone, so I feel free to commit this
English cleanup to the mod_rewrite documentation although we're in code
freeze state. But we should now really kick out the 1.3.12 baby. We're
already behind the proposed dates...

Submitted by: G.W. Haywood <ged@jubileegroup.co.uk>
Reviewed by: Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84654 13f79535-47bb-0310-9956-ffa450edef68
2000-02-21 07:35:35 +00:00
Ralf S. Engelschall
345e660212 Fix description of regex quantifiers.
Submitted by: Carl van Tast <CvT@netway.at>
Reviewed by: Ralf S. Engelschall
PR: 5614


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84578 13f79535-47bb-0310-9956-ffa450edef68
2000-02-05 11:44:06 +00:00
Ralf S. Engelschall
b69b2f1030 Make our nitpicking and complaining guys happy:
Added the mod_rewrite `URL Rewriting Guide' to the online documentation
(htdocs/manual/misc/rewriteguide.html). This paper provides a large
collection of practical solutions to URL based problems a webmaster is
often confronted with.

This version of the text was translated from my WML source on my website
and my old official version is now discarded. So, as it was requested,
this can be treated as an official donation of this text to the ASF.
This way the ASF is now the official owner of this text.

                               - - -

<IRONIC>
Be happy and give Ken and Jim the credit for achieving this by being
such sensitive and friendly to other developers like me and always
reminding us that it is such contemptuous to implicitly promote ones
name by writing free software and contributing to projects like Apache.
Sorry that I have forgotten to donate this piece of text to the ASF in
the past and instead added such a contemptible hyperlink directing to a
page on www.engelschall.com. I hope this is now fixed and the closed and
holy ASF world is rescued again.
</IRONIC>

<PERSONAL>
I think, I don't have to say that I'm more than angry and disappointed
how developers like me are constantly bashed in the ASF... we can go for
it also in the future, but we should stop looking astonished all the
time if we find out that too less people contribute to the ASF and old
developers like me no longer have a warm feeling here, please. It's our
own fault in thinking that contributions are for free and anonymous just
because our project is a group effort.

IMHO we already have forgotten the golden rule of Open Source
development: if one wants happy and long-term contributing developers
one especially has to make sure they receive the requested credit.
There is an upper limit a project can accept to give, of course. But
credit always has to depend on the amount, quality _and_ duration of
contribution and IMHO cannot be judged by stating that just all people
are equal and so some contributors can be bashed for the fact that their
name occurs more often.

It is correct that my name occurs more often caused by the fact that I
always try to bring in my stuff to the project. But keep in mind that
this is because I _HAVE_ stuff to bring in which I've created _OUTSIDE_
the project. So I think its unfair to bash me just because I try harder
to bring in my additional stuff. If a developer has not much externally
created stuff, he cannot bring it in to the project, of course. But just
because one has more externally created stuff and tries to bring it in,
is IMHO no reason and excuse to bash him for this. It's not my fault
that I write in my freetime more Open Source packages like most of you.

So if you dislike stuff developers want to bring in, decide on the
contribution based on fair technical arguments (pros and cons). But
don't judge the contributions all the time just because you think this
way you "promote" someone (be it RSE, GNU or whoever else). Hell, an
Open Source project is not a group of people to rule their own closed
world and be celebrated in the press for this. It's still an effort to
create the best piece of _software_ money can't buy. So you should stop
thinking about contributors as our enemy. They are the main driving
force of every project, although some people seem to not understand
this at all. And whatever you think about my personal opinion, but
IMHO it's not bad for a project if someone's name is "promoted" with
it, too. What is actually bad are those complains and discussions
which make developers angry and the fact that they result in even less
contributions.
</PERSONAL>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84409 13f79535-47bb-0310-9956-ffa450edef68
2000-01-08 14:50:14 +00:00
Martin Kraemer
cc8d863fa0 it's -> its
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84405 13f79535-47bb-0310-9956-ffa450edef68
2000-01-07 16:38:08 +00:00
Ralf S. Engelschall
ff2959a1b8 Ops, I forgot to include this file in previous commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84051 13f79535-47bb-0310-9956-ffa450edef68
1999-10-27 09:14:32 +00:00
Ralf S. Engelschall
bbe58473cc fix messed up sentence
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83399 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 10:22:55 +00:00
Jim Jagielski
a4929c7ee9 PR:
Submitted by:   Tony Finch <fanf@demon.net>
Reviewed by:    Dean, Randy, Jim, Lars, Martin
Obtained from:

Add the new mod_vhost_alias.c modules for better mass-hosting. This
has been used at Demon Internet with excellent results and basically
replaces the "old" method of using mod_rewrite. Big advantage is
that adding new vhosts can be done without restarting the server.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83357 13f79535-47bb-0310-9956-ffa450edef68
1999-06-22 00:51:25 +00:00
Ralf S. Engelschall
b1dee7ab8a Commit corresponding CHANGES and documentation changes for RewriteLock.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83104 13f79535-47bb-0310-9956-ffa450edef68
1999-04-22 09:58:03 +00:00
Ralf S. Engelschall
5377cc517a Two minor enhancements to mod_rewrite: First RewriteRule now also supports the
``nocase|NC'' flag (as RewriteCond already does for ages) to match case
insensitive (this especially avoids nasty patterns like `[tT][eE][sS][tT]').
Second two additional internal map functions `escape' and `unescape' were
added which can be used to escape/unescape to/from hex-encodings in URLs parts
(this is especially useful in combination with map lookups).

Submitted by: Magnus Bodin, Ian Kallen
Integrated and fixed by: Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82563 13f79535-47bb-0310-9956-ffa450edef68
1999-01-01 19:50:23 +00:00
Ralf S. Engelschall
c416b304ec Remove an old "old" from the old days where we thought mod_alias will be old ;-)
Thanks to Marc for discovering this too offensive wording...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82370 13f79535-47bb-0310-9956-ffa450edef68
1998-11-09 16:44:08 +00:00
Ralf S. Engelschall
eb3d8c6331 Fix a few bugs in the mod_rewrite documentation by the
help of some hints from Adam M Donahue <amd0978@acf3.nyu.edu>.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82292 13f79535-47bb-0310-9956-ffa450edef68
1998-10-22 12:02:27 +00:00
Ken Coar
681f8e5fec More documentation consistency cleanup for 1.3.2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82066 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 14:15:02 +00:00
Ken Coar
caec9aac63 The semi-regular HTML cleanup of the documentation. There are
some HTML errors (incorrect anchor nesting, primarily) coming in
	another commit.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82064 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 12:33:12 +00:00
Ken Coar
64b5f061b7 Fix some typos and inaccuracies and incorrectnesses.
PR:		3016
Submitted by:	Youichirou Koga <y-koga@jp.FreeBSD.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82061 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 12:06:41 +00:00
Ralf S. Engelschall
7f9c8bc3b9 Remove bad reference to non-existing SERVER_VERSION in mod_rewrite.html
Submitted by: Youichirou Koga <y-koga@jp.FreeBSD.ORG>
Reviewed by: Ralf S. Engelschall
PR: 2895


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81954 13f79535-47bb-0310-9956-ffa450edef68
1998-08-24 18:39:27 +00:00
Ralf S. Engelschall
006c7b9273 Fixed examples in mod_rewrite.html document.
PR: 2756


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81841 13f79535-47bb-0310-9956-ffa450edef68
1998-08-02 11:18:26 +00:00
Ralf S. Engelschall
ee442f2006 Update the mod_rewrite.html document to correctly reflect the situation of the
`proxy' (`[P]') feature.

PR: 2679


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81821 13f79535-47bb-0310-9956-ffa450edef68
1998-07-25 12:16:37 +00:00
Ralf S. Engelschall
125da84fea I couldn't resist to add this cookie.
Its just too funny and descriptive at the same time ;-)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81590 13f79535-47bb-0310-9956-ffa450edef68
1998-06-22 09:48:38 +00:00
Ken Coar
38d73313a9 Some of my semi-regular HTML cleanup (tag ordering, B/I
replacement) and long-line (>80) shortening.  No thirty..


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81320 13f79535-47bb-0310-9956-ffa450edef68
1998-05-20 14:13:00 +00:00
Ralf S. Engelschall
bf70d922f9 fix typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81284 13f79535-47bb-0310-9956-ffa450edef68
1998-05-15 09:29:15 +00:00
Ralf S. Engelschall
749ac506eb - more RegEx hints, especially to the Friedl-book
- update of the directive blocks to be directive-dict.html compliant


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80647 13f79535-47bb-0310-9956-ffa450edef68
1998-03-25 08:03:48 +00:00
Martin Kraemer
c1b238fd54 Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80608 13f79535-47bb-0310-9956-ffa450edef68
1998-03-20 11:11:04 +00:00
Ralf S. Engelschall
716820ac75 Phase 2 of mod_rewrite documentation enhancement:
Cleanup of the HTML markup code
(Thanks to Marc and Martin for hints)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80466 13f79535-47bb-0310-9956-ffa450edef68
1998-03-10 13:37:27 +00:00
Ralf S. Engelschall
d40815d5ec Phase 1 of mod_rewrite documentation enhancement:
Adding of new information. Now especially the detailed information about how
mod_rewrite internally works which is written down here for better
understanding of the directive documentation. I've also painted two initial
figures to illustrate this better which are added to htdocs/manual/images/.

(Phase 2 will be error correction and markup code cleanup)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80404 13f79535-47bb-0310-9956-ffa450edef68
1998-03-04 16:51:18 +00:00
Ralf S. Engelschall
b51536b7df Ops, we have totally mis-documented the %{LA-U:xxx} and %{LA-F:xxx}
constructs, thus no one noticed that it can be used to lookup the REMOTE_USER
variable (one of the mod_rewrite FAQs) even in per-server context.  One just
has to use %{LA-U:REMOTE_USER} instead of %{REMOTE_USER} there.  Notice that
%{REMOTE_USER} is also useful, but only for per-dir context.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80320 13f79535-47bb-0310-9956-ffa450edef68
1998-02-25 15:42:58 +00:00
Ralf S. Engelschall
97f8f0a7be First part to fix the synchronization-locking for RewriteMap programs under
Unix derivates who doesn't accept the locking of pipes directly.

But we perhaps have another problem: According to FreeBSD's manpage and a hint
by the submitter of PR#1029 flock() has to be used on opened filedescriptors
which are _not_ duplicated via fork().  This currently is not the case...

Submitted by: Ralf S. Engelschall
Reviewed by: Ralf S. Engelschall, Jim Jagielski


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80311 13f79535-47bb-0310-9956-ffa450edef68
1998-02-24 13:39:08 +00:00
Ralf S. Engelschall
63ae18dffb Add the new RewriteMap types rnd' and int' to mod_rewrite to allow Apache to
be used as a Reverse Proxy (where the backend servers are choosen via a `rnd'
map) and to allow mass virtual hosting without <VirtualHost> sections (where
you have to fix the case of server names when translating the Host-Header to a
directory structure).

Together with the comitted ProxyPassReverse directive we now have solved
two things the users have asked in the past:

1. The ability to use Apache as a full-featured Reverse Proxy
2. The ability to do mass virtual hosting without <VirtualHost> sections.

For both topics we should write stand-alone documents (perhaps inside
htdocs/manual/misc/) because they are not trivial to do, even when we now have
the functionality ;-)

Submitted by: Ralf S. Engelschall
Reviewed by: Dean Gaudet, Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80298 13f79535-47bb-0310-9956-ffa450edef68
1998-02-23 08:27:36 +00:00
Ken Coar
6241994012 Correcting some HTML boo-boos (not subject to style debates).
It has been said, and verily it is true, that weblint rocks.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80132 13f79535-47bb-0310-9956-ffa450edef68
1998-02-05 21:20:02 +00:00
Ken Coar
80c32a1d5f Another pass at the normalisation of the HTML tags. Some
corrections coming up.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80130 13f79535-47bb-0310-9956-ffa450edef68
1998-02-05 20:05:18 +00:00
Ken Coar
8d03a2f944 As threatened. The directive attributes in the module documentation
are now links back to a description of what the attributes mean.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80041 13f79535-47bb-0310-9956-ffa450edef68
1998-01-28 19:11:58 +00:00
Ken Coar
07050bb5be A truly mighty mod normalising HTML tags to uppercase, and
'i' and 'b' to 'EM' and 'STRONG' respectively.  Been threatening
	to do this for months.. no-one need try to maintain this when
	writing/modifiying the docs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80021 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 16:54:35 +00:00
Marc Slemko
38e2480ecf Document that "RewriteEngine on" is _not_ inherited by vhosts,
unlike many other directives.

PR: 570
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79487 13f79535-47bb-0310-9956-ffa450edef68
1997-11-01 03:58:32 +00:00
pcs
45ad5df215 Change Module line examples into AddModule to reflect the new Configure
syntax


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79176 13f79535-47bb-0310-9956-ffa450edef68
1997-09-11 13:27:52 +00:00
Ralf S. Engelschall
fabd4abcef Enhanced and cleaned up the URL rewriting engine for 1.3:
First the grouped parts of RewriteRule pattern matches (parenthesis!) can be
accessed now via backreferences $1..$9 in RewriteConds test-against strings in
addition to RewriteRules subst string. Second the grouped parts of RewriteCond
pattern matches (parenthesis!) can be accessed now via backreferences %1..%9
both in following RewriteCond test-against strings and RewriteRules subst
string. This provides maximum flexibility through the use of backreferences.
Additionally the rewriting engine was cleaned up by putting common code to the
new expand_backrefs_inbuffer() function.

Submitted by:	Ralf S. Engelschall
Reviewed by:	Dean Gaudet, Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78903 13f79535-47bb-0310-9956-ffa450edef68
1997-08-05 10:49:44 +00:00
Ralf S. Engelschall
081bbcec05 Fixed HTML tag which was bad in recent commit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78856 13f79535-47bb-0310-9956-ffa450edef68
1997-08-01 12:00:18 +00:00
Ralf S. Engelschall
583d3c45d9 Let the user use ``RewriteCond %{...} !=""'' instead
of ``RewriteCond %{...} !^$'' which is ugly and has
bad performance.

Obtained from:
Submitted by:	Ralf S. Engelschall
Reviewed by:	Dean Gaudet, Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78852 13f79535-47bb-0310-9956-ffa450edef68
1997-08-01 09:36:41 +00:00
Ralf S. Engelschall
a7a182afab Bring mod_rewrite documentation up-to-date with recent source upgrade.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78837 13f79535-47bb-0310-9956-ffa450edef68
1997-07-31 21:23:11 +00:00
Ken Coar
87226ebeb8 More HTML cleanups, retrofit of intentional <XA> tag to a no-op
<A NAME> (thanks, Marc).  Lots of trailing blanks removed throughout.
	Small addition to the new_features_1_3 page.  Plenty of
	cleanup still to come..


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78545 13f79535-47bb-0310-9956-ffa450edef68
1997-07-06 17:19:19 +00:00
Marc Slemko
44be91c644 HTML cleanups. weblint is your friend, and it is even right sometimes.
Reviewed by:
Submitted by:
Obtained from:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78494 13f79535-47bb-0310-9956-ffa450edef68
1997-07-02 03:09:24 +00:00
Ken Coar
b209756b03 Removal of the Evil TAB Characters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78364 13f79535-47bb-0310-9956-ffa450edef68
1997-06-24 18:39:39 +00:00
Ken Coar
8a147876e2 Online docs appearance rework, pass 1 phase 3: module descriptions.
This is the end of this pass for the online manual.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78228 13f79535-47bb-0310-9956-ffa450edef68
1997-06-04 16:14:24 +00:00
Marc Slemko
12e17e74b5 Big spelling and HTML cleanup of docs. Thanks go to weblint and ispell
and their authors.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78081 13f79535-47bb-0310-9956-ffa450edef68
1997-05-01 05:27:03 +00:00
dgaudet
0781cb871c typo fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77894 13f79535-47bb-0310-9956-ffa450edef68
1997-04-15 08:00:19 +00:00
dgaudet
315fe41e38 replace absurl with rel url
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77863 13f79535-47bb-0310-9956-ffa450edef68
1997-04-12 04:23:38 +00:00