adam beecher wrote:
>Kae,
>>AFAICR, there's a couple of examples very close to this in Engelschall's
>guide:
>>http://httpd.apache.org/docs/misc/rewriteguide.html>>
the solution he comes up with apparently only works in HTTP/1.1 -
strange thing is I'm using Mozilla 1.4, and my server is Apache 2, and
the access log says it's returning 1.0 - I'd expect 1.1 from Apache 2,
and the httpd.conf doesn't force a downgrade for Mozilla 1.4.
My non-working effort is here:
RewriteCond %{HTTP_HOST} ^[^.]+\,BLAH\.ie\.ls1\.im$
RewriteRule ^(.+) %{HTTP_HOST}$1
RewriteRule ^([^.]+)\.BLAH\.ie\.ls1\.im(.*) /groups.php?g=$1
<VirtualHost *>
ServerName BLAH.ie.ls1.im
ServerAlias *.BLAH.ie.ls1.im
DocumentRoot /share/www/BLAH.ie
</VirtualHost>
Kae
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!