Need help with MVC thingy

Website URL

Error Message

At the moment I haven’t had any issues with hosting my site though I am upgrading my site pretty soon to an MVC system.Can I create folders and files outside the HTDOCS folder?

You cannot, however you can upload the content of an MVP application then create a .htaccess file inside the htdocs folder and put this in it (this one if for Laravel):

<IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteRule ^(.*)$ public/$1 [L]

I have not used Laravel.Is there anything else I can do?

The solution I provided can work for most of MVP applications, you need to modify what I provided a little depending on what the application’s root is named (e.g laravel uses public as root directory)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.