[Linux-disciples] RewriteRule
Ken Shan
linux-disciples@bostoncoop.net
Thu, 7 Aug 2003 21:21:45 -0400
--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2003-08-07T21:00:47-0400, Stephen R Laniel wrote:
> I'm trying to get the shorthand form
> http://laniels.org/weblog?fascism_and_language
> instead of
> http://laniels.org/cgi-bin/weblog?rightframe=3Dfascism_and_language
>=20
> to work, using the Apache RewriteRule
>=20
> RewriteRule ^/weblog?(.*)$ /home/slaniel/cgi-bin/weblog?rightframe=3D$1
>=20
> It doesn't seem to be working, even if I vary the '/home/slaniel/...'
> part to refer to a URL rather than a Linux pathname. Any idea what I
> might be doing wrong?
The question mark may mean "0 or 1" in the regular experssion syntax
used by mod_rewrite. There's got to be a debugging/tracing option as
well, no?
--=20
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
melius est ire ad domum luctus quam ad domum convivii
--EVF5PPMfhYS0aIcm
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/MvspzjAc4f+uuBURAnBxAKCpEF4urQukqVvSaUTZEAoBr9o9kgCg6qvx
Td8Fi/67VAnu+GoSl8bsCEQ=
=absY
-----END PGP SIGNATURE-----
--EVF5PPMfhYS0aIcm--