Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everybody, I am using FC4 with httpd-2.0.54-10.3 I have one virtual host, sugar.example.com and the document root is /sugar and also some more virtual hosts are there, like test.example.com ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143

    Reg apache


    Hi everybody,

    I am using FC4 with httpd-2.0.54-10.3

    I have one virtual host, sugar.example.com and the document root is /sugar

    and also some more virtual hosts are there, like
    test.example.com and the document root is /home/test/www and so on...

    Here the problem is, while accessing all the domains, other than sugar.example.com, I am unable to aceess the sites.

    for Example,

    http://test.example.com/index.php

    This is the error message I am getting in the browser,

    Not Found
    The requested URL /index.php was not found on this server.

    These are the log messages.
    [client xx.xx.xx.xx] script '/sugar/index.php' not found or unable to stat
    [Fri Jun 23 14:13:05 2006] [error] [client xx.xx.xx.xx] File does not exist: /sugar/favicon.ico

    If I place the index.php under the /sugar directory, then I am able to access the index.php.

    The same thing is happening for all the domains.
    Now, I need to place the files under the /sugar directory only for all the domains.

    Please help me to solve this problem.

    Thanks Inadvance,
    Mummaneni.

  2. #2
    Just Joined!
    Join Date
    May 2006
    Posts
    31
    You need to set up <VirtualHost> directives for the other addresses.

  3. #3
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143
    Hi vlsimpson,

    Thanks for your reply.

    I have virtaul hosts for each and every domain.

    Thanks & Regards,
    Mummaneni.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •