<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>angular &#8211; SMsoft &#8211; informatica e dintorni</title>
	<atom:link href="https://blog.smsoft.it/tag/angular/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.smsoft.it</link>
	<description>consigli settimanali su MacOS, GNU/Linux ed Open Source</description>
	<lastBuildDate>Wed, 10 Jul 2024 07:05:48 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=77393</generator>
	<item>
		<title>Angular: codice di rewrite per Apache</title>
		<link>https://blog.smsoft.it/2024/07/16/angular-codice-di-rewrite-per-apache/</link>
					<comments>https://blog.smsoft.it/2024/07/16/angular-codice-di-rewrite-per-apache/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 16 Jul 2024 08:30:00 +0000</pubDate>
				<category><![CDATA[Html e PHP]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[angular]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[rewrite]]></category>
		<guid isPermaLink="false">https://blog.smsoft.it/?p=6376</guid>

					<description><![CDATA[Le applicazioni scritte in angular hanno l&#8217;entry point nel file index.html che poi gestisce anche il routing per le pagine interne. Dopo un po&#8217; di prove, questo il codice di rewrite che meglio funziona per gestire il redirect su Apache: enjoy!]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Le applicazioni scritte in angular hanno l&#8217;entry point nel file index.html che poi gestisce anche il routing per le pagine interne. Dopo un po&#8217; di prove, questo il codice di rewrite che meglio funziona per gestire il redirect su Apache:</p>



<pre class="wp-block-code"><code>      DirectoryIndex index.html
      ErrorDocument 404 /index.html
      RewriteEngine On
      RewriteBase /
      RewriteRule ^index\.html$ - &#91;L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /index.html &#91;L,R=301]</code></pre>



<p class="wp-block-paragraph">enjoy!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.smsoft.it/2024/07/16/angular-codice-di-rewrite-per-apache/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
