• User Attivo

    mediawiki - problemi con htaccess

    Salve a tutti!!
    Sto provando ad installare un wiki utilizzando il software MediaWiki. In pratica adesso ho gli url del tipo hp://wiki.dominio.net/index.php/Pagina_principale...
    Io vorrei togliere quell'index.php e far diventare il tutto h
    p://wiki.dominio.net/Pagina_principale. Sul sito ufficiale c'è un solo esempio leggermente diverso dal mio caso, ma non riesco a modificarlo...potreste darmi una mano? Quello qui sotto è l'esempio su mediawiki:

    close the php security hole...

    not actually needed but probably a good idea anyway

    php_flag register_globals off

    first, enable the processing - Unless your ISP has it enabled

    already. That might cause weird errors.

    RewriteEngine on

    uncomment this rule if you want Apache to redirect from www.mysite.com/ to

    www.mysite.com/wiki/Main_Page

    RewriteRule ^/$ /wiki/Main_Page

    do the rewrite

    RewriteRule ^wiki/?(.*)$ /w/index.php?title=$1 [L,QSA]

    Cosa devo cambiare perché funzioni per me?