Apache Alias

Discussion in 'General' started by TheJackal, Jul 20, 2006.

  1. TheJackal

    TheJackal New Member

    I have a domain xxx.mydomain.com and have added a diretory underneath called forums. I have added a Aliais directive under Site:ISP Site in Apache Directives
    (Optional):

    Alias /forums/ xxx.mydomain.com/forum

    But this does not seem to be working. Normally I would add this to the httpd.conf.

    Is this the correct way of adding Alias to site? I searched forums, read documentation and tested for awhile with no luck.

    What is the proper way of handling this? I did read it is not recommended to have "Site:ISP Site in Apache Directives
    (Optional):" turned on for customers so what is the recommended way?

    Thanks in advance,

    Bob
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's in Vhosts_ispconfig.conf for that web site?

    Why don't you just put your forum in the directory "forum" if you want to access it by www.example.com/forum ?
     
  3. TheRudy

    TheRudy Member

    I think he wants either both to work /forums and /forum or he's moving it from /forums to /forum :)

    Use .htaccess to do the redirection if that's what you want..
     
  4. falko

    falko Super Moderator Howtoforge Staff

Share This Page