![]() |
# 1 |
חבר בקהילה
|
בעיה עם .htaccess
תראו יש לי את הקוד הבא:
קוד:
Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteRule index.php index.html ואז שאני נכנס ל 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@***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. |
![]() |
![]() |
# 3 |
חבר בקהילה
|
עדיין אותה בעיה...
|
![]() |
![]() |
# 4 |
חבר וותיק
|
לא סימנת [R]
|
![]() |
![]() |
# 5 |
חבר בקהילה
|
מה זה אומר?
|
![]() |
![]() |
# 6 |
חבר על
|
לא מבין בזה בככל אבל כנראה ש [R] זה רידיירקט- הפנייה אז תעשה [R=301]
או [301] |
![]() |
![]() |
# 7 |
חבר בקהילה
|
איפה לשים את זה?
|
![]() |
![]() |
# 8 |
חבר וותיק
|
תיקון, יש לשים את המוד L
דוגמא: PHP קוד:
|
![]() |
![]() |
# 9 |
אין כמו ב127.0.0.1
|
לא מומלץ לשים את השורה RewriteBase /, תיצור בעיות בהנחה שזה לא ROOT PATH.
|
![]() |
![]() |
# 10 |
חבר וותיק
|
ברור, זו רק דוגמא, הסרתי את הכתובת שאצלי.
|
![]() |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|