![]() |
|
Using Custom Vhost Entries for Webmail, MySQL, Etc. - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: Community Guides & How-To's v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=33) +---- Thread: Using Custom Vhost Entries for Webmail, MySQL, Etc. (/showthread.php?tid=495) |
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - emiliogq - 08-13-2015 Hello, I've installed zpanel 10.1.1 and we put in httpd-vhost this: (02-03-2015, 11:13 PM)Diablo925 Wrote: On Linux And I've any problem but when past the time, zpanel resets this file and removes this configuration. Do anyone know could I stop it? Thanks Emilio RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - TGates - 08-13-2015 It tells you how in the first post... RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - imrane555 - 08-27-2015 i have default page (Your hosting space is ready...) when i try this ... RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - henrique araujo - 08-27-2015 here too ![]() (08-27-2015, 05:51 AM)imrane555 Wrote: i have default page (Your hosting space is ready...) when i try this ... RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - imrane555 - 08-28-2015 (08-27-2015, 10:20 PM)henrique araujo Wrote: here too it is because centos i think RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - henrique araujo - 08-29-2015 i use ubuntu :/ (08-28-2015, 12:03 AM)imrane555 Wrote:(08-27-2015, 10:20 PM)henrique araujo Wrote: here too RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - TGates - 08-29-2015 I think it has to do with this section: Code: <Directory />
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - henrique araujo - 08-29-2015 i use this versio of php: PHP Version 5.6.12-1+deb.sury.org~trusty+1 RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - kharl - 11-08-2015 I have done this on CentOS 7 and Sentora 1.0.3 for Webmail as a subdomain and it appears to work with no problems. Create the subdomain as usual using the Subdomain UI. After Sentora creates the subdomain , open a terminal and type the following changing any of the capitalized code to fit your configuration: Code: cp /var/sentora/USERNAME/hostdata/public_html/webmail_DOMAIN_TLD/* /var/sentora/USERNAME/hostdata/public_html/webmail_DOMAIN_TLD.backup
ln -s /etc/sentora/panel/etc/apps/webmail /var/sentora/USERNAME/hostdata/public_html/webmail_DOMAIN_TLDI hope that I have the cp command right. I use so many different systems that I tend use desktops to do this so I don't have to remember all the intricacies of each OS. If not, please feel free to correct me and I'll make the appropriate edit. Goto Module Admin, Apache Config. Under Override a Virtual Host Setting select the subdomain that you just created. In the Custom Entry box enter the following code again changing any of the capitalized code to fit your configuration: Code: php_admin_value open_basedir "/var/sentora/hostdata/USERNAME/hostdata/public_html/webmail_DOMAIN_TLD:/var/sentora/temp/:/etc/sentora/configs/roundcube/:/var/sentora/logs/roundcube/"Click Save Vhost and wait for the changes to be applied. RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - bbspike - 11-11-2015 (02-16-2015, 04:03 AM)TGates Wrote: You need to lose Required all Granted line. Works fine then for me. |