LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG-Webdev] rewriting domain names

[ILUG-Webdev] rewriting domain names

Kae Verens kverens at contactjuggling.org
Fri Jul 25 12:41:03 IST 2003


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





More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell