snipt

Ctrl+h for KB shortcuts

ApacheConf

html as php .htaccess

# let html files act as php files
AddType application/x-httpd-php .php .htm .html
https://snipt.net/embed/698c37adef0ff16894027e9c95e194e5/
/raw/698c37adef0ff16894027e9c95e194e5/
698c37adef0ff16894027e9c95e194e5
apacheconf
ApacheConf
3
2019-07-15T22:36:43
True
False
False
/api/public/snipt/7754/
html-as-php-htaccess
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c"># let html files act as php files</span> </span><span id="L-2"><a name="L-2"></a><span class="nb">AddType</span> application/x-httpd-php .php .htm .html </span></pre></div> </td></tr></table>
htaccess