Toggle navigation
Koozali.org formerly Contribs.org
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org formerly Contribs.org
Contribs.org Forums
Development
Topic:
the wordpress rpm and the DocumentRoot
« previous
next »
+
Print
Pages: [
1
]
Go Down
the wordpress rpm and the DocumentRoot
6 Replies
5680 Views
stephdl
1,508
the wordpress rpm and the DocumentRoot
«
on:
November 17, 2015, 09:39:43 PM »
Hi
I would try to change the document root of the contrib wordpress to use a full domain (
http://example.com
) instead of a folder (
http://example.com/wordpress
). I went to read the code of the VirtualHosts but of course the DocumentRoot is set to the Ibay that you choose in the panel for the content of your domain....no possibility to change the DocumentRoot to /usr/share/wordpress
In ideal I want to use all fragment of templates in /etc/e-smith/templates/etc/httpd/conf//httpd.conf/VirtualHosts/ since a lot of contribs have code there....therefore I imagine it is a mandatory for the domain I want to use.
if you have ideas...it is nice
Logged
See
http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr
!!! Please write your knowledge to the Wiki !!!
Stefano
10,793
Skype account: maghissimo
Re: the wordpress rpm and the DocumentRoot
«
Reply #1 on:
November 17, 2015, 09:59:05 PM »
I have no possibility to check now but, which is the template fragment where documentroot is defined?
what about a db property in each ibay definition? default is empty -> use the default one
am I missing anything?
Logged
Consulente di Smeserver.it - Soluzioni e supporto su Sme server in Italia
stephdl
1,508
Re: the wordpress rpm and the DocumentRoot
«
Reply #2 on:
November 17, 2015, 10:49:10 PM »
look /etc/e-smith/templates/etc/httpd/conf//httpd.conf/VirtualHosts/20IbayContent the document root is there
Logged
See
http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr
!!! Please write your knowledge to the Wiki !!!
stephdl
1,508
Re: the wordpress rpm and the DocumentRoot
«
Reply #3 on:
November 17, 2015, 11:15:26 PM »
Indeed the easy way for me could be to create a property DocumentRoot under the domain key, if the property exists then the document root is no more pointed to the Ibay, but to the property value.
do I'm dreaming ?
Logged
See
http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr
!!! Please write your knowledge to the Wiki !!!
Daniel B.
1,697
Re: the wordpress rpm and the DocumentRoot
«
Reply #4 on:
November 18, 2015, 08:27:00 AM »
That's what I've done with the "WebAppVirtualHost" templates in the
webapps
contrib (there are also a lot of other settings useful for webapps, not just arbitrary DocumentRoot)
Logged
C'est la fin du monde !!!
stephdl
1,508
Re: the wordpress rpm and the DocumentRoot
«
Reply #5 on:
November 18, 2015, 09:29:56 AM »
I believed that the only limitation of sharedfolder was that you cannot host a website directly under a domain name, due to some core package that need to be modified......but yes I agree...I asked during the sme9 creation time to drop Ibays and use only the shared folder but .... nobody listened me
do I have any chance to have a NFR accepted on the e-smith-apache rpm ?
Logged
See
http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr
!!! Please write your knowledge to the Wiki !!!
Daniel B.
1,697
Re: the wordpress rpm and the DocumentRoot
«
Reply #6 on:
November 18, 2015, 09:37:17 AM »
Open the NFR. As soon as 9.1 is released, we'll be able to merge NFR more easily
Logged
C'est la fin du monde !!!
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org formerly Contribs.org
Contribs.org Forums
Development
Topic:
the wordpress rpm and the DocumentRoot