SOLVED hostbased skin & theme

Moderator: crythias

Post Reply
massimobianchi
Znuny newbie
Posts: 67
Joined: 02 Apr 2012, 12:18
Znuny Version: 3.1.14
Real Name: Massimo Bianchi
Company: NPO Sistemi S.p.A.
Contact:

SOLVED hostbased skin & theme

Post by massimobianchi »

Hello,
I'm working on a customized layout for skin & theme for customers.

I am trying to have different layout for stadnard customer and dedicated customer.

I have published my test environment to internet with 2 different hostnames, custom1.XXX.XXX and custom2.XXX.XXX

I have enabled the theme and skin in the proper field, and tested them as default, they are working well.

Then...

I have configured:
THEME:
DefaultTheme::HostBased

SKIN:
Loader::Customer::SelectedSkin::HostBased

with key/pair (theme or skin, depending, obviously)

custom1\.XXX\.XXX layout1
custom2\.XXX\.XXX layout2

but it is not working. always getting the same layout - the standard...

What am I missing ?

Kind regards,
Massimo
Massimo Bianchi
skype: massimo.bianchi
OTRS:3.1.14, ITSM:3.1.8, httpd, mysql, Centos 6.3 on X86_64
massimobianchi
Znuny newbie
Posts: 67
Joined: 02 Apr 2012, 12:18
Znuny Version: 3.1.14
Real Name: Massimo Bianchi
Company: NPO Sistemi S.p.A.
Contact:

Re: SOLVED hostbased skin & theme

Post by massimobianchi »

my problem was with the reverse proxy configuration.
Example of working config

<VirtualHost *:80>
ServerName custom1.xxx.xxx
ErrorLog logs/custom1.xxx.xxx_error
CustomLog logs/custom1.xxx.xxx_access common
ProxyRequests off
ProxyPass / http://custom1.xxx.xxx/
ProxyPassReverse / http://custom1.xxx.xxx/
</VirtualHost>
Massimo Bianchi
skype: massimo.bianchi
OTRS:3.1.14, ITSM:3.1.8, httpd, mysql, Centos 6.3 on X86_64
Post Reply