「 apache」 一覧
English 日本語 Abstract Hello everyone, It’s candle This time I’ll show you how to define environment variables for each virtualhost in apache 2.4 and use it in php For example, when you are developing with wordpress, you don’t want to put password or access key or anything else under the control of git. So, you can define it on apache and require it with getenv for use. Premise apache2.4 anything php project you have already built some kind of virtual host.
English 日本語 Abstract Hello everybody, It’s candle. This time I will show you how to divide directories by subdomain with mac easily. For example, it is useful when such situation. If you are developing some wordpress project with apache, there are URL like the following. http://localhost:8080/workspace/alice_blog/index.html http://localhost:8080/workspace/tom_service/index.html It is the long URL. If you choose this article way, http://alice.localhost:8080/index.html http://tom.localhost:8080/index.html you can make the above URL. Premise mac apache2.4 Sample project