<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>AlterVista - PHP, MySql e Apache (.htaccess)</title>
		<link>https://forum.it.altervista.org/</link>
		<description>Uso di PHP e MySql per la creazione di pagine dinamiche. Configurazione dei files .htaccess.</description>
		<language>it-IT</language>
		<lastBuildDate>Fri, 15 May 2026 00:32:11 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://forum.it.altervista.org/images/metro/blue/misc/rss.png</url>
			<title>AlterVista - PHP, MySql e Apache (.htaccess)</title>
			<link>https://forum.it.altervista.org/</link>
		</image>
		<item>
			<title>Problemi con accesso Siti</title>
			<link>https://forum.it.altervista.org/showthread.php?t=295476&amp;goto=newpost</link>
			<pubDate>Thu, 14 May 2026 15:53:00 GMT</pubDate>
			<description>Chiedo se possibile una soluzione a questa problematica che ho riscontrato esattamente dopo il passaggio a PHP 8.xx. 
In pratica non rieso più ad accedere ai miei siti, mi dà sempre errore 500. 
Ho installato prestashop versione 1.6.x.x in entrambi, vorrei sapere cosa devo modificare e se fattibile...</description>
			<content:encoded><![CDATA[<div>Chiedo se possibile una soluzione a questa problematica che ho riscontrato esattamente dopo il passaggio a PHP 8.xx.<br />
In pratica non rieso più ad accedere ai miei siti, mi dà sempre errore 500.<br />
Ho installato prestashop versione 1.6.x.x in entrambi, vorrei sapere cosa devo modificare e se fattibile per non predere tutto.<br />
<br />
grazie in anticipo al supporto.<br />
<br />
I miei siti sono:<br />
1- <a href="https://azcreazioni.altervista.org/" target="_blank">https://azcreazioni.altervista.org/</a><br />
2- <a href="https://mercatinostore.altervista.org/" target="_blank">https://mercatinostore.altervista.org/</a></div>

]]></content:encoded>
			<category domain="https://forum.it.altervista.org/forumdisplay.php?f=17">PHP, MySql e Apache (.htaccess)</category>
			<dc:creator>azcreazioni</dc:creator>
			<guid isPermaLink="true">https://forum.it.altervista.org/showthread.php?t=295476</guid>
		</item>
		<item>
			<title>Problemi con i file .htacces</title>
			<link>https://forum.it.altervista.org/showthread.php?t=295465&amp;goto=newpost</link>
			<pubDate>Tue, 12 May 2026 11:58:55 GMT</pubDate>
			<description><![CDATA[Salve, 
tralasciando l'aggiornamento anticipato di 2 giorni sul passaggio a php 8.x. 
 
In concomintanza con il cambio di versione, ho notato delle problematiche con i file .htacces. 
 
Riscrittura da cartella a sottodominio del tipo cartella.NomeSito.altervista.org non funziona più. 
 
Basterebbe...]]></description>
			<content:encoded><![CDATA[<div>Salve,<br />
tralasciando l'aggiornamento anticipato di 2 giorni sul passaggio a php 8.x.<br />
<br />
In concomintanza con il cambio di versione, ho notato delle problematiche con i file .htacces.<br />
<br />
Riscrittura da cartella a sottodominio del tipo cartella.NomeSito.altervista.org non funziona più.<br />
<br />
Basterebbe anche solo un area apposita del forum, aggiornata regolarmente dove riportare le modifiche lato AlterVista / server che in qualche modo possono dare problemi a qualche sito. L'importante che a noi utenti, normali, sia visibile ma non consentito di creare discussioni o rispondere. Così da re stare un qualcosa di ordinato da consultare.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Codice:</div>
	<hr /><code class="bbcode_code">RewriteCond %{HTTP_HOST} ^cartella.NomeSito.altervista.org|www.cartella.NomeSito.altervista.org$ [NC]<br />
RewriteCond %{REQUEST_URI} !^/cartella/<br />
RewriteRule (.*) /cartella/$1 [L]</code><hr />
</div>Non funzina più il codice misto (php in HTML)<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Codice:</div>
	<hr /><code class="bbcode_code">AddHandler av-php8 .html</code><hr />
</div>Soluzioni da parte di AlterVista?<br />
<br />
Non sono state dichiarate modifiche che avrebbero comportato questi effeti. Per certe aree del dominio (GraphOGLRisorse) necessito di poter gestire entrambe le cose. <br />
<br />
La prima, se resta inattiva, mi crea noie solo coll'indicizzazione. La seconda invece, mi crea problemi di funaizoamento e se cambio l'estensione pagina in *.php ho uglualmente noie con l'indicizzazione.<br />
<b><br />
Per lo staff AlterVista</b><br />
<br />
Saiamo nel 2026 a circa 26 anni di AlterVista. Possibile che qui sul forum, non si possa avere integrata una pagina di report delle modifiche future che lato server AlterVista possano causare problemi tecnici o di incdicizzazione nei siti ospitati? :confused:<br />
<br />
Per i tecnici, basterebbe disposrre di un modulo semplice dove riportare la modifica futura con data ed eventuale soluzione, se possibile fornirla.<br />
 <br />
Lato utenti, di una pagina con tabella con i campi: modifica, data e soluzioni (che resterà vuota se non vi sono specifiche soluzioni)<br />
<br />
Basterebbe anche solo dedicare una specifica area del forum a tale report. Visibile a tutti gli utenti AlterVista ma bloccata all'aggiunta di nuove discussioni e risposte per gli utenti AlterVista normali. Così da restare ordinata e facile da consultare.<br />
<br />
Chiedo forse troppo? :wink:<br />
<br />
Cordiali saluti.</div>

]]></content:encoded>
			<category domain="https://forum.it.altervista.org/forumdisplay.php?f=17">PHP, MySql e Apache (.htaccess)</category>
			<dc:creator>GraphOGLRisorse</dc:creator>
			<guid isPermaLink="true">https://forum.it.altervista.org/showthread.php?t=295465</guid>
		</item>
		<item>
			<title>connessione server to sever</title>
			<link>https://forum.it.altervista.org/showthread.php?t=295457&amp;goto=newpost</link>
			<pubDate>Wed, 06 May 2026 08:08:14 GMT</pubDate>
			<description><![CDATA["Buongiorno, sul mio account duezetasnc ho attivato lo sblocco connessioni server-to-server, ma le chiamate verso facebook.com falliscono con errore 'CONNECT tunnel failed, response 500'. Potete sbloccare il dominio lato proxy? Grazie."]]></description>
			<content:encoded><![CDATA[<div>&quot;Buongiorno, sul mio account duezetasnc ho attivato lo sblocco connessioni server-to-server, ma le chiamate verso facebook.com falliscono con errore 'CONNECT tunnel failed, response 500'. Potete sbloccare il dominio lato proxy? Grazie.&quot;</div>

]]></content:encoded>
			<category domain="https://forum.it.altervista.org/forumdisplay.php?f=17">PHP, MySql e Apache (.htaccess)</category>
			<dc:creator>duezetasnc</dc:creator>
			<guid isPermaLink="true">https://forum.it.altervista.org/showthread.php?t=295457</guid>
		</item>
		<item>
			<title>Script / tool ( pratico) per eseguire debug in PHP</title>
			<link>https://forum.it.altervista.org/showthread.php?t=295438&amp;goto=newpost</link>
			<pubDate>Thu, 16 Apr 2026 17:49:23 GMT</pubDate>
			<description>Salve, 
ho creato un tool per il debug che può essere usato al posto del metodo che avevo ripotato qui (https://forum.it.altervista.org/php-mysql-e-apache-htaccess/295414-http-error-500-a.html#post1497847) 
 
Il tool permette di visualizzare gli errori di una pagina PHP (o HTML misto) senza dover...</description>
			<content:encoded><![CDATA[<div>Salve,<br />
ho creato un tool per il debug che può essere usato al posto del metodo che avevo ripotato <a href="https://forum.it.altervista.org/php-mysql-e-apache-htaccess/295414-http-error-500-a.html#post1497847" target="_blank">qui</a><br />
<br />
Il tool permette di visualizzare gli errori di una pagina PHP (o HTML misto) senza dover editare il file per aggiornare il nome della pagina da analizzare.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Codice PHP:</div>
	<hr /><code class="bbcode_code"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />$files </span><span style="color: #007700">= </span><span style="color: #0000BB">glob</span><span style="color: #007700">(</span><span style="color: #DD0000">"./*.{htm,html,php}"</span><span style="color: #007700">, </span><span style="color: #0000BB">GLOB_BRACE</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$hidden </span><span style="color: #007700">= array(</span><span style="color: #DD0000">"DebugErrorPHP.php"</span><span style="color: #007700">);<br /><br />function </span><span style="color: #0000BB">EmulateEval</span><span style="color: #007700">(</span><span style="color: #0000BB">$code</span><span style="color: #007700">){<br />  </span><span style="color: #0000BB">$tmp </span><span style="color: #007700">= </span><span style="color: #0000BB">tmpfile</span><span style="color: #007700">();<br />  </span><span style="color: #0000BB">$tmpf </span><span style="color: #007700">= </span><span style="color: #0000BB">stream_get_meta_data </span><span style="color: #007700">(</span><span style="color: #0000BB">$tmp</span><span style="color: #007700">);<br />  </span><span style="color: #0000BB">$tmpf </span><span style="color: #007700">= </span><span style="color: #0000BB">$tmpf </span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'uri'</span><span style="color: #007700">&#93;;<br />  </span><span style="color: #0000BB">fwrite</span><span style="color: #007700">(</span><span style="color: #0000BB">$tmp</span><span style="color: #007700">, </span><span style="color: #0000BB">$code</span><span style="color: #007700">);<br />  </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= include(</span><span style="color: #0000BB">$tmpf</span><span style="color: #007700">);<br />  </span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$tmp</span><span style="color: #007700">);<br />  return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br />}<br /><br />if(isset(</span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'select1'</span><span style="color: #007700">&#93;)){<br />   </span><span style="color: #0000BB">$select1 </span><span style="color: #007700">= </span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'select1'</span><span style="color: #007700">&#93;;<br /><br />   </span><span style="color: #0000BB">$cnt </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />   foreach(</span><span style="color: #0000BB">$files </span><span style="color: #007700">as </span><span style="color: #0000BB">$file</span><span style="color: #007700">) {<br />     </span><span style="color: #0000BB">$file </span><span style="color: #007700">= </span><span style="color: #0000BB">basename</span><span style="color: #007700">(</span><span style="color: #0000BB">$file</span><span style="color: #007700">);<br />     if(</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$file</span><span style="color: #007700">, </span><span style="color: #0000BB">$hidden</span><span style="color: #007700">)) {<br />        continue;<br />     }<br />     </span><span style="color: #0000BB">$cnt</span><span style="color: #007700">++;<br />     if(</span><span style="color: #0000BB">$select1 </span><span style="color: #007700">== </span><span style="color: #DD0000">'value'</span><span style="color: #007700">.</span><span style="color: #0000BB">$cnt</span><span style="color: #007700">){<br />       echo </span><span style="color: #DD0000">'&lt;p style="display:flex; justify-content:center; font-size:20px;"&gt;Versione PHP:&amp;nbsp;&lt;b&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">phpversion</span><span style="color: #007700">(),</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">3</span><span style="color: #007700">).</span><span style="color: #DD0000">'&lt;/b&gt;&lt;/p&gt;'</span><span style="color: #007700">;<br />       echo </span><span style="color: #DD0000">'&lt;p style="display:flex; justify-content:center; font-size:20px;"&gt;File corrente:&amp;nbsp&lt;b&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">$file</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;/b&gt;&lt;/p&gt;'</span><span style="color: #007700">;<br />       </span><span style="color: #0000BB">$code </span><span style="color: #007700">= </span><span style="color: #DD0000">"&lt;div style='overflow-y:scroll; width:100%; height:250px;'&gt;"</span><span style="color: #007700">;<br />       </span><span style="color: #0000BB">$code </span><span style="color: #007700">.= </span><span style="color: #DD0000">"&lt;?php ini_set('display_errors', '1');ini_set('display_startup_errors', '1');error_reporting(E_ALL);require('"</span><span style="color: #007700">.</span><span style="color: #0000BB">$file</span><span style="color: #007700">.</span><span style="color: #DD0000">"');?&gt;"</span><span style="color: #007700">;<br />       </span><span style="color: #0000BB">$code </span><span style="color: #007700">.= </span><span style="color: #DD0000">"&lt;/div&gt;"</span><span style="color: #007700">;<br />       </span><span style="color: #0000BB">EmulateEval</span><span style="color: #007700">(</span><span style="color: #0000BB">$code</span><span style="color: #007700">);<br />     }<br />   }<br />}<br /></span><span style="color: #0000BB">?&gt;<br /></span><br />&lt;form style="display:flex; justify-content:center;" action="" method="post"&gt;<br />    &lt;select style="font-size:20px;" name="select1"&gt;<br /><span style="color: #0000BB">&lt;?php<br />   $cnt </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />   </span><span style="color: #FF8000">//$files = glob("./*");<br />   </span><span style="color: #007700">foreach(</span><span style="color: #0000BB">$files </span><span style="color: #007700">as </span><span style="color: #0000BB">$file</span><span style="color: #007700">) {<br />     </span><span style="color: #0000BB">$file </span><span style="color: #007700">= </span><span style="color: #0000BB">basename</span><span style="color: #007700">(</span><span style="color: #0000BB">$file</span><span style="color: #007700">);<br />     if(</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$file</span><span style="color: #007700">, </span><span style="color: #0000BB">$hidden</span><span style="color: #007700">)) {<br />        continue;<br />     }<br />     </span><span style="color: #0000BB">$cnt</span><span style="color: #007700">++;<br />     echo </span><span style="color: #DD0000">'&lt;option value="value'</span><span style="color: #007700">.</span><span style="color: #0000BB">$cnt</span><span style="color: #007700">.</span><span style="color: #DD0000">'"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">$file</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;/option&gt;'</span><span style="color: #007700">;<br />   }<br /></span><span style="color: #0000BB">?&gt;<br /></span>    &lt;/select&gt;<br />    &amp;nbsp;&amp;nbsp;&lt;input style="font-size:20px;" type="submit" name="submit" value="Vai"&gt;<br />    &amp;nbsp;&amp;nbsp;&lt;input style="font-size:20px;" type="button" onclick="location.reload();" value="Ricarica"&gt;<br />&lt;/form&gt;</span>
</code></code><hr />
</div>Basta copiarlo in una nuova pagina php, ad es, DebugErrorPHP.php. Quindi eseguire dal browser il file di debug.<br />
<br />
Nel caso si disponga di più applicativi web o siti nello stesso dmonio, ad esempio in sotto cartelle:<br />
Il file per il debug (DebugErrorPHP.php), è bene metterlo nella sotto cartella relativa all'applicativo web / sito che si vuole esaminare. Così da non avere in elenco tutti i fle di ogni applicativo web / sito presenti nel dominio.<br />
<br />
Cordaili saluti.</div>

]]></content:encoded>
			<category domain="https://forum.it.altervista.org/forumdisplay.php?f=17">PHP, MySql e Apache (.htaccess)</category>
			<dc:creator>GraphOGLRisorse</dc:creator>
			<guid isPermaLink="true">https://forum.it.altervista.org/showthread.php?t=295438</guid>
		</item>
	</channel>
</rss>
