Andrew White on Tue, 18 Jul 2000 17:32:54 -0400 (EDT) |
Be sure to add: RewriteEngine on before the lines below, or they won't do anything! -Andrew White andrew@white.com On Tue, 18 Jul 2000 jackw@slinky.jounce.net wrote: > I came up with > > RewriteCond %{HTTP_HOST} www\.undernet-teen\.com > RewriteRule /(.*) http://www.someurl.com > > but it doesn't seem to have any effect...the .htaccess is working because > other things in the file do have an effect, just not that. and yes, > mod_rewrite is loaded and operational :P > > any clues what's messed with that? > > tx > > On Tue, Jul 18, 2000 at 03:36:23PM -0400, Andrew Auderieth wrote: > > > > What about using mod_rewrite? You'd probably get the best performance > > that way rather than forking a cgi script with each request. > > > > There's lots of examples at: > > http://www.apache.org/docs/misc/rewriteguide.html > > > > -- > > Andrew Auderieth > > CEO > > Datarealm Internet Services, Inc. > > > > http://www.serve.com/ info@mail.serve.com > > > > ______________________________________________________________________ > > Philadelphia Linux Users Group - http://www.phillylinux.org > > Announcements - http://lists.phillylinux.org/mail/listinfo/plug-announce > > General Discussion - http://lists.phillylinux.org/mail/listinfo/plug > > ______________________________________________________________________ > Philadelphia Linux Users Group - http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mail/listinfo/plug-announce > General Discussion - http://lists.phillylinux.org/mail/listinfo/plug > ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|