المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : السي بانيل Cpanel | حل مشكلة suspendedpage.cgi 404 page not found



Rise Company
24-04-2022, 12:01
السي بانيل Cpanel | حل مشكلة suspendedpage.cgi 404 page not found

https://www.rise.company/upload/uploads/165079391128932.png

المشكلة :

عند حظر حساب عميل يظهر خطا
suspendedpage.cgi 404 page not found
بدل من ظهور صفحة الحظر

https://www.rise.company/upload/uploads/165079391116211.png


سبب المشكلة :


When you suspend an account, the .htaccess file in the www folder of the suspened account has a new line written to it. That line is....

RedirectMatch .* http://hostname/suspended.page/

Now, the reason why you get the 404 error is because "/home/(server)/www/suspened.page" doesn't exist.

You can solve that by making a symlink called "/home/(server)/www/suspened.page" to "/usr/local/apache/htdocs/suspended.page".


هو symlink يجب تعطيله من هنا
WHM / Service Configuration / Apache Configuration / Global Configuration
فى Directory “/” Options هتجد اخر اختيار SymLinksIfOwnerMatch
هو الذى يسبب المشكلة .

https://www.rise.company/upload/uploads/165079383815341.png

المرجع:
https://forums.cpanel.net/threads/cannot-show-suspended-account-page.3298/page-2

Rise Company
24-04-2022, 12:01
I solved this issue adding :

Alias /suspended.page/ /usr/local/apache/htdocs/suspended.page/

A top of httpd.conf file.