הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 09-10-12, 14:33   # 1
Resellers.co.il
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Jul 2011
הודעות: 289

Resellers.co.il לא מחובר  

עזרה HTACCESS

אני רוצה שאם מישהו יכנס נגיד ל games.html
זה יתן את המידע מ page.php?page=games,
אני רושם את הקוד הזה:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9 %_-]+) page.php?page=$1 [L,NC,QSA]

וזה עושה לי שגיאה בכל האתר
(אני עובד עם ה WAMP):

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
__________________

Resellers.co.il - אירוח אתרים
מקבוצת GlobalSolution ישראל
  Reply With Quote
ישן 09-10-12, 14:46   # 2
Haimz
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Sep 2010
הודעות: 1,221

Haimz לא מחובר  

נסה:
קוד:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9 %_-]+)\.html$ page.php?page=$1
בסמל של הWAMP למטה, תן קליק ימני, ואז תפעיל את הrewrite mode משהו כזה, תדאג שיהיה לו V בצד שמאל.. זה אמור להיות בתוך הAPACHE או משהו..
  Reply With Quote
ישן 09-10-12, 14:51   # 3
Resellers.co.il
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Jul 2011
הודעות: 289

Resellers.co.il לא מחובר  

אוקי, עכשיו שנאי ניכנס זה עושה לי שגיאה 404,
שאני ניכנס ל index.php זה גם עושה את זה, וגם אם אני מנסה INDEX.HTML זה עושה
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@introx-serv.co.il and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

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

Resellers.co.il - אירוח אתרים
מקבוצת GlobalSolution ישראל
  Reply With Quote
ישן 09-10-12, 14:53   # 4
Haimz
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Sep 2010
הודעות: 1,221

Haimz לא מחובר  

אולי:
קוד:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_]+?)\.html$ page.php?page=$1
  Reply With Quote
ישן 09-10-12, 14:54   # 5
Resellers.co.il
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Jul 2011
הודעות: 289

Resellers.co.il לא מחובר  

עובד תודה רבה.
__________________

Resellers.co.il - אירוח אתרים
מקבוצת GlobalSolution ישראל
  Reply With Quote
השב

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 15:19.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ