authentication:
Edit the. htaccess file (this is a hidden file), which is used to create an authentication file:
Add several lines of commands:
Verify the location of the user file, the basic authentication method, the prompt, and the setting that only a valid account can access
Save and exit after editing;
Add a web login user:
User user1 added;
If you add another user, do not add the parameter-c ,:
If-c is added, user1 will be squeezed out,
Set the access verification for the Site Directory after we have entered this page will need to enter a verification password to be able to, below I introduce Nginx configuration directory Access Verification Code method summary.1. Create a class htpasswd file Perform:
The code is as follows
Copy Code
Wget-c Soft.vpser.net/lnm
Because of the company's business is more, deployed more sites. For the safe operation of the website, in case of failure to be able to know the first time, deliberately write the following monitoring script, the site Access status and time-out monitoring: When the code status of 5xx or access time-out is greater than 10s alarm. The script script is as follows:[[
The following test is to use iis6.1 do, originally also want to iis5 to do a come out, did a long time or did not do well
1. Create a certificate
The certificate is the basic SSL site, if it is actually used, you need to apply for a formal certificate, but here is only testing, you can create your own certificate in the ISS. Create a certificate in the following ways:
2. The certificate has been built, and this time it is necessary to bind the typ
Apache default in the current directory without index.html portal will show the site root directory, so that the site directory files are exposed, is a very dangerous thing, such as: Database Password disclosure, hidden page exposure and other serious security issues!For example, accessing the root directory of the meter topology: Https://mimvp.com will list the root directoryThis article describes in detai
About Firefox web site access to native IIS deployments this address uses a port that is typically used for purposes other than network browsing. Firefox canceled the request for security reasons (Error follows):Here's how to fix it:1, open the Firefox browser, the address rotten input "About:config"2. Then right-click under "Preference Name", select "New" "string", enter "Network.security.ports.banned.over
Google Chrome browser 12306 Web site can not buy train tickets what to do? We know that the new Chrome browser improved security, after entering the 12306 Railway train ticket official website, click on the new version of the online purchase train tickets can not be accessed, even registered users can not access. This article shares a quick and easy way to solve the problem that train tickets cannot be book
How to use Jinshan poison bully to prohibit access to the specified Web site? Jinshan Poison PA Prohibit access to the specified Web site features can be implemented by advertising filtering this function. If you want to prevent all (or specified) browsers from accessing the specified Web
This is a big event today! I hope that a long-lasting problem can finally be solved! In the past, when a full-site search for an enterprise website was required, if it was SQL Server, it would use a temporary table to fill the product table and news into a temporary table and then search from the temporary table, if it is access, there is no way, because a lot of information says that
example, our scientific Internet access is to use the forward proxy, in order to achieve the purpose of indirect access to the site, and reverse proxy on the server side, no active link , when we visit a Web site that has a reverse proxy, we actually access its reverse prox
Test.host.comWith the above steps, you can use test.host.com to access the local server. But only to do these meager jobs, the server will not know the difference between localhost and test.host.com. Therefore, it is also necessary to configure the virtual host for Apache to assign different processing paths for different domain name requests.2. In the httpd.conf file (C:\wamp64\bin\apache\apache2.4.17\conf), addNamevirtualhost *: "c:/users/ Ad
default is 443, can not modify
SSL Certificate Select the newly created self-signed certificate and click "OK".
Run the "Default.aspx" page in IIS with the following effect
Click "Continue to browse this website", successfully display the content, HTTPS configuration success!!
Click "Certificate Error" on the browser prompt and "View Certificate".
The value issued to this item is: "Porschev.adserv.com"
!!
Click "Certificate Error" on the browser prompt and "View Certificate".
The value issued to this item is: "Porschev.adserv.com"
Access to some websites can also beaccessed via url:https://porschev.adserv.com:8000/
Trouble shooting
Use Https://porschev.adserv.com:8000/on other machines to access the sample
Test web site for high concurrency access pressureJMeter website Concurrency testApache JMeter is a Java-based stress testing tool developed by the Apache organization. For stress testing of software, it was originally designed for Web application testing but later extended to other test areas. It can be used to test static and dynamic resources such as static files, Java applets, CGI scripts, Java objects,
Through the WordPress background preferences to change the site URL address, the site will appear to be unable to access the situation, generally speaking, the site is not landing on the back, I found from the Internet four methods, the four methods of the first three are required to log in to the backstage, but in fac
paths:Order Allow,denyDeny from all
Example configuration:
The code is as follows
Copy Code
## Possible values for the Options directive is "None", "all",# or any combination of:# Indexes includes followsymlinks symlinksifownermatch execcgi multiviews## Note that "MultiViews" must is named *explicitly*---"Options all"# doesn ' t give it to you.## The Options directive is both complicated and important. Please see# http://httpd.apache.org/docs/2.2/mod/c
Access | data | database | statistics | site/*
Original: Tofu
Please keep this message when you reprint and use it.
*/
1. Database structure
/* Access to the Statistics History table, every visit to generate a record in this table * *
CREATE TABLE [Accessstat] (
[Autoid] [INT] IDENTITY (1, 1) not NULL,
[UserID] [varchar] (5) NULL,
[Visittime] [DateTime] Null
[IPA
Today around 9 o'clock in the morning, the mobile app received an email alert, opened a look, prompting an IP site access exception,Try SSH connection and find it very slow. Unable to connect properly. Can be connected normally after a while, but the delay is very high, basically unable to operate.Change SSH mode, through the same intranet other machines SSH login, found normal. PS: In fact, it should be po
Want to get access to the site's source URL, access to this site through a short link to the microblog, as well as Nginx jump, using Http_referer is able to obtain a portion of the source of access, but there are many sources of access can not be accurately obtained, what is
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.