Visualizzazione dei risultati da 1 a 2 su 2

Discussione: help con mod rewrite

  1. #1

    help con mod rewrite

    voglio riscrivere un url in modo che da

    http://www.gayspace.it/mionome

    mi porti a

    http://www.gayspace.it/profilo/index.php?utente=mionome


    creo il mio .htaccess:

    RewriteEngine On

    RewriteRule ^([^/]+) profilo.php/index.php?utente=$1 [NC]


    ma mi da questo errore:

    "Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, postmaster@gayspace.it and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log"

    dove ho toppato?

  2. #2
    Utente di HTML.it L'avatar di chris
    Registrato dal
    Sep 1999
    Messaggi
    1,568
    Perché hai messo come flag N e C? il primo ti porta a fare dei cicli che ovviamente non intercetti altrove e quindi vai in loop continuo.

    codice:
    RewriteRule ^([^/]+) /profilo.php/index.php?utente=$1 [L]

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.