LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2006, 07:52 PM   #1
mdcapt
LQ Newbie
 
Registered: Jul 2004
Location: Oklahoma
Distribution: Slack 10.0, Mepis, *ubuntu, Debian
Posts: 16

Rep: Reputation: 0
Multiple aliases in apache 1.3.33


**EDIT** Nevermind. I guess I should have gotten some sleep and thought about it before I posted. I just put a new virtualhost with the servername set to mail.example.net Thanks to anyone who was looking at this.
oops.


As you can tell, I don't post much, I can usually find the information I need either doing searches here or on google. This site has helped me out soooo much in my linux endeavors. Now for my question.

Let me start from the beginning. On my webserver, when someone types in example.net, it takes them to a directory listing. When they type in www.example.net, it takes them to the correct view. I set an alias in my virtualhost container, so either way they type it, it goes where it is supposed to. Is there a way to set that so it works by default without having to use an alias in the virtualhost container?

The reason I ask, is I want to set up another alias for mail.example.net to take them to the email login. I guess my question is Can I set a serverwide default for www to go to the main content and then have a single alias for mail*? Or do I set an alias for each in the virtualhost container and if so, could someone please help me with the details or at least set me down the right path for searching? Everything I have searched for so far talks about setting up AN alias which I know how to do, but nothing for multiple aliases.

Thank you in advance for your time. While I may not post much, I can guarantee you that the help that is given on this site is GREATLY appreciated by me, and I hope to be able to return the favor some day and help others the way I have been helped.

Last edited by mdcapt; 02-12-2006 at 08:56 AM.
 
Old 02-12-2006, 07:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hehe, put your edit at the top next time... saves everyone else reading it all and working out their response as they go! ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables, Multiple IP Aliases and Different Rules for each external ip genmud Linux - Networking 7 09-18-2005 02:07 AM
assigning multiple device aliases to single drive cerealdaemon Linux - General 5 07-25-2005 11:55 PM
Mail Aliases problems for multiple domains nemesisza Linux - Software 1 01-28-2004 08:37 PM
Apache and aliases nuzzy Linux - Software 6 08-05-2003 02:07 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration