<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to configure your web server&#x27;s document &#x2F; web root to the &#x2F;public&#x2F; directory]]></title><description><![CDATA[<p dir="auto">Upload all files from the /Application/ folder to your web server. Then you have to configure your web server’s document / web root to the /public/ directory. The index.php in this directory serves as the front controller for all HTTP requests entering the application.  Wrong: <a href="http://www.yoursite.com/public" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.yoursite.com/public</a>  Right: <a href="http://www.yoursite.com/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.yoursite.com/</a></p>
]]></description><link>https://community.secnto.com//topic/1976/how-to-configure-your-web-server-s-document-web-root-to-the-public-directory</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 23:22:56 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/1976.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jul 2020 11:45:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to configure your web server&#x27;s document &#x2F; web root to the &#x2F;public&#x2F; directory on Fri, 10 Jul 2020 11:47:04 GMT]]></title><description><![CDATA[<ol>
<li>Add a .htaccess file in root which contains -</li>
</ol>
<pre><code>RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</code></pre>
]]></description><link>https://community.secnto.com//post/5697</link><guid isPermaLink="true">https://community.secnto.com//post/5697</guid><dc:creator><![CDATA[cyberian]]></dc:creator><pubDate>Fri, 10 Jul 2020 11:47:04 GMT</pubDate></item><item><title><![CDATA[Reply to How to configure your web server&#x27;s document &#x2F; web root to the &#x2F;public&#x2F; directory on Fri, 10 Jul 2020 11:46:24 GMT]]></title><description><![CDATA[<pre><code>require __DIR__.'/bootstrap/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php';
</code></pre>
]]></description><link>https://community.secnto.com//post/5696</link><guid isPermaLink="true">https://community.secnto.com//post/5696</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Fri, 10 Jul 2020 11:46:24 GMT</pubDate></item></channel></rss>