MLUG: RE: [MLUG] Apache/Firefox problem
RE: [MLUG] Apache/Firefox problem
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Check your main httpd.conf file, and verify that UseCanonicalName is set
to Off:

# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client.  When set "On", Apache will use the value of the
# ServerName directive.
#
UseCanonicalName Off

--Hardy  

> -----Original Message-----
> From: EMAIL:PROTECTED 
> [mailto:EMAIL:PROTECTED] On Behalf Of Mike Miller
> Sent: Thursday, July 05, 2007 3:33 PM
> To: MLUG membership
> Subject: [MLUG] Apache/Firefox problem
> 
> I have a bunch of names for one web server and all point to the same 
> directory:  genetsim.org, genetsim.com, genetsim.info, genetsim.net, 
> www.genetsim.org, www.genetsim.com, www.genetsim.info, 
> www.genetsim.net. 
> Most of them are just there because I own them and don't mind 
> pointing 
> them at the same page.
> 
> So the problem is this:  If I go to http://genetsim.org/ and 
> follow a link 
> to some file, it might change to 
> http://www.genetsim.org/file.  Is there 
> any way to stop it from adding the "www?"  Same thing happens 
> if I start 
> from http://genetsim.com/ - it can revert to 
> http://www.genetsim.org/. 
> I'm using Firefox, and I don't know if it's the browser or 
> the server that 
> is causing this problem.
> 
> This is what I have in Apache httpd.conf:
> 
> <VirtualHost *:80>
>          DocumentRoot /some/path/genetsim
>          ServerName genetsim.org
>          ServerAlias www.genetsim.org genetsim.com 
> genetsim.net genetsim.info www.genetsim.com www.genetsim.net 
> www.genetsim.info
> </VirtualHost>
> 
> It isn't a really big deal but it is a little annoying.  
> Maybe the trick 
> is to do it this way?....
> 
> <VirtualHost *:80>
>          DocumentRoot /some/path/genetsim
>          ServerName genetsim.org
> </VirtualHost>
> 
> <VirtualHost *:80>
>          DocumentRoot /some/path/genetsim
>          ServerName www.genetsim.org
>          ServerAlias genetsim.com genetsim.net genetsim.info 
> www.genetsim.com www.genetsim.net www.genetsim.info
> </VirtualHost>
> 
> Does that break anything?  I mostly want to use 
> http://genetsim.org/ and 
> have the others working in case someone tries them.
> 
> Best,
> 
> Mike
> 
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
> 

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members