Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> RewriteRule nie działa na ovh, czy podałem zły RewriteRule?
Apocalyptiq
post
Post #1





Grupa: Zarejestrowani
Postów: 230
Pomógł: 3
Dołączył: 8.01.2008

Ostrzeżenie: (10%)
X----


Na darmowym koncie 60free umieściłem pewną stronę i .htaccess z taką zawartością:
Kod
RewriteEngine on
DirectoryIndex index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z-_0-9]+)/([a-zA-Z-_0-9]+)/?$ ?page=$1&id=$2 [L]
RewriteRule ^([a-zA-Z-_0-9]+)/?$ ?page=$1 [L]

Plik ten działał mi na localhoście (używam xamppa, pod ubuntu), ale jak wrzuciłem go na to konto ovh, pokazuje się taki komunikat (wchodząc na główną stronę mojej strony):
Cytat
The server encountered an internal error and was unable to complete your request

If you are owner of that account and you are looking for more information about Internal Server Error pleas visit http://60free.ovh.org/en/support/ or check if:

- attributes of file '/' are 705,
- attributes of directory are 705,
- in '.htaccess' file there is no any unavailable entries

i w tym "attributes of file '/'" pojawia się to, co wpiszemy za adresem, np. wpisując result.ovh.org/team będzie tam linijka:
Cytat
- attributes of file '/team' are 705,

Adres tej strony: http://result.ovh.org/
Nadanie indeksowi chmoda 777 też nic nie dało. Co tu może być nie tak?
Go to the top of the page
+Quote Post

Posty w temacie
- Apocalyptiq   RewriteRule nie działa na ovh   26.11.2008, 20:18:44


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

 



RSS Aktualny czas: 23.08.2025 - 14:12