Results 1 to 4 of 4

Thread: virtual host directive help please!

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    39

    Default virtual host directive help please!

    Can someone please show me how to change the apache timeout for a single site?

    I've researched this quite a bit and it looks like a virtual host directive may be the way to go but the documentation I can find on the web is not clear to me.

    Can I just change a single setting, such as apache timeout, or must I supply a full configuration?

    Maybe there is a better way to change the apache timeout for a single site?

    Any help is greatly appreciated.

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    217

    Default

    You have to give us more detail for example

    if you are looking for keepalivetimeout configuration

    core - Apache HTTP Server

    you can take look at that section, but it would be nice if you can post more info about your server version and other detail
    Affordable Linux Server Managament Solution
    http://www.linuxnetworkcare.com/services/cpanel.php
    [ Phone: 647-722-5303 MSN : sutha@linuxnetworkcare.com AIM : xerophytev skype:ksutha5]

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    39

    Default

    I'm looking to change the timeout configuration as listed here:
    core - Apache HTTP Server

    Here is my server info:

    cPanel 11.25.0-R42404
    WHM 11.25.0 - X 3.9
    CENTOS 4.7 i686
    Apache 2.0.63

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,052

    Default

    You can set the Timeout directive in the VirtualHost of the domain and restart the httpd service. The VirtualHost will look something like

    <VirtualHost xx.xx.xx.xx:80>
    ServerName yourdomain.com
    ServerAlias www.yourdomain.com
    DocumentRoot /home/user/public_html
    ServerAdmin webmaster@yourdomain.com
    Timeout xxx
    .
    .
    .
    </VirtualHost>
    Don't forget to restart the httpd service once you edit the httpd.conf file.

Similar Threads

  1. Why doesn't my custom virtual directive includes appear in the httpd.conf?
    By robertnorris in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 04-25-2011, 05:17 PM
  2. How to create a virtual host
    By ajcady in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-16-2007, 09:25 AM
  3. Virtual host
    By pinehead in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-11-2007, 09:56 PM
  4. Creating a new virtual host
    By cacathcart in forum New User Questions
    Replies: 2
    Last Post: 10-25-2006, 07:33 AM
  5. Virtual Host
    By zaqizaba in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-20-2005, 11:18 AM