Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
VirtualHost and ServerAlias
 

Index | Next | Previous | View Flat


vv.lists at wanadoo

Nov 28, 2011, 10:29 AM


Views: 724
Permalink
VirtualHost and ServerAlias

Hi Group,

I host a web service for my customers (ex : insurance_company.com) on a
virtual host (*); my customers in turn want their customers (the
policyholders) to have access to the data, while using their internet
name instead of mine.

This works fine with the ServerAlias directive inside the VirtualHost
directive :

ServerAlias extranet.insurance_company.com as-pro.biz

and the appropriate DNS settings.

That way, the policy holder can type
'http://extranet.insurance_company.com/clients/login' and have access to
the data, transparently hitting my server at as-pro.biz.

My problem is the following : I have a handfulf of potential clients (3
now, 6 at most), who all want the login form to the service customized
with their logo. I cannot however know which logo to select before the
user fills in the form.

The names API :

http://perl.apache.org/docs/2.0/api/Apache2/ServerRec.html#C_names_

was apparently a solution for me, but it is not implemented in 2.0, and
I am not able to code it.

Is there another way for me to pass to my PerlResponseHandler which
ServerAlias was used?


(* : the service processes insurance claims for sick leaves; if you care
to see what it looks like :

http://as-pro.biz/clients/login?nom_utilisateur=152&mot_de_passe=152

)

Good day,

--
Vincent Veyron
http://marica.fr/
Logiciel de gestion des sinistres et des contentieux pour le service juridique

Subject User Time
VirtualHost and ServerAlias vv.lists at wanadoo Nov 28, 2011, 10:29 AM
    Re: VirtualHost and ServerAlias aw at ice-sa Nov 28, 2011, 11:37 AM
        Re: VirtualHost and ServerAlias vv.lists at wanadoo Nov 28, 2011, 12:27 PM
            Re: VirtualHost and ServerAlias aw at ice-sa Nov 28, 2011, 1:58 PM
                Re: VirtualHost and ServerAlias vv.lists at wanadoo Nov 29, 2011, 9:51 AM
            Re: VirtualHost and ServerAlias aw at ice-sa Nov 28, 2011, 2:26 PM
                Re: VirtualHost and ServerAlias dave.morgan at coolplaces Nov 28, 2011, 10:42 PM
                Re: VirtualHost and ServerAlias vv.lists at wanadoo Nov 29, 2011, 9:49 AM
        Re: VirtualHost and ServerAlias jay at scherrer Nov 28, 2011, 2:15 PM
            Re: VirtualHost and ServerAlias vv.lists at wanadoo Nov 29, 2011, 9:49 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.