هيلبرنت | Helpernt

هيلبرنت | Helpernt (https://www.helpernt.com/vb/index.php)
-   ركن مشاكل وطلبات الزين فورو XENFORO (https://www.helpernt.com/vb/forumdisplay.php?f=97)
-   -   مشكلة في الروابط الصديقة الخاصة للزين فورو XenForo لاتعمل (https://www.helpernt.com/vb/showthread.php?t=5423)

S!L3NT H!LL 12-30-2016 06:26 PM

مشكلة في الروابط الصديقة الخاصة للزين فورو XenForo لاتعمل
 


السلام عليكم عندي مشكلة وهية عند تفعيل نظام الروابط الصديقة والدخول الى الاقسام يظهر لي
Not Found

The requested URL /xenforo/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

وما اعرف شو السبب دورت كثير ولم اجد الحل
علما باني انا مالك السيرفر الي عليه المنتدى

اتمنى الحل النهائي للمشكلة

abo-karim 12-30-2016 09:21 PM

رد: مشكلة في اعدادات XenForo , مشكلة الروابط الصديقة
 
استبدل ملف الهاتكس بهذه الاكواد

كود:

#        Mod_security can interfere with uploading of content such as attachments. If you
#        cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#        SecFilterEngine Off
#        SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default

<IfModule mod_rewrite.c>
        RewriteEngine On

        RewriteCond %{HTTP_HOST} !^yoursite\.com$
        RewriteRule ^(.*)$ http://yoursite.com/forum/$1 [R=301,L]

        #        If you are having problems with the rewrite rules, remove the "#" from the
        #        line that begins "RewriteBase" below. You will also have to change the path
        #        of the rewrite to reflect the path to your XenForo installation.
        #RewriteBase /xenforo

        #        This line may be needed to enable WebDAV editing with PHP as a CGI.
        #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]
</IfModule>

مع تغيير ماهو باللون الاحمر بمايناسب موقعك

S!L3NT H!LL 12-31-2016 02:09 PM

رد: مشكلة في اعدادات XenForo , مشكلة الروابط الصديقة
 
اقتباس:

المشاركة الأصلية كتبت بواسطة abo-karim (المشاركة 11989)
استبدل ملف الهاتكس بهذه الاكواد

كود:

#        Mod_security can interfere with uploading of content such as attachments. If you
#        cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#        SecFilterEngine Off
#        SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default

<IfModule mod_rewrite.c>
        RewriteEngine On

        RewriteCond %{HTTP_HOST} !^yoursite\.com$
        RewriteRule ^(.*)$ http://yoursite.com/forum/$1 [R=301,L]

        #        If you are having problems with the rewrite rules, remove the "#" from the
        #        line that begins "RewriteBase" below. You will also have to change the path
        #        of the rewrite to reflect the path to your XenForo installation.
        #RewriteBase /xenforo

        #        This line may be needed to enable WebDAV editing with PHP as a CGI.
        #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]
</IfModule>

مع تغيير ماهو باللون الاحمر بمايناسب موقعك


حياك الله اخوي ابو كريم , المشكلة مازالت علما بان انا لدي سيرفر vps عليه المنتدى هل من المككن يكون فيه خلل

S!L3NT H!LL 12-31-2016 11:54 PM

رد: مشكلة في اعدادات XenForo , مشكلة الروابط الصديقة
 
خلاص تم حل المشكلة والحمدالله

بانشاء هذا الملف .htaccess

واضافة الكود التالي له

كود PHP:

#    Mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#    SecFilterEngine Off
#    SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default

<
IfModule mod_rewrite.c>
    
RewriteEngine On

    RewriteCond 
%{HTTP_HOST} !^your-domain\.com$
    
RewriteRule ^(.*)$ https://your-domain.com/forum/$1 [R=301,L]

    #    If you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "RewriteBase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo

    #    This line may be needed to enable WebDAV editing with PHP as a CGI.
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    
RewriteCond %{REQUEST_FILENAME} -[OR]
    
RewriteCond %{REQUEST_FILENAME} -[OR]
    
RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule 
^.*$ - [NC,L]
    
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
    
RewriteRule ^.*$ index.php [NC,L]
</
IfModule


abo-karim 01-01-2017 01:00 AM

رد: مشكلة في اعدادات XenForo , مشكلة الروابط الصديقة
 
اقتباس:

المشاركة الأصلية كتبت بواسطة âک… d ذ¯ a g o ئ‌ âک… (المشاركة 12004)
خلاص تم حل المشكلة والحمدالله

بانشاء هذا الملف .htaccess

واضافة الكود التالي له

كود PHP:

#    mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<ifmodule mod_security.c>
#    secfilterengine off
#    secfilterscanpost off
#</ifmodule>

errordocument 401 default
errordocument 403 default
errordocument 404 default
errordocument 500 default

<
ifmodule mod_rewrite.c>
    
rewriteengine on

    rewritecond 
%{http_host} !^your-domain\.com$
    
rewriterule ^(.*)$ https://your-domain.com/forum/$1 [r=301,l]

    #    if you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "rewritebase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your xenforo installation.
    #rewritebase /xenforo

    #    this line may be needed to enable webdav editing with php as a cgi.
    #rewriterule .* - [e=http_authorization:%{http:authorization}]

    
rewritecond %{request_filename} -[or]
    
rewritecond %{request_filename} -[or]
    
rewritecond %{request_filename} -d
    rewriterule 
^.*$ - [nc,l]
    
rewriterule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [nc,l]
    
rewriterule ^.*$ index.php [nc,l]
</
ifmodule




طب ايه الجديد سوى انك وضعت دومين موفعك زى ماقولتلك

عموما الحمد لله ومبروك عليك الروابط

S!L3NT H!LL 01-01-2017 01:18 AM

رد: مشكلة في اعدادات XenForo , مشكلة الروابط الصديقة
 
اقتباس:

المشاركة الأصلية كتبت بواسطة abo-karim (المشاركة 12006)
طب الحمد لله ومبروك عليك الروابط

الله يبارك فيك

شوف كذا بعد تحويل الروابط
المجموع: 113 (الأعضاء: 1، الزوار: 0، العناكب: 112)

هل هذا مفيد ؟
ايضا انا مركب هاك الخرائط هل الهاك دة بيرسل الخرائط بشكل تلقائي . ولا لازم اعمل حساب في ادوات مشرفي جوجل مثل منتديات vb

abo-karim 01-01-2017 01:35 AM

رد: مشكلة في اعدادات XenForo , مشكلة الروابط الصديقة
 
اقتباس:

المشاركة الأصلية كتبت بواسطة âک… d ذ¯ a g o ئ‌ âک… (المشاركة 12009)
الله يبارك فيك

شوف كذا بعد تحويل الروابط
المجموع: 113 (الأعضاء: 1، الزوار: 0، العناكب: 112)

هل هذا مفيد ؟
ايضا انا مركب هاك الخرائط هل الهاك دة بيرسل الخرائط بشكل تلقائي . ولا لازم اعمل حساب في ادوات مشرفي جوجل مثل منتديات vb

هتمشى نفس خطوات الفى بى عادى جدا

ولو لديك استفسار اخرى ضعه بموضوع جديد حتى لانشتت القراء

abo-karim 01-03-2017 08:54 PM

رد: مشكلة في الروابط الصديقة الخاصة للزين فورو XenForo لاتعمل
 
يغلق للانتهاء الغرض المطلوب


الساعة الآن 06:50 PM

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. TranZ By Almuhajir