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

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

         :: شراء اثاث مستعمل الجهراء: حل عملي واقتصادي (آخر رد :layansherief)       :: مقاول مجالس خارجية بالرياض بأسعار منافسة وتصاميم فاخرة 0551033861 (آخر رد :ksa ads)       :: لماذا يُعتبر استضافة ووردبريس المُدارة الخيار الأمثل لمواقع الإنترنت (آخر رد :نادية معلم)       :: طµظٹط§ظ†ط© ظˆط§ظٹطھ ظˆط³طھظ†ط¬ظ‡ط§ظˆط³ ظپظٹ ظ…طµط± – ط®ط¯ظ…ط§طھ ظ…ط¶ظ…ظˆظ†ط© ظˆظ‚ط·ط¹ ط؛ظٹط§ط± ط£طµظ„ظٹط© (آخر رد :انوش العاصي)       :: ط´ط±ظƒط© ط¹ط²ظ„ ط§ظ„ط®ط²ط§ظ†ط§طھ ط§ظ„ط£ط±ط¶ظٹط© ط¨ط§ظ„ط±ظٹط§ط¶ (آخر رد :انوش العاصي)       :: تركيب مظلات سيارات حديد في الرياض من مؤسسة قمم الرياض 0563866945 (آخر رد :ksa ads)       :: أفضل خدمات الصيانة والتنظيف في جدة والطائف والباحة مع بشاير جدة (آخر رد :انوش العاصي)       :: مساج ابها منزلى وفندقي 0565212890 (آخر رد :رودى طه)       :: مساج منزلى جدة 0506485206 (آخر رد :رودى طه)       :: صيانة مرسيدس – الحفاظ على أداء الفخامة والأناقة (آخر رد :alyomhost)      

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

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 متاحة



الساعة الآن 05:34 PM


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

RSS RSS 2.0 XML MAP HTML