mam zainstalowane Apache 2.5.9 i zrobiłem kiedyś stronke w której miałem plik .htaccess
.htaccess
Kod
RewriteEngine On
RewriteRule mp3.html index.php?action=mp3 [L]
RewriteRule promo.html index.php?action=promo [L]
RewriteRule omnie.html index.php?action=omnie [L]
RewriteRule linki.html index.php?action=linki [L]
RewriteRule reklama.html index.php?action=reklama [L]
RewriteRule kontakt.html index.php?action=kontakt [L]
RewriteRule mp3.html index.php?action=mp3 [L]
RewriteRule promo.html index.php?action=promo [L]
RewriteRule omnie.html index.php?action=omnie [L]
RewriteRule linki.html index.php?action=linki [L]
RewriteRule reklama.html index.php?action=reklama [L]
RewriteRule kontakt.html index.php?action=kontakt [L]
miałem stronke na serwerze u kumpla i działała a gdy chcę odpalić ją na mojim to mi wyświetla:
Kod
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, xxxxxxxxxxx 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.
--------------------------------------------------------------------------------
Apache/2.2.4 (Win32) PHP/5.2.3 Server at xxxxxxxxxx Port 80
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, xxxxxxxxxxx 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.
--------------------------------------------------------------------------------
Apache/2.2.4 (Win32) PHP/5.2.3 Server at xxxxxxxxxx Port 80
A jak wyciągne ten plik to sie ładuje stronka ale bez tego pliku to nie mam treści... co zrobić aby serwer otwórzył mi stronke z tym plikiem....