Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inne] Internal Server Error przez htaccess?, gdzie jest błąd
skw
post
Post #1





Grupa: Zarejestrowani
Postów: 36
Pomógł: 0
Dołączył: 14.11.2008

Ostrzeżenie: (0%)
-----


cześć. mam w głównym katalogu plik .htaccess

Kod
Options FollowSymLinks
RewriteEngine On


RewriteRule ^([0-9]+)/([^_]+)$ index.php?site_id=$1&site_name=$2 [L]
RewriteRule ^kontakt$ kontakt.php [L]

Options All -Indexes


Oraz w katalogu admin htaccess z:
Kod
Options FollowSymLinks
RewriteEngine On

RewriteRule ^news-dodaj$ addnews.php [L]

RewriteRule ^konfiguracja-dane$ pass.php [L]

RewriteRule ^konfiguracja-slider$ specialpanel.php [L]

RewriteRule ^konfiguracja-panel$ backpanel.php [L]

RewriteRule ^konfiguracja-slider-([0-9]{1,})$ specialpanel.php?img_id=$1 [L]

RewriteRule ^konfiguracja-slider-error-([0-9]{1,})$ specialpanel.php?error=$1 [L]

RewriteRule ^news-panel$ newspanel.php [L]

RewriteRule ^([a-zA-Z0-9-]{1,})$ $1.php [L]

RewriteRule ^site-([^-]+)$ sites.php?id=$1 [L]

RewriteRule ^link-([^-]+)$ links.php?id=$1 [L]

RewriteRule ^gallery-usun-([^-]+)$ usunimg.php?id=$1 [L]

RewriteRule ^gallery-([^-]+)$ gallery.php?id=$1 [L]


RewriteRule ^site-drop-([^-]+)$ dropsite.php?id=$1 [L]

RewriteRule ^forward-([^$]+)$ forward.php?action=$1 [L]


U mnie na xamppie działa bez zarzutów, ale po wgraniu na serwer i po próbie wejścia do katalogu wywala mi "Forbidden", a po usunięciu pliku htaccess z katalogu admin pokazuje mi "internal server error". Licze na wasza pomoc wink.gif
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 21:59