Apache configuration virtual directory

List of recent updates

1. Install jdk in IBM's aix (updated on July 21)
2. Install jdk in Linux (CentOS) (updated on July 21)
3. Install weblogic in Linux (CentOS) (updated on July 22)
4. Install webLogic in Aix system (Updated on July 22) 5.
Create a weblogic domain in IBM physical machine aix (updated on July 23 )
6. Create a weblogic domain through VNC in linux (updated on July 23)
7. Install Oracle 10g under RedHat 5 in detail (July 23 ) 24 update) 8. Linux starts oracle instance (July 24 update) 9. Create oracle instance and network monitoring through VNC in linux (July 25 update) 10. The method of closing ip6 in linux (July 25 update) 11. Jconsole , jvisualvm tool introduction 12. Soupui calls webservies help document 13. Loadrunner calls Webservice interface test optimization14. Loadrunner script reads XMl files 15. Remote Aix system using Xmanager 16. Xmanager graphical remote to aix system 17. Package common jar files The method of becoming an osgi bundle18. Code inspection specification Checkstyle configuration19. Webloigc 11g configuration cluster help document20. Activemq cluster configuration document













21. Apache2.2+tomcat6 cluster configuration
22. Modify the computer name to cause the oracle instance to fail to start the solution
23. Import the configuration required by the virtual machine with the oracle installer
24. Set the title for the tomcat and weblogic startup windows
25. Tomcat configuration Download server
26. Enable virtual machine hyper-v function under win8

27. windows, linux, aix query which program the port number is occupied by

28. Recursively change directory permissions under linux

29. Apache configuration virtual directory

 

 

Edit the httpd.conf file

#Method 1: Configure the virtual host
<VirtualHost localhost>
  #ServerAdmin [email protected]
  DocumentRoot "D:/javascript/js_projects"
  #ServerName vvvv.com
  ErrorLog "D:/javascript/js_projects/error.log"

  <Directory "D:/javascript/js_projects">
     Options Indexes FollowSymLinks
     AllowOverride None
     Order allow,deny
     Allow from all
  </Directory>
</VirtualHost>

#==================== ========================= #Method
2: Configure the directory alias
Alias ​​/js_test/ "D:/javascript/js_projects/test/"
<Directory "D :/javascript/js_projects/test">
   Options Indexes MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
#========================================== 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326996256&siteId=291194637