J
J
Jedi2017-09-16 11:05:07
Apache HTTP Server
Jedi, 2017-09-16 11:05:07

How to specify the main folder of the site on the hosting using .htaccess?

Hello, how can I set the public folder located in /public_html/public as the main folder on the hosting using .htaccess ? My hosting ehost, which is supposedly the most fancy, does not support this feature. What dances with tambourines do you know?
thank.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Decadal, 2017-09-16
@Decadal

You cannot change the DocumentRoot with htaccess. You can do an explicit redirect .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question