Hi guys,

I have about two dozen virtual named hosts setup on my server.
all with their own domain or sub domain and thats all working fine (apache2 mdk9.2)


I also have a SSL cert seton on one subdomain, secure.mydomain.com

Now I want to give people a way of accessing their www and cgi-bin from either their own domain (which is as it is now)
or via the https://secure.xxxxx.com domain...


so it would work like this:

http://their-domain.com/cgi-bin/somefile.pl

would be accessing the same file as:

https://secure.my-domain.com/username/cgi-bin/somefile.pl

accept the first one is just normal HTTP 1.1 and the second would be SSL..

That way people who need to, can make use of the cert..

Is there a way to do this???
I realise the probs with virt named hosting and SSL.. but what I am asking is not releated to that..


I do not want to setup SSL on the vhost, I want to create a way for vhost users to access their web files from my ssh secure domain name, as well as their own domain name.. have I explained what I mean well enough to be understood???

Anyone got any tips on this??
I know it can be done because alot of online hosts offer it.. I'm just not sure how..


I had created a cgi-bin for each user in the secure.xxxxxxx.com doc root and symlinked it to their normal web dir.. but their has to be an easier way.. ( I have only a dozen vhosts now, but thats likely to grow pretty quickly.)

Any ideas guys???
much appreciated.

rgds

Franki



--
Please sign our petition to encourage notebook manufacturers to offer video card upgrades just like desktops.
http://www.petitiononline.com/inspiron/petition.html


For free scripts, online webmaster tools, HTML, XHTML, Perl & PHP tutorials and stuff, visit:
http://htmlfixit.com, Free web developer resources.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to