![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jul 2003
Posts: 228
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2002
Location: GPS OFFLINE
Posts: 249
|
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
__________________
![]() Mmmm.......spam! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2003
Posts: 228
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |