> On 27 Apr 2019, at 12:37 pm, Joel Mathew <[email protected]> wrote:
>
> I was previously using subdirectory url structure to use my site for multiple
> users. I shifted to SAAS like url structure, wherein I need to use urls like:
>
> https://somename1.mysite.com/clinic/live
> <https://somename1.mysite.com/clinic/live>,
>
> https://somename2.mysite.com/clinic/live
> <https://somename2.mysite.com/clinic/live>
>
> in addition to:
>
> https://mysite.com/clinic/live <https://mysite.com/clinic/live>
>
> I have it work for a subdomain with:
>
> mod_wsgi-express setup-server wsgi.py --https-port 443 --https-only
> --server-name mysite.com <http://mysite.com/> --server-alias
> somename1.mysite.com <http://somename1.mysite.com/> --ssl-certificate-file
> ssl-certs/cert.pem --ssl-certificate-key-file ssl-certs/privkey.pem --user
> www-data --group www-data --url-alias /appointments/static
> ./appointments/static --url-alias /clinic/static ./clinic/static
>
> But I need this to be dynamic. I need to create muliple namespaces from the
> GUI, and then allow login to these subdomains, instead of having to restart
> the server every time I create a new namespace. How should my command line
> for starting my server be? I tried using *.mysite.com <http://mysite.com/>,
> it isnt allowed?
Which option did you use the wildcard with? And what you mean by it isn't
allowed?
I would have expected that using:
--server-name mysite.com --server-alias '*.mysite.com'
might work.
>
>
> Sincerely yours,
>
> Joel G Mathew
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.