Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 11th, 2001, 08:42 PM
robotnix robotnix is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: aaaaaa
Posts: 26 robotnix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 12 sec
Reputation Power: 0
www.abc.com and abc.com ? how to ?

Hi ppl,

I have my linux web server and I have a virtual host,
################################################################################
<VirtualHost 1.2.3.4>
ServerName www.abc.com
ServerAlias abc.com
ServerAdmin webadmin@abc.com DocumentRoot /home/user/public_html/abc ErrorLog /var/log/abc_error.log
CustomLog /var/log/abc_access.log combined
ScriptAlias /cgi-bin/ "/home/user/public_html/cgi-bin/"
</VirtualHost>
################################################################################

If I type www.abc.com it'll take me to my site, but if I type http://abc.com then nothing happens... how can I do so that if someone types http://abc.com, it takes him to http://www.abc.com ? isn't that the serveralias directive ??

help please.
I greately appreciate it.

Reply With Quote
  #2  
Old September 12th, 2001, 02:30 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You can't invent any ServerAlias you want. abc.com itself MUST be resolved to 1.2.3.4 and DNS lookup'able.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > www.abc.com and abc.com ? how to ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway