إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: شركة Galaxy Chocolate: لحظات من النعيم الشهية (آخر رد :مصطفيي)       :: خدمة عملاء شركة نيكاي: التميز في الدعم والرعاية (آخر رد :مصطفيي)       :: صيانة الميكروويف: الحفاظ على كفاءته وأمان استخدامه (آخر رد :مصطفيي)       :: رقم شركة نقل عفش حى الصفا (آخر رد :ريم جاسم)       :: موسم الحج والعمرة وحجز فنادق (آخر رد :elzwawy)       :: منتجات كيو في على ويلنس سوق: الحل الكامل لجميع احتياجات العناية بالبشرة (آخر رد :elzwawy)       :: شركة تنظيف فلل في ام القيوين (آخر رد :roknnagd213)       :: افضل شركة نقل اثاث بخميس (آخر رد :ريم جاسم)       :: برامج الرشاقة السعيدة (آخر رد :دارين الدوسري)       :: ويلنس سوق : وجهتك الأساسية لمنتجات العناية الشخصية والجمال (آخر رد :حوااااء)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 01-21-2010, 11:40 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,611
عدد الـنقاط :3341
 تقييم المستوى : 2139

Greetings,

I've read a number of threads that deal with getting mod_rewrite to work with Apache and Friendly URLs.... Matty Asia ( http://www.vbulletin.com/forum/showthread.php?325798 ) made a thread and rules that seem to have worked for some; while not for others. I am one of the latter.



I get a 500 error if I use those codes. Yes. I Have checked the file to ensure there is not an extra break in there. No extra \n. White spaces removed.

I am also, successfully, using mod_rewrite rules on my other sites that reside on the same server.

Code:
[Thu Jan 21 14:15:30 2010] [alert] [client IP ADDRESS] /www/virtual/path/to/my/.htaccess: RewriteRule: cannot compile regular expression '^threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?))'\n
Someone in Matty's thread posted which rules were not functioning. I expanded and changed them a bit (I have no idea if they're correct) and came up with:
Code:
RewriteEngine On
RewriteRule ^members/([0-9]+) member.php?u=$1&%{QUERY_STRING}
RewriteRule ^list/([^/]*/)([0-9]+) list.php?r=$1$2&%{QUERY_STRING}
RewriteRule ^content/(.*) content.php?r=$1&%{QUERY_STRING}
RewriteRule ^threads/([0-9]+)-(.*)? showthread.php?t=$1 [QSA,L]
RewriteRule ^members/([0-9]+)-(.*)? member.php?u=$1 [QSA,L]
RewriteRule ^forums/([0-9]+)-(.*)? forumdisplay.php?f=$1 [QSA,L]
RewriteRule ^entries/([0-9]+)-(.*)? entry.php?t=$1 [QSA,L]
RewriteRule ^blogs/([0-9]+) blog.php?u=$1&%{QUERY_STRING}
While the above code seems to work, I have no idea if this code is entered correctly.

I have been in contact with vbulletin for the past 3 or 4 days. I do realize that, according to Vbulletin, communication via the support ticketing system is 'confidential' and am not able to post their responses.

Essentially here is what I have been told: The .htaccess rules that ship with Vbulletin 4.0 are for Apache 2 only. The (custom) rules they provided via support ticketing work on their 1.x servers, but not mine. They did provide htaccess code that's meant to work with 1.x servers, but I'm still getting a 500 error.

Has anyone been able to get Vbulletin 4.0, Mod Rewrite Friendly URLs and Apache 1.3 to work with each other, and if so can you post your .htaccess file ?
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 06:17 AM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML