maroc
02-19-2007, 12:00 PM
Hi guys,
i wonder if there is a possibility to change the subdmain documentroot, i want to use a joomla component (joomsites) to manage multiple Sites (subdomain sites).
the component store the Sites in this folder for example :
/home/marocinf/public_html/villes/components/com_joommsites/sites/
for site 1 subdomain is site1.domain.com and documentroot is : /home/marocinf/public_html/villes/components/com_joommsites/sites/site1 and not /home/marocinf/public_html/site1
via CP you have the possibility to create the domain name folder in the root directory and not a customized one like : /home/marocinf/public_html/villes/components/com_joommsites/sites/site1
of course a redirection doesn't work for the joomsites component.
is it possible to use .htaccess to fix that or to have the right to edit http.conf ??
like :
DocumentRoot : /home/marocinf/public_html/villes/components/com_joommsites/sites/rabat
ServerName : rabat.marocinfo.net
DNS entry : rabat.marocinfo.net
i will appreciate any help
RK Peace Out
i wonder if there is a possibility to change the subdmain documentroot, i want to use a joomla component (joomsites) to manage multiple Sites (subdomain sites).
the component store the Sites in this folder for example :
/home/marocinf/public_html/villes/components/com_joommsites/sites/
for site 1 subdomain is site1.domain.com and documentroot is : /home/marocinf/public_html/villes/components/com_joommsites/sites/site1 and not /home/marocinf/public_html/site1
via CP you have the possibility to create the domain name folder in the root directory and not a customized one like : /home/marocinf/public_html/villes/components/com_joommsites/sites/site1
of course a redirection doesn't work for the joomsites component.
is it possible to use .htaccess to fix that or to have the right to edit http.conf ??
like :
DocumentRoot : /home/marocinf/public_html/villes/components/com_joommsites/sites/rabat
ServerName : rabat.marocinfo.net
DNS entry : rabat.marocinfo.net
i will appreciate any help
RK Peace Out