transferred from: http://blog.csdn.net/javaloveiphone/article/details/7828894directory structure of source files and bytecode files for Javaweb projects1. The source file directory structure of the new project:|----MyProject|----. settings (folder)|-
SVN uses the hook file to update the file to the Web directory, prompting ' skipped/var/www/nginx/html '? Hurry,
Hook file Post-commit Code
Web=/var/www/nginx/html
SVN update $WEB--username ' Zhangsan '--password ' Lisi '
Reply to discussion
There are two ways of doing this:1. conf folder under the Tomcat directory, server.xml2. Add Web Deployment FilesIncrease under Conf/catalina/localhostDeploy file names casuallyThe contents of the file are as follows:Path is the virtual path applied
/: Web app with directory, all files in this directory can be accessed by client (jsp,html)/web-inf: Stores the various resources used by the application. The directory and its subdirectories are not accessible to clients, including Web.
1. Create a project directory in the Web directorymkdir./opt/wwwroot/Project Name2. Checking out project files with SVNSVN checkout svn://localhost:/project name3. Set up the SVN library hooks to implement synchronous
Description
Server operating system: CentOSServer ip:192.168.21.134SVN installation path:/USR/LOCAL/SVNSVN project path:/HOME/SVNSVN login account: OsyunweiSVN login Password: 123456Web site root directory:/home/webto achieve the purpose:
When any
Description
Recently in the window with a virtual machine installed an Ubuntu system, set up the PHP environment, in order to easily view the code under the window, so want to build an SVN, directly to the corresponding web directory code, and then
Installation#yum Install Subversion1. Create a version library# svnadmin Create/svn/project2. Configure the SVN service configuration file svnserver.conf fileAnon-access = Readauth-access = WritePassword-db = passwdNote that the first letter of the
First, Hook simple introductionto facilitate administrator control over the submission process, Subversion provides a hook mechanism. When a particular event occurs, the corresponding hook is called, and the hook is actually the equivalent of a
Description
Recently in the window with a virtual machine installed an Ubuntu system, set up the PHP environment, in order to easily view the code under the window, so want to build an SVN, directly to the corresponding web directory code, and then
1. Spring Persistence 2. Spring Core's ioc--Dependency Injection 3. Hibernate Query Language 4. Hibernate Entity Affinity Mapping (reprint) 5. Automatically generate hibernate mapping file and entity Class 6 with MyEclipse. STRUTS2 data validation
Extraterrestrial virtual Host read file vulnerability across directory, need certain conditions.The problem occurs in the following files, which do not have strict set execution permissions and that the current IIS users can successfully execute
cgi| Security | Security Vulnerabilities 26
Type: Attack type
Name: webwho.pl
Risk Rating: Medium
Description: If you have webwho.pl this CGI script in your Web executable directory, the intruder will be able to use it to read and write any files
cgi| Security | Security Vulnerabilities 51
Type: Attack type
Name: Search97.vts
Risk Rating: Medium
Description: This file will enable the intruder to read any files that the httpd user can read in your system.
Recommendation: Delete or remove
Note:Server operating system: CentOSServer IP address: 192.168.21.134SVN installation path:/usr/local/svnSVN project path:/home/svnSVN logon account: osyunweiSVN logon password 123456Root directory of the Web site:/home/webPurpose:When any changes
Involving procedures:
Microsoft Internet Information Server/index Server
Describe:
Shock security Discovery: New vulnerabilities allow viewing of any file on the Web server including ASP source
With:
IIS4.0 has an application mapping
The Site Directory file permissions settings are critical to the security of the site, the following simple description of the Site Directory file permissions of the basic settings.
We assume that the HTTP server is running the user and user group
System environment: Windows Server 2003
Web server: IIS
The first step: SVN server Installation
Because I am using a Windows Server, I have chosen the VISUALSVN server that is most convenient to configure. Download the VISUALSVN MSI installation
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.