הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   בעיה מוזרה בקובץ .htaccess (https://hosts.co.il/forums/showthread.php?t=89327)

israeli 01-05-11 00:43

בעיה מוזרה בקובץ .htaccess
 
ניסיתי להפעיל את האתר ע"י קיצור כתובת
בכניסה לכתובת בצורה רגילה עובד אבל בכניסה דרך השיטה שמצויינת בקובץ לא נכנס

זה הקוד:
PHP קוד:

Options +FollowSymLinks

RewriteEngine On
RewriteBase 
/

RewriteRule index.php [L]

RewriteRule ^contactindex.php?act=contact [L]
RewriteRule ^sitemapindex.php?act=sitemap [L]
RewriteRule ^tcploginindex.php?act=teamcp [L]
RewriteRule ^jointeamindex.php?act=team [L]
RewriteRule ^watchindex.php?act=watch [L]

RewriteRule ^p([0-9]+)$ index.php?act=main&page=$[L]
RewriteRule ^m-(.*)$ index.php?act=movie&entitle=$[L]
RewriteRule ^profile-(.*).htmlindex.php?act=profile&username=$[L]

RewriteRule ^report-movies-([0-9]+)$ index.php?act=report&type=movies&id=$[L]
RewriteRule ^report-episodes-([0-9]+)$ index.php?act=report&type=episodes&id=$[L]

RewriteRule ^ep-([0-9]+)-([0-9]+)$ index.php?act=episode&series_id=$2&episode_number=$[L]

RewriteRule ^sc-([0-9]+)$ index.php?act=cat&type=series&cid=$[L]
RewriteRule ^sc-([0-9]+)-p([0-9]+)$ index.php?act=cat&type=series&cid=$1&page=$[L]

RewriteRule ^mc-([0-9]+)$ index.php?act=cat&type=movies&cid=$[L]
RewriteRule ^mc-([0-9]+)-p([0-9]+)$ index.php?act=cat&type=movies&cid=$1&page=$[L

שבוע טוב

Shay Ben Moshe 01-05-11 09:40

תבדוק אם mod rewrite פעיל בשרת.

israeli 01-05-11 16:26

ציטוט:

נכתב במקור על ידי Shay Falador (פרסם 803146)
תבדוק אם mod rewrite פעיל בשרת.

איך אני בודק זאת?

Shay Ben Moshe 01-05-11 17:54

תריץ phpinfo() ותחפש בתוצאה את המילה mod_rewrite.

BlueNosE 02-05-11 13:58

תוריד את הrewriteBase. אני בספק אם יש בphpinfo התייחסות לפיצ'ר של אפאצ'י.


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

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