MLUG: [MLUG] Apache/Firefox problem
[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]
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