GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   mod_rehahahahaha gurus click here! (https://gfy.com/showthread.php?t=290109)

Jinx_Co 05-10-2004 10:16 PM

mod_rehahahahaha gurus click here!
 
I'm trying to configure apache where it will force the following:

http://domain.com -> http://www.domain.com

AND

https://domain.com -> https://www.domain.com

I can't seem to figure out how to set BOTH rules without having them overlap each other and one not work correctly. Does anyone know how to accomplish this?

AnnihilaT 05-10-2004 10:59 PM

why bother with mod_rewr_te for that? just define aliases in your httpd conf like so

ServerName 10.0.0.1
ServerAlias domain.com
ServerAlias www.domain.com

Jinx_Co 05-10-2004 11:24 PM

That removes the purpose of what I'm trying to do. What's I'm trying to do is force apache to do the following:

http://domain.com -> http://www.domain.com

AND

https://domain.com -> https://www.domain.com

I already have aliases setup, but that doesn't really have much to do with what I'm trying to accomplish here.

Jinx_Co 05-10-2004 11:31 PM

Basically this is an experiment for search engines that I'm trying if that helps anyone to understand why I'm attempting this.

Jinx_Co 05-11-2004 02:32 PM

bump for the daytime people


All times are GMT -7. The time now is 07:08 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123