[DUG] Multi client website
Leigh Wanstead
leigh.wanstead at gmail.com
Tue Aug 2 09:35:12 NZST 2016
Dear Jolyon,
Thank you for your suggestion. I have been through mono on ubuntu linux
several years ago. It was not production ready compare to asp.net mvc on
windows 2012 server iis.
I am not sure now, but I guess there is not much progress.
I have not heard anyone using asp.net core on linux with great success.Do
you know any?
Regards
Leigh
On 2 August 2016 at 08:19, Jolyon Direnko-Smith <jsmith at deltics.co.nz>
wrote:
> @Leigh et al re ASP.NET and Linux
>
> These days of course there is also .net Core and ASP.net Core with MVC and
> EF and all that "lovely stuff" (ymmv) without needing Windows or IIS.
>
> On 2 August 2016 at 03:42, Stefan Mueller <muellers at orcl-toolbox.com>
> wrote:
>
>> >>I'm writing this in PHP5.
>>
>> Fair enough, I guess I’ll be stopping to spruik the benefits of ASP.Net
>> MVC then.
>>
>>
>>
>> >>The plan is to have a sub-domain for each client from where it will
>> jump to the "common" pages on the main domain. The index file on each
>> sub.domain identifies the client and therefore define the directory path to
>> use for the images and the CSS file.
>>
>> Circling back to your original questions, is the jumping around sub/top
>> domain really needed? .. or are you just looking for a way to display
>> content from the main-domain inside your clients subdomain?
>>
>> If all you want is to display global common pages within your clients
>> pages then all this talk about sessions and cookies maybe isn’t really
>> needed .. the solution might be as easy as just having some code such as
>> array_shift((explode(".",$_SERVER['HTTP_HOST']))); to figure out the
>> current requested subdomain URL and depending on that you then can serve
>> the correct content (clients pictures/css/data/custompages/etc) … all
>> handled from within your main domain ?!
>>
>>
>>
>>
>>
>> Kind regards,
>>
>> *Stefan Müller*,
>> R&D Manager
>>
>> *ORCL* *Toolbox Ltd.*
>> Auckland, New Zealand
>>
>>
>> P Please consider the environment before printing this email
>>
>> This message is intended for the adresse named above and may contain
>> privileged or confidential information.
>> If you are not the intended recipient of this message you must not use,
>> copy, distribute or disclose it to anyone.
>>
>>
>>
>> *From:* delphi-bounces at listserver.123.net.nz [mailto:
>> delphi-bounces at listserver.123.net.nz] *On Behalf Of *John C
>> *Sent:* Monday, 1 August 2016 7:46 p.m.
>>
>> *To:* 'NZ Borland Developers Group - Delphi List'
>> *Subject:* Re: [DUG] Multi client website
>>
>>
>>
>> Hi guys
>>
>>
>>
>> Sorry for the delay getting back to you.
>>
>>
>>
>> I'm writing this in PHP5.
>>
>>
>>
>> The suggestion using sessions may be a problem when a user is on a page,
>> goes away for a relatively long time, the session times out and a page
>> refresh will not work correctly.
>>
>>
>>
>> Any suggestions are very welcome.
>>
>>
>>
>> Thanks
>>
>> John
>>
>>
>>
>> *From:* delphi-bounces at listserver.123.net.nz [
>> mailto:delphi-bounces at listserver.123.net.nz
>> <delphi-bounces at listserver.123.net.nz>] *On Behalf Of *Leigh Wanstead
>> *Sent:* Monday, August 1, 2016 4:48 PM
>> *To:* NZ Borland Developers Group - Delphi List
>> *Subject:* Re: [DUG] Multi client website
>>
>>
>>
>> Hi John,
>>
>>
>>
>> You really need to tell us which operating system you plan to use and
>> which programming language you plan to write.
>>
>>
>>
>> There is no need to use cookie if you use apache.
>>
>>
>>
>> Here is a url for your reading.
>>
>>
>> http://stackoverflow.com/questions/11523258/apache-map-single-subdomain-to-folder
>>
>>
>>
>> Regards
>>
>> Leigh
>>
>>
>>
>> On 31 July 2016 at 13:42, John C <jc at sunshinesoftware.co.nz> wrote:
>>
>> Hi all
>>
>>
>>
>> I have a website what will be available to the public but specific for
>> more than one clients. The frame work of the website will be the same for
>> each client but their images and CSS file will be different (making it look
>> differently).
>>
>> The plan is to have a sub-domain for each client from where it will jump
>> to the "common" pages on the main domain. The index file on each sub.domain
>> identifies the client and therefore define the directory path to use for
>> the images and the CSS file.
>>
>> I was thinking of doing this with cookies for the paths to be used in the
>> main program, but I'm not sure it would be a good plan and if that will
>> work properly (setting a cookie from within a sub.domain to be used in the
>> main domain).
>>
>>
>>
>> Any ideas or suggestions of how to do this?
>>
>>
>>
>> Thanks a lot in advance
>>
>> John C
>>
>>
>>
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at listserver.123.net.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> Subject: unsubscribe
>>
>>
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at listserver.123.net.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> Subject: unsubscribe
>>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20160802/5304f9ca/attachment-0001.html
More information about the Delphi
mailing list