Results 1 to 4 of 4

Thread: Apache server Tricks

  1. #1
    Join Date
    Feb 2010
    Posts
    538

    Apache server Tricks

    Hi all,

    I have some tips about the Apache server that how to make apache listening on a specific port, how to limit http requests and many quarries;
    # You can modify the httpd.conf inside the Listen option, such as:
    Listen 8000
    But If you want to specify the listen port and listen address, you can use:
    Listen 192.170.2.1:80
    Listen 192.170.2.5:8000
    This makes apache also listening on port 80 on 192.170.2.1 and 192.170.2.5 port 8000
    Of course, can also be inside httpd.conf settings:
    Port 80
    You need to go to inside the httpd.conf settings:
    LimitRequestBody n
    n is an integer.
    cgi scripts in general to form inside the main body of the message content as submitted to the servers treatment so now the size of the message body when using the cgi useful such as the use cgi to upload files, if there are settings:
    Code:
    LimitRequestBody 102400
    Then upload more than 100k will get an error.

  2. #2
    Join Date
    Apr 2008
    Posts
    439

    Apache server Tips

    I will give u the tips that how to make Apache domain authentication on the client:

    # Inside in the httpd.conf settings:
    # HostnameLookups on | off | double

    If you are using on, then only to conduct a counter-investigation, if using double, then the post-anti-investigation should be second positive resolution, only two results with each other in line because as the off is the non-domain authentication. If the sake of safety, recommend the use of double; order to speed up access speed, we recommend the use of off

  3. #3
    Join Date
    Apr 2008
    Posts
    586

    Apache server Tips

    I have some tips about apache that how do I set the session in the apache Duration. The apache1.2 version of the above, you can set up inside the httpd.conf:
    Code:
    KeepAlive on
    Code:
    KeepAlive Timeout 15
    This would limit each session to maintain the session time is the use of 15 seconds can make a lot of requests to pass through the same tcp connection to send, save the network resources and system resources. Check and reply.

  4. #4
    Join Date
    Apr 2008
    Posts
    438

    Apache server Tips

    I will give you a suggestion for apache that how to make apache to only listen on specific ip. For this, you need to modify the httpd.conf, in which the use of
    Code:
    BindAddress 192.168.0.1
    This will make apache listen only to the outside of the 192.168.0.1 If you use the http request:
    Code:
    BindAddress *
    Apache listen on the show all network interfaces on the http request.Of course, a firewall can also be achieved. Try and reply.

Similar Threads

  1. Setup Apache Web Server and File Server on Windows
    By Rudra.J in forum Guides & Tutorials
    Replies: 1
    Last Post: 11-05-2011, 09:09 AM
  2. Apache web server with windows
    By Mishraji in forum Networking & Security
    Replies: 5
    Last Post: 10-11-2010, 02:37 AM
  3. How to install Apache server
    By Dodge in forum Windows Software
    Replies: 5
    Last Post: 14-10-2008, 02:46 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,041,407.39297 seconds with 17 queries