View Single Post
Old 11-19-2006, 02:54 PM  
Fuckin Bill
Confirmed User
 
Join Date: Feb 2003
Posts: 1,020
I don't really have the time to sit down now and find the exact how-to type stuff, but basically anything you put into an .htaccess file can also be applied to the global apache httpd.conf file. Htaccess really is just a per-instance extension of the conf file.

You should be able to set up the exact same redirect code somewhere in the virtualhosts configuration section of your main config file. Then it would be effective on every single domain on the server.

Of course, doing it that way, you'd have to redirect them somewhere off that server, or you'd get an infinite loop.

I'll see if I can find the exact stuff sometime tonight or tomorrow.
Fuckin Bill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote