Home > front end >  How to set up the virtual host?
How to set up the virtual host?

Time:09-29



The directory structure



My apache2 set (on debian, not the centos).

Sudo cat/etc/apache2/sites - enabled/mydoc. Conf
DocumentRoot/var/WWW/HTML/mydoc/build/HTML

The Options FollowSymLinks
AllowOverride All
Order to allow a deny
Allow the from all



I demand:
1. Not to change any thing from mydoc folder
2. Input 127.0.0.1/mydoc can show/var/WWW/HTML/mydoc/build/HTML/index. The HTML.

The current Settings, input 127.0.0.1/mydoc, error, can't find things

CodePudding user response:

Website home directory, you can use the mydoc, then enable the. Htaccess file do jump
  • Related