Discover what is virtual directory, include the articles, news, trends, analysis and practical advice about what is virtual directory on alibabacloud.com
First step: Modify Xampp\apache\conf\httpd.confFound itallowoverride NoneRequire all deniedModified to:# allowoverride None# Require all deniedOrder Allow,denyAllow from allStep Two: Modify Xampp\apache\conf\extra\httpd-vhosts.confLast Face
A virtual server can have a host directory and any number of other publishing directories. Other publishing directories are called virtual directories.
IIS installed on the computer
Method/step in the "Inetpub" folder in C, there is a "wwwroot"
experimental Environment: RHEL6 as server, host or another win system for the access terminalExperimental Purpose: To achieve multi-channel Web AccessExperimental Requirements: Server IP address: 192.168.100.10 IP Address: 192.168.100.25 (as long as
String Server.MapPath (String path)
Returns the physical file path corresponding to the specified virtual path on the Web server.
Server.MapPath (request.servervariables["Path_info"])
Server.MapPath ("/")
Server.MapPath ("")
Server.MapPath
1, modify the XML code in%tomcat_home%/conf/server.xml, add the Red section (Configure virtual directory)
Unpackwars= "true" autodeploy= "true"
Xmlvalidation= "false" Xmlnamespaceaware= "false" >
Notice the red part, the path inside is Tang and
In the Tcomcat directory, the default configuration is to place the Web application in the WebApps directory. The default configuration. WebApps is like the root directory of a site. But If the site is a lot. If you put more, you will feel confused.
XAMPP is an environment (PHP+APACHE+MYSQL) software that can quickly create web sites, if there are many projects, Using 127.0.0.1 or localhost access is cumbersome and not easy to remember, you can use the domain name virtual directory to achieve
'---------------------------------------------------------------------------------------------------
' Create virtual directory power by JARON, Jiangdu Information Network, 1999-2002.
' If you need to set permissions, modify the code for 40-56. * *
Create | virtual directory Function criadiretoriovirtual (ByVal vdirname As String, ByVal ServerID as String, ByVal Vdirpath as String, ByVal Criaapplication as Boolean) as DirectoryEntry
Dim NewVDir as DirectoryEntry
Dim Root as DirectoryEntry
Configuration method:
Tomcat 5.5/server.xml file, adding between :
Workaround:
The following is the Tomcat 5.5/conf/web.xml file content: (You look for it, as if it were this directory)listingsfalsethe default value of is False, modified to
This article provides a very brief overview of how to install apache2.2.x and configure virtual directories under the Windows platform. As a reference for quick installation. The best documentation for the detailed setup is the official
Configuration Error
Description:An error occurred while processing the configuration file required to provide services to the request. Please check the specific error details below and modify the configuration file appropriately.
Parser Error
1, under the Tomcat6 root directory, under the Conf folder, create a new folder Catalina, and then Catalina the folder below localhost and create an XML file under localhost, such as: Prais.xml ( It is best to have the same name as a virtual
Linux Apache virtual directory settings
Open the/etc/httpd/conf/httpd.conf file, find , and add the following code after :
#虚拟目录节点
code is as follows
copy code
#设置欢迎界面 directoryindex index.php index.html
Cookies have three properties to note:
. Domain domains
. Path paths
. Expires Expiration Time
Domain properties need to be set for cross-domain operations:
Response.Cookies ("MyCookie"). Domain = "Jb51.net"; (this refers to the generic domain name)
Problem: Configuring apache,httpd.conf
Add Virtual directory
alias/sww/"c:/xampp/htdocs/test/"
Restricted permission access appears,
Access forbidden!
You don ' t have permission to access the requested object. It is either read-protected or does
Add the following class, Setbasedirectory is the set virtual directory
@AutoConfigureOrder (ordered.highest_precedence)
@Configuration
@ConditionalOnWebApplication
Public Class Embeddedservletcontainerautoconfiguration {
@Configuration
The principle of asp.net web programmingIIS schema and HTTP request processing process (1)******************************************************************Description"ASP.net Web programming principles," including a series of articles, derived from
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.