| Autor | Zpráva | ||
|---|---|---|---|
| ttt96 Profil * |
Ahojte,
mam taký problém. Na hostingu som mal script so súborom .htaccess, ktorý vytváral ,,pekné linky". A teraz som ten script dal niekomu na jeho virtual server a tam ten .htaccess nefuguje. Tu je ten súbor: #ErrorDocument 404 "http://www.domena.sk
#php_flag magic_quotes_gpc off
#php_flag register_globals off
#Options -Indexes
#RewriteEngine on
# route all requests to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?p=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)?/?$ index.php?p=$1&id=$2 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)?/?/?$ index.php?p=$1&id=$2&t=$3 [L,QSA]Takže neviem či je chyba v súbore alebo treba niečo nastaviť na serveri.. Ja sa tým serverom nerozumiem tak preto sa pýtam tu.. Ak chcem načítať stránku už s tým pekným linkom ukáže tento error: Not Found The requested URL /stranka/id/ was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Ďakujem |
||
| Kubo2 Profil |
|||
| ttt96 Profil * |
#3 · Zasláno: 4. 9. 2013, 11:21:41
hej díki :) neviem ako sa tam dostalo to # -_-
|
||
|
Časová prodleva: 13 let
|
|||
0