Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2002
    Location
    San Luis Obispo, CA
    Posts
    818

    subdomain to url

    im wondering how to setup a sub domain to a url type thing. Do i need to make a virtualhost, or is there some kind of command to do it.

    like for example if i wanted to make http://forum.example.com go to http://www.example.com/forum

    im running redhat linux w/ apache 1.3.x

  2. #2
    Join Date
    Nov 2000
    Location
    Moran, Ks
    Posts
    186

    Re: subdomain to url

    you can do it with either Mod_Rewrite or the Redirect configuration directive. No need for a separate virutalHost, as long as you can ServerAlias the required hostnames into the current VirtualHost container for the domain.

    Originally posted by ntwaddel
    im wondering how to setup a sub domain to a url type thing. Do i need to make a virtualhost, or is there some kind of command to do it.

    like for example if i wanted to make http://forum.example.com go to http://www.example.com/forum

    im running redhat linux w/ apache 1.3.x

Posting Permissions

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