Restyling con CMSMS

La discussione sul CMS Made Simple in italiano.

Moderator: magallo

farhadprm
Forum Members
Forum Members
Posts: 158
Joined: Mon May 28, 2007 2:40 pm

Re: Restyling con CMSMS

Post by farhadprm »

alby wrote: Mi viene in mente un'altra possibilità (ma non so se funziona)

Dato che hai mod_rewrite che cerca comunque di chiamare index.php?page=XXXXX
Hai provato abilitando il messaggio 404 nelle Configurazioni Generali a vedere cosa succede?

Alby
Ho provato sia con messaggio 404 abilitato e non, ho cancellato anche cash, ma non ha funzionato.

Il server virtuale ho con Aruba ma ho anche la possibilità di gestirlo, solo che non so dove e come intervenire?

grazie
Far
alby

Re: Restyling con CMSMS

Post by alby »

farhadprm wrote:
Il server virtuale ho con Aruba ma ho anche la possibilità di gestirlo, solo che non so dove e come intervenire?
Anch'io sono su Aruba ma come hosting, il file di configurazione è sotto /etc/httpd/httpd.conf o /etc/apache2/httpd.conf

Manda comunque un ticket all'assistenza.

Alby
farhadprm
Forum Members
Forum Members
Posts: 158
Joined: Mon May 28, 2007 2:40 pm

Re: Restyling con CMSMS

Post by farhadprm »

alby wrote:
Manda comunque un ticket all'assistenza.

Alby
Ciao di nuovo Alby,

allora ho seguito il tuo consiglio e ho aperto un ticket all'assistenza di Aruba. Purtroppo mi hanno risposto che non esiste l'assistenza di software per i server dedicati e virtuali.

Ho risolto parzialmente il problema inserendo

Code: Select all

<meta http-equiv="REFRESH" content="0;url=http://www.domain.com" />
nel settore error 404 in CMSMS e funziona bene con FireFax ed i link non esistenti vengono reindirizzati allo home page. Il problema è che questo rimedio non funziona con Internet explorer 7.
Allora la mia domanda è che come posso modificare CMSMS per farlo funzionare anche con IE??

grazie
far
alby

Re: Restyling con CMSMS

Post by alby »

farhadprm wrote: Ho risolto parzialmente il problema inserendo

Code: Select all

<meta http-equiv="REFRESH" content="0;url=http://www.domain.com" />
nel settore error 404 in CMSMS e funziona bene con FireFax ed i link non esistenti vengono reindirizzati allo home page. Il problema è che questo rimedio non funziona con Internet explorer 7.
Allora la mia domanda è che come posso modificare CMSMS per farlo funzionare anche con IE??
Che cosa succede con IE7?

Alby
farhadprm
Forum Members
Forum Members
Posts: 158
Joined: Mon May 28, 2007 2:40 pm

Re: Restyling con CMSMS

Post by farhadprm »

grazie della risposta.
mi da questa pagina con errore:

Code: Select all

  The webpage cannot be found 
 HTTP 404  
   Most likely causes:
There might be a typing error in the address. 
If you clicked on a link, it may be out of date. 
 
   What you can try: 
     Retype the address.  
 
     Go back to the previous page. 
 
     Go to  and look for the information you want.  
 
     More information 

This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might have changed or removed the webpage.

For more information about HTTP errors, see Help.
 
grazie
far
Last edited by farhadprm on Thu Oct 04, 2007 5:18 pm, edited 1 time in total.
alby

Re: Restyling con CMSMS

Post by alby »

farhadprm wrote: grazie della risposta.
mi da questa pagina con errore:
...............
Prova con questi javascripts (pulisci sempre prima la cache ad ogni prova):
1.

Code: Select all

<__script__ type="text/javascript">
function doRedirect(){location.href = "http://www.dominio.it/";}
doRedirect();
</__script>
2.

Code: Select all

<__script__ language="javascript">
location.replace("http://www.dominio.it/");
</__script>
3.

Code: Select all

<__script__ type="text/javascript">
window.location = "http://www.dominio.it/"
</__script>

Se non funzionano e se le pagine sono molto poche inserisci in cima nel .htaccess:

Code: Select all

Redirect permanent  http://www.dominio.it/old1.php  http://www.dominio.it/
Redirect permanent  http://www.dominio.it/old2.php  http://www.dominio.it/
Alby
farhadprm
Forum Members
Forum Members
Posts: 158
Joined: Mon May 28, 2007 2:40 pm

Re: Restyling con CMSMS

Post by farhadprm »

allora ho trovato la soluzione.
non ha funzionato con nessuno dei codici, inseriti da solo. Ho trovato questo nella pagina di errore del sito:

Code: Select all

   - Unfortunately, Microsoft has added a clever new
   - "feature" to Internet Explorer. If the text of
   - an error's message is "too small", specifically
   - less than 512 bytes, Internet Explorer returns
   - its own error message. You can turn that off,
   - but it's pretty tricky to find switch called
   - "smart error messages". That means, of course,
   - that short error messages are censored by default.
   - IIS always returns error messages that are long
   - enough to make Internet Explorer happy. The
   - workaround is pretty simple: pad the error
   - message with a big comment like this to push it
   - over the five hundred and twelve bytes minimum.
   - Of course, that's exactly what you're reading
   - right now.
quindi prima ho inseito

Code: Select all

<__script__ type="text/javascript">
window.location = "http://www.persiantranslators.com/"
</__script>
e poi ho inserito un bel pò di testo fra

Code: Select all

<!--
e

Code: Select all

-->
per appesantire la pagina, quindi ha funzionato anche con IE7  ;)

far
Post Reply

Return to “Italian - Italiano”