MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
Moderators: Moderators
Page 1/2 1 2 >
Forum RSS feedReply
Problema htaccess con joomla
AuthorText
tiauz
Junior Member

Posts: 42
Contributes: 42

Gender: _MALE_
Online: No

Country: Italy
Languages: Italian
Date: 03/02/2010 17:44
Problema htaccess con joomla
#post23374
Site url: http://sevenresoruces.net
MemHT version: 4.0.1
Hosting OS: Linux, Windows
PHP and MySQL versions:5.0.89-community
Installed addons/scripts: nessuno
Error/Problem: Problema htaccess redirect

Salve a tutti,
Abbiamo un sito realizzato con Joomla, tutti i file di joomla si trovano nella root del sito.
Volevamo testare Memht per provare le sue funzionalità ed eventualmente usarlo al posto di joomla.

Abbiamo uploadato i file di memht nella sottocartella /lavori/mem/.

Il problema è che andando all'url sevenresources.net/lavori/mem/ non si apre l'installazione, ma viene mostrata la pagina principale di joomla.

Molto probabilmente si tratta degli htaccess, ma abbiamo fatto delle prove, e abbiamo seguito le istruzioni presenti nel pacchetto di memht ma il risultato è sempre lo stesso.

C'è qualche incompatibilità tra i due? come si puo risolvere?

(abbiamo fatto lo stesso procedimento anche con wordpress,in un'altra sottocartella, senza riscontrare problemi.)
Edited: 03/02/2010 17:48
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7300
Contributes: 4879

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 03/02/2010 18:38
Re: Problema htaccess con joomla
#post23376
La presenza di un file .htaccess presente nella root, ha effetto anche nelle sottocartelle.

Se quindi l'htaccess di Joomla si trova in lavori/, le stesse regole verranno applicate anche a lavori/memht e qualsiasi altra sottocartella.

Si dovrebbe quindi modificare il file htaccess di Joomla in modo da fargli ignorare una sottocartella specifica (in questo caso MemHT).

Ti invito quindi ad allegare qui il file .htaccess di Joomla così che io possa modificarlo.
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
tiauz
Junior Member

Posts: 42
Contributes: 42

Gender: _MALE_
Online: No

Country: Italy
Languages: Italian
Date: 03/02/2010 19:20
Re: Problema htaccess con joomla
#post23378
Ecco in allegato il file htaccess presente nella root del sito, dove si trova joomla (e di joomla). I file htaccess di memht sono gli originali.

PS:Come mai questo problema non è sorto anche con wordpress?

Grazie.
Edited: 03/02/2010 19:21
Delete Edit Quote
 
tiauz
Junior Member

Posts: 42
Contributes: 42

Gender: _MALE_
Online: No

Country: Italy
Languages: Italian
Date: 03/02/2010 21:14
Re: Problema htaccess con joomla
#post23379
Ho provato a vedere in rete per apportare le modifiche ma non ci sono riuscito.. non ne capisco molto di questo file.
Delete Edit Quote
 
tiauz
Junior Member

Posts: 42
Contributes: 42

Gender: _MALE_
Online: No

Country: Italy
Languages: Italian
Date: 04/02/2010 13:07
Re: Problema htaccess con joomla
#post23386
sto ancora provando diverse soluzioni ma non capisco il problema...

qualche aiuto?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7300
Contributes: 4879

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 04/02/2010 15:39
Re: Problema htaccess con joomla
#post23387
Nel file che mi hai mandato hai
code
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)[NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]


Per evitare di applicare le regole di rewrite di Joomla nella cartella lavori, modifichi in

code
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !^/lavori/
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)[NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]


Come vedi hi aggiunto
code
RewriteCond %{REQUEST_URI} !^/lavori/
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
tiauz
Junior Member

Posts: 42
Contributes: 42

Gender: _MALE_
Online: No

Country: Italy
Languages: Italian
Date: 04/02/2010 15:40
Re: Problema htaccess con joomla
#post23388
ok ti ringrazzio! grazie davvero
Edited: 04/02/2010 15:40
Delete Edit Quote
 
tiauz
Junior Member

Posts: 42
Contributes: 42

Gender: _MALE_
Online: No

Country: Italy
Languages: Italian
Date: 04/02/2010 15:46
Re: Problema htaccess con joomla
#post23389
nel mio caso pero mem non si trova dentro lavori, ma dentro /lavori/mem/
cosi non funziona Smile

Basta che modifico la path nell'htaccess? non dovrei cancellare anche gli htaccess di mem?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7300
Contributes: 4879

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 04/02/2010 16:38
Re: Problema htaccess con joomla
#post23390
Specifica il percorso intero. Se non funziona, per prova rinnomina il file .htaccess in htaccess.txt e vedi se ti apre la sottocartella.

Se cancelli l'htaccess di MemHT poi avrai problemi con MemHT.
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
tiauz
Junior Member

Posts: 42
Contributes: 42

Gender: _MALE_
Online: No

Country: Italy
Languages: Italian
Date: 04/02/2010 17:19
Re: Problema htaccess con joomla
#post23391
allora...

PERCORSO MEMHT:
www.sevenresources.net/lavori/mem/

PERCORSO JOOMLA:
www.sevenresources.net

=================================

Quando vado ad prire:
www.sevenresources.net/lavori/mem/

mi mostra la pagina principale di joomla...
----------------------------
adesso stiamo reinstallando joomla,appena è ok provo a rinominarlo...

Edited: 04/02/2010 17:31
Delete Edit Quote
 
Reply
Page 1/2 1 2 >
Twitter updates...
MemHT Wiki
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.234

Username
Password
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo