ispCP - Board - Support
Alias forward - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Alias forward (/thread-10539.html)



Alias forward - ErrorProne - 04-27-2010 12:01 AM

I've a problem which seems a little bit weird to me.

We have a domain with one alias which forwards to to original domain.
So the entry for the alias domain2.tld forwards to [http://] domain1.tld
This works fine until I enter something like http://domain2.tld/demo which comes out as http://domain1.tlddemo.
Adding a trailing slash to the alias-forward-entry is, for some reason, refused by ispcp with "Wrong domain part in forward URL!".

Any ideas?

Cheers

PS: We've the latest 1.0.5 ispcp on a brand new debian.


RE: Alias forward - TheCry - 04-27-2010 12:15 AM

I remember there was a problem ticket.
But i didn't find it..
I hope some other Dev know this issue...
As workarround you can use the seperate conf file in /etc/apache2/ispcp
There you will find a conf for every domain, alias and subdomain...
Add there a fix redirect!
Reload apache


RE: Alias forward - joximu - 04-27-2010 12:16 AM

I'd put the redirect manually in the include files /etc/apache2/ispcp/domain2.conf

/J


RE: Alias forward - ErrorProne - 04-27-2010 01:49 AM

Thanks guys, I'll do it that way.