[BlueOnyx:06606] Re: Rewrite rule status?

Tjerk Hacquebord lists at hqmatics.nl
Tue Mar 1 03:50:55 -05 2011


Hi Michael,

 

There have been many questions about it some while ago. Problem is that if you add multiple web aliases to a vsite the domains do not redirect to the main domain anymore. Old behavior was domain2.com redirects to main domain: domain1.com. Now the site doesn’t redirect anymore.

Taco proposed to make a switch for this behavior per site. That would be the best solution. If that’s not possible I think many of the list members would like the ‘old’ behavior back.

 

Example current vhost file:

RewriteCond %{HTTP_HOST}                !^www.maindomain.com(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^otherdomain.com(:80)?$ [NC]

RewriteRule ^/(.*)                      http://www.maindomain.nl/$1 [L,R=301]

 

It should not write RewriteCond for each web alias.

 

I’m not sure if the problem is related to that specific update but I think it was around that time when it started for new Vsites and changed vsites so this was my best guess.

 

 

Tjerk

 

 

Van: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] Namens Michael Stauber
Verzonden: dinsdag 1 maart 2011 0:14
Aan: BlueOnyx General Mailing List
Onderwerp: [BlueOnyx:06601] Re: Rewrite rule status?

 

Hi Tjerk,

> I was wondering if there is any news about the known rewrite ‘problem’ /

> option for web aliases?

Sorry, but could you please specify the exact nature of that problem? Just to be sure that I fully understand what you're refering to.

The set of updates you linked in trac ...

http://devel.blueonyx.it/trac/changeset/552/BlueOnyx/5106R/ui/base-vsite.mod

... added a couple of things, like suPHP support, made sure PHP settings for Vsites aren't dropped accidentially and so on. The only change relate to web aliasses was that a change of aliases now doesn't accidentially drop the PHP settings and email server aliasses, like it previously used to do.

Offhand I'm not sure of an intentional change of the general web alias functionality in general.

-- 

With best regards

Michael Stauber

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20110301/fdcba648/attachment.html>


More information about the Blueonyx mailing list