Find the answer to your Linux question:
Results 1 to 2 of 2
I am using apache2 and it comes with a default virtual host. Everytime you enter domainname.com, you will be redirected to domainname.com/apache_default. How can I have domain.com entered and redirected ...
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    19

    Domain name problem

    I am using apache2 and it comes with a default virtual host. Everytime you enter domainname.com, you will be redirected to domainname.com/apache_default.

    How can I have domain.com entered and redirected to domain.com without apache_default?

    Thanks for your attention.


    ----------------------
    just find out putting a # in front of the RedirectMatch directive does the job

  2. #2
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    218
    Lazyjimmy the vhost file is a templet. Edit the file and save it with the name of the domain.com that you are adding.

Posting Permissions

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