- Home
- Categorie
- Coding e Sistemistica
- Coding
- dopo upload .htaccess: 500 Internal Server Error
-
dopo upload .htaccess: 500 Internal Server Error
Ho il mod_rewrite caricato correttamente.
Ho fatto un brevissimo .htaccess per testare se effettivamente il modulo funziona, ho messo questa regoletta:RewriteEngine On
RewriteRule ^photo.html /_photo/index.phpMa caricato il file .htaccess su TUTTE le pagine del sito appare questo errore:
SORRY, there is an "500 Internal Server Error" !
Your browser sent a request that this server could not handle.
The request could not be executed/handled by the server due to malformed syntax or internal configuration.
The client should not repeat the request without modifications.Che strano problema è questo?
-
qualche informazione in più:
- sei percaso in hosting con A**ba ?
- si tratta di hosting windows o linux ?
- quello che hai postato è il file htaccess completo ?
comunque per quello che ne so io andrebbe caricato solo nella directory radice
ciao
-
Quello postato è il file .htaccess completo.
L'ho messo solamente nella root del server che è di tipo linux.
E' inspiegabile quello che succede?
-
L'assistenza non riesce a risolvermi il problema.
Dice che devo cambiare le impostazioni dell'htaccess... che cosa vorrà dire?
-
Magari è scritto sbagliato, o il tuo server non lo accetta così come è
-
@directprice_ said:
qualche informazione in più:
- sei percaso in hosting con A**ba ?
sono loro? a**ba?
-
il mio , semplicissimo e' scritto cosi
AuthType Basic
RewriteEngine OnRewriteBase /
RewriteRule (.*) index.phpprova a togliere la / in questa riga:
RewriteRule ^photo.html /_photo/index.php