I have a big problem. I work on an application in localhost with Lumen framework.
My work environment is on Wamp (Windows).
Lumen requires the root to be in the public
folder.
To do that, I have a configuration file like this :
NameVirtualHost name.local
<VirtualHost name.local>
DocumentRoot C:/wamp/www/name/public
ServerName name.local
</VirtualHost>
So, if I put the address name.local/
in my browser, I can reach to the index page.
Now, I need to put all my work in a FTP. And there, I have an exception error, which is normal because my root isn't the public
folder.
UPDATE : I have find the answer, please see it below.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…