Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
utilise the virtualhost file in appache config.
Results 1 to 2 of 2

Thread: utilise the virtualhost file in appache config.

  1. #1

    utilise the virtualhost file in appache config.

    hi

    can anybody explain me how we can utilise the virtualhost file in appache config.

    your explanation makes me to put interest in appache webserver...


    thanks

    linuxguru

  2. #2

    configure Apache to server

    hi

    you can configure Apache to serve the correct content when accessing www. site1.com or www.another-site.com from the outside, and also when accessing the specific IP address 1x.1x.1x.1xx from the inside. Fortunately Apache allows you to specify multiple IP addresses in the <VirtualHost> statements to help you overcome this problem.

    Here is an example:



    NameVirtualHost 1x.1x.1x.1xx

    NameVirtualHost 1x.1x.xx.xx


    <VirtualHost 1x.1x.1x.1xx 1x.1x.xx.xx>

    DocumentRoot /www/server1

    ServerName www.site1.com

    ServerAlias domain, www.site1-1x.1x.1x.1xx.com

    </VirtualHost>


    I think this will really help you out .

    bye

    walk

Similar Threads

  1. How to revert my file modes of /etc file system
    By vesskrishna in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 10-26-2009, 05:24 AM
  2. PHP,MySql and Appache Configuration
    By rvbalraj in forum Redhat / Fedora
    Replies: 2
    Last Post: 03-01-2007, 05:04 AM
  3. File Manager File names in all caps?
    By vwgtiturbo in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-14-2006, 04:18 AM
  4. File permissions upon creating the file
    By cloverm in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-17-2004, 07:48 PM
  5. virtualhost not working right
    By diggler in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 04-25-2002, 03:10 AM

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
  •