# vi /etc/fstab
//123.123.123.123/share1 /mnt/s1 cifs root,uid=0,rw,suid,username="",password="" 0 0
//123.123.123.123/share2 /mnt/s2 cifs root,uid=0,rw,suid,username="",password="" 0 0
//123.123.123.123/share1 /mnt/s1 cifs root,uid=0,rw,suid,username="",password="" 0 0
//123.123.123.123/share2 /mnt/s2 cifs root,uid=0,rw,suid,username="",password="" 0 0
max_allowed_packet = 100M
error_reporting = E_ALL & ~E_NOTICE
date.timezone = "Asia/Taipei"
short_open_tag = On
max_execution_time = 300
upload_max_filesize = 20M
post_max_size = 20M
Alias /upfiles/ "/var/www/html/sfs3/data/"
<Directory "/var/www/html/sfs3/data/">
Options None Allow
Override none
Order allow,deny
Allow from all
</Directory>
<VirtualHost 123.123.123.123:80>
DocumentRoot "/var/www/html/"
ServerName www.domain.name
</VirtualHost>
<VirtualHost 123.123.123.123:80>
DocumentRoot "/var/www/html2"
ServerName www2.domain.name
Alias /upfiles/ "/var/www/html2/sfs3/data/"
<Directory "/var/www/html2/sfs3/data/">
Options None
AllowOverride none
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
FOLDER=yellow
ICON=yellow
# chmod 755 /etc/rc.d/rc.local
# sudo -u apache php occ user:resetpassword admin
The posix extensions are required - see http://php.net/manual/en/book.posix.php
# yum install php-process