T
T
TagerW2014-01-08 21:36:33
PHP
TagerW, 2014-01-08 21:36:33

How to make the /public folder the root folder of the server?

I am using indira-cms.
The manual says
It is also necessary to make the /public folder the root folder of your HTTP server, example (Apache):

<VirtualHost *:80>
DocumentRoot /Users/JonSnow/Sites/MySite/public
ServerName mysite.dev
</VirtualHost>

Structure:
c9c65257b3f8.png
.htaccess:
04ace9195219.png
//Hosting: hosting...

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrew, 2014-01-08
@kaasius

There is an opinion that the public folder is already the root folder of the web server.

M
max_rip, 2014-01-08
@max_rip

You need to look at the domain settings in the panel, maybe you have a similar function, if not, contact support should help.
As a last resort, you can move all the contents of public_html to the top, and rename public to public_html, but I'm afraid this may break the cms

T
TagerW, 2014-01-08
@TagerW

If everything was normal, this would not be:
98db33093618.png

A
antimind, 2014-01-10
@antimind

There may be a solution to your problem here: forums.laravel.io/viewtopic.php?id=1258

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question