apache - Internal error 500 when editing htaccess -


when edit .htaccess file, server retunrs 500 error i'm sure .htaccess good. test, i've add row @ end of file , when i've uploaded it, i've had 500 error. have ideas ?

my .htaccess file :

#url rewriting options +followsymlinks rewriteengine on rewritebase /  rewritecond %{http_host} ^www.example.com$ [nc] rewriterule ^(.*)$ http://example.com/$1 [r=301,l]   ############################################### #rediriger tout le monde sauf une ip vers la page d'attente - dé-commenter en cas de maintenance #rewritecond %{request_uri} !uploads/(.*)$ #rewriterule .* maintenance.html [l]  ###########################################################  ### retrait du / si mis la fin url ###  rewritecond %{request_filename} !-d  rewriterule ^(.+)/$ /$1 [r=301,l]  ########################################  ### redirection vers la page des textures ### rewriterule ^textures$ pages/textures.php [l] rewriterule ^textures/gerer/([a-za-z0-9-]+)$ pages/textures.php?page=gerer&action=$1 [l] rewriterule ^textures/gerer$ pages/textures.php?page=gerer [l]  ### redirection vers la page des pilotes ### rewriterule ^pilotes$ pages/pilotes.php [l]  ### redirection vers la page de connexion ### rewriterule ^connexion$ pages/connexion.php [l] rewriterule ^connexion/requis$ pages/connexion.php?type=requis [l]  ### redirection vers la page de deconnexion ### rewriterule ^deconnexion$ scripts/logout.php [l]  ### redirection vers la page des vols ### rewriterule ^vols$ pages/vols.php [l]  ### redirection vers la page des vols en cours ### rewriterule ^live$ pages/live.php [l]  ### redirection vers la page de la flotte ### rewriterule ^flotte$ pages/flotte.php [l]  ### redirection vers la page de la galerie ### rewriterule ^galerie$ pages/galerie.php [l] rewriterule ^galerie/ajouter$ pages/galerie.php?action=add [l] rewriterule ^galerie/gerer$ pages/galerie.php?action=gerer [l]  ### redirection vers le centre d hebergement ### rewriterule ^upload$ pages/upload.php [l] rewriterule ^upload/administrer$ pages/upload.php?action=gerer [l]  ### redirection vers la page d'inscription ### rewriterule ^inscription$ pages/inscription.php [l]  ### redirection vers la page equipe ### rewriterule ^personnel$ pages/personnel.php [l] rewriterule ^personnel/contact$ pages/personnel.php?action=contact [l] rewriterule ^personnel/contact/([a-za-z0-9-]+)$ pages/personnel.php?action=contact&service=$1 [l]  ### redirection vers les pages admin ### rewriterule ^administration/utilisateurs$ pages/admin/utilisateurs.php [l]  rewriterule ^administration$ pages/admin/admin.php [l]  rewriterule ^administration/mail$ pages/admin/mail.php [l] rewriterule ^administration/mail/([a-za-z0-9-]+)$ pages/admin/mail.php?action=$1 [l]  rewriterule ^administration/banniere$ pages/admin/banniere.php [l] rewriterule ^administration/banniere/([a-za-z0-9-]+)$ pages/admin/banniere.php?action=$1 [l]  rewriterule ^administration/hubs$ pages/admin/hubs.php [l] rewriterule ^administration/hubs/gerer/editer/([0-9]+)$ pages/admin/hubs.php?action=modif_hub&hub_id=$1 [l] rewriterule ^administration/hubs/gerer$ pages/admin/hubs.php?action=gerer [l]  rewriterule ^administration/securite$ pages/admin/securite.php [l] rewriterule ^administration/securite/([a-za-z0-9-]+)$ pages/admin/securite.php?action=$1 [l]  ### redirection vers avatars ### rewriterule ^avatar/([a-za-z0-9-]+).png$ scripts/avatar.php?pseudo=$1 [l] rewriterule ^avatar/ivao=([a-za-z0-9-]+).png$ scripts/avatar.php?pseudo=$1&param=ivao [l] rewriterule ^avatar/([0-9]+)=ivao=([a-za-z0-9-]+).png$ scripts/avatar.php?pseudo=$2&param=ivao&width=$1 [l] rewriterule ^avatar/([0-9]+)=([a-za-z0-9-]+).png$ scripts/avatar.php?pseudo=$2&width=$1 [l] 

i copied/pasted htaccess content in new notepad file. saved .htaccess , chose ansi charset.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -