Pagina 1 di 2 12 UltimaUltima
Risultati da 1 a 10 di 14

Discussione: VBulletin 4.2 e

  1. #1

    VBulletin 4.2 e

    Ho aggiunto al mio file .htaccess la regola:

    Codice:
    RewriteRule ^$  [L,QSA]
    In teoria L'URL
    Codice:
    www.miosito.xxx/
    si sarebbe dovuto trasformare in
    Codice:
    www.miosito.xxx
    e invece vedo
    Codice:
    www.miosito.xxx/content
    il file .htaccess è quello presente nella cartella di vbulletin

  2. #2
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Forse devi anche aggiungere (all'inizio)

    RewriteBase /cartella/
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  3. #3
    Questo è il codice che ho attualmente:

    Codice:
    RewriteEngine on
    
    # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
    # RewriteBase /forum/
    
    # If you are having problems with the rewrite from content/ to , uncomment this line to turn MultiViews off.
    # Options -MultiViews
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    
    # Check MVC result
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^(.*)$ - [NC,L]
    RewriteRule ^(.*)$ - [R=404,L]
    
    
    
    
    RewriteRule ^$  [L,QSA]

  4. #4
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    RewriteBase /forum/
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  5. #5
    Ciao Giovanni, non ho capito cosa dovrei fare

  6. #6
    Senior Member L'avatar di Max_69
    Data Registrazione
    Feb 2013
    Località
    Cividale del Friuli (UD)
    Età
    55
    Messaggi
    236
    Ciao, devi semplicemente fare così:

    Codice:
    RewriteEngine on
    RewriteBase /forum/
    # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
    # RewriteBase /forum/
    
    # If you are having problems with the rewrite from content/ to , uncomment this line to turn MultiViews off.
    # Options -MultiViews
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    
    # Check MVC result
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^(.*)$ - [NC,L]
    RewriteRule ^(.*)$ - [R=404,L]
    
    
    
     RewriteRule ^$  [L,QSA]

  7. #7
    cosi mi da Internal server error 500

  8. #8
    Senior Member L'avatar di Max_69
    Data Registrazione
    Feb 2013
    Località
    Cividale del Friuli (UD)
    Età
    55
    Messaggi
    236
    Prova così:

    Codice:
    RewriteEngine on
    RewriteBase /forum/
    # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
    
    
    # If you are having problems with the rewrite from content/ to , uncomment this line to turn MultiViews off.
    # Options -MultiViews
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    
    # Check MVC result
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^(.*)$ - [NC,L]
    RewriteRule ^(.*)$ - [R=404,L]
    
    
    
     RewriteRule ^$  [L,QSA]

  9. #9
    Anche cosi mi da lo stesso errore

  10. #10
    Senior Member L'avatar di Max_69
    Data Registrazione
    Feb 2013
    Località
    Cividale del Friuli (UD)
    Età
    55
    Messaggi
    236
    Domanda, il forum è nella root principale o all'interno della cartella forum?

Pagina 1 di 2 12 UltimaUltima

Discussioni Simili

  1. Primary content
    Di aky004 nel forum Come faccio
    Risposte: 3
    Ultimo Messaggio: 28-01-2013, 20:59
  2. Modificare Title pagina content.html
    Di Elisa81 nel forum Come faccio
    Risposte: 1
    Ultimo Messaggio: 24-10-2012, 16:50
  3. vBulletin 3.7.x Ico Content
    Di morris2003 nel forum VBulletin 3
    Risposte: 2
    Ultimo Messaggio: 20-10-2008, 11:36
  4. vBulletin 3.6.x modulo content tipo phpnuke però per vbulletin?
    Di Barney1 nel forum VBulletin 3
    Risposte: 9
    Ultimo Messaggio: 30-11-2006, 22:21

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •