Re: Virtual Hosting: One website doesn't work.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



get rid of wordpress and anything else, install a temp placeholder index.html file, get it working with basics before expanding, if that works, then your problem is wordpress and you should take it up with their lists/forums/newsgroups

 

On 04/01/2015 12:35, ghalvors78@xxxxxxxxxxxx wrote:

On January 3, 2015 at 9:09 PM, "Stormy" <stormy22@xxxxxxxxx> wrote:
At 08:40 PM 1/3/2015 -0500, ghalvors78@xxxxxxxxxxxx wrote: [snip]
I'm not sure why these two behave differently (www.example.com vs example.com) I always thought the extra four letters were
something that
Apache knew how to deal with. It's hard to guarantee that the
user will
user type or omit the 'www.' What should be done about this?
ServerAlias ?
It was undefined.  I thought I would implement it according to online documentation.  I retyped an equivalent excerpt from my sites-available directory.

ServerName www.example.com
ServerAlias example.com
DocumentRoot /var/www/example.com/ht-docs/

When I perform the telnet 80 test, I get a "501 Not Implemented", but the wget command pulls the index.html correctly.  I never trust a web browser when diagnosing a web page because they like to cache web files.  I used telnet to simulate a web browser request, as explained in a blog, but it is apparently wrong...

This is the offending article I used, by the way.

http://www.the-art-of-web.com/system/telnet-http11/
Best -- Paul ------------------------------------------------------------------- -- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux