SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Virtualhost

  1. #1
    SitePoint Member
    Join Date
    Apr 2004
    Location
    here
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Virtualhost

    hi everyone!

    here's my problem: I am configuring a virtual host, but apache don't use it..
    I am always redirected toward the default apache webpage.

    httpd.conf:

    <Virtualhost 192.168.40.6:80>
    #ServerName renard
    DocumentRoot /opt/rt3/share/html/
    DirectoryIndex index.html
    #AddDefaultCharset iso-8859-1
    AddDefaultCharset UTF-8
    RedirectMatch permanent (.*)/$ http://renard/index.html

    PerlModule Apache::Registry
    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
    SetHandler perl-script
    PerlHandler RT::Mason
    Options +ExecCGI
    PerlSendHeader On
    allow from all
    </Location>

    </Virtualhost>

    any ideas?

  2. #2
    FreeBSD The Power to Serve silver trophy pippo's Avatar
    Join Date
    Jul 2001
    Location
    Italy
    Posts
    4,514
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yuo should un comment:
    #ServerName renard
    also did you add

    NameVirtualHosts *

    it should be added before <VirtualHost...


    Mr Andrea
    Former Hosting Team Advisor
    Former Advisor of '03


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
  •