[BlueOnyx:13656] Re: suphp and webmail / phpmyadmin
OCEANET - Cédric BASSAGET
cedric at oceanet.com
Tue Sep 10 02:00:14 -05 2013
Hello Michael,
Sure, I can be more specific ;)
Here's the two vhosts for roundcube and phpmyadmin :
# cat /etc/httpd/conf.d/roundcube.conf
Alias /webmail /home/roundcubemail/
<Directory /home/roundcubemail>
suPHP_RemoveHandler x-httpd-suphp
AddHandler php5-script .php
AddType text/html .php
php_admin_flag safe_mode off
php_admin_value open_basedir
/home/roundcubemail/:/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/
AddType application/x-httpd-php .php
</Directory>
# cat /etc/httpd/conf.d/phpmyadmin.conf
Alias /phpmyadmin /usr/share/phpMyAdmin/
<Directory /usr/share/phpMyAdmin>
suPHP_RemoveHandler x-httpd-suphp
AddHandler php5-script .php
AddType text/html .php
php_admin_flag safe_mode off
php_admin_value open_basedir
/usr/share/phpMyAdmin/:/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/
AddType application/x-httpd-php .php
</Directory>
/home/roundcube and /usr/share/phpMyAdmin are owned by root.
Hope this will help !
Regards,
Cédric
Le 09/09/2013 18:40, Michael Aronoff a écrit :
> Cédric Wrote:
>> I've used Stephanie's hint, and it works well.
> Since I am obtuse, can you be more specific about how to do this?
>
> What do I put in the roundcube.conf?
>
> Thanks,
>
> M Aronoff Out
>
--
OCEANET
---------------------------------------------------------------
[AGENCE DU MANS]
7, rue des Frênes
ZAC de la Pointe
72190 SARGE LES LE MANS
[t] +33 (0)2.43.50.26.50
[f] +33 (0)2.43.72.21.14
[AGENCE D'ANGERS]
5, rue Fleming
Angers Technopole
49066 ANGERS
[t] +33 (0)2.41.19.28.65
[f] +33 (0)2.52.19.22.00
http://www.oceanet.com
http://www.oceanet-telecom.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20130910/12c112d7/attachment.html>
More information about the Blueonyx
mailing list