Obsolete Releases > SME 8.x Contribs
[SharedFolders] domain name pointing to share
guest22:
Daniel and team,
how difficult/complicated would it be to have a domain (e.g. share.mydomain.com) point to the share?
In the server manager I can point to any ibay, but not SharedFolders
TIA
guest
Daniel B.:
Hi.
It would be quite easy, just a small patch for e-smith-domains, i'm just not sure it would be accepted because it would modify a core package just for a contrib, wihch isn't installed everywhere.
Anyway, it's possible to make a domain pointing on a shared folders, here's what what I do:
- install smeserver-webapps-common from the fws repo (see http://wiki.contribs.org/Fws)
- Create a domain from the server-manager (you can choose any ibay you want)
- Configure the newly created domain to point to the share you want like this
--- Code: ---db domains setprop my.domain.com TemplatePath WebAppVirtualHost DocumentRoot /home/e-smith/files/shares/my_share/files
signal-event webapps-update
--- End code ---
Regards, Daniel
guest22:
Daniel,
works exactly as you have explained above. Webdav clients can now access 'share.mydomain.com'
Merci bien!
guest
[SME8 full yum update august 26th, 2012]
guest22:
Daniel,
I've created a sub-domain (mail.mydomain.com) and through you contrib smeserver-webapps-common pointed a webapp to this sub-domain. However, where the webapp normally is https access only, now it is http accessible. How can I enforce httpS for this webapp please?
TIA
guest
Daniel B.:
Yep, you just have to add:
--- Code: ---db domains setprop mail.mydomain.com RequireSSL yes
signal-event webapps-update
--- End code ---
There's some other options for each domain (like proxypass, rewriterules, access restriction etc...), you can take a look at this template: /etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/50Content
Regards, Daniel
Navigation
[0] Message Index
[#] Next page
Go to full version