Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-02-01, 05:11 PM   #1
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
It can be done.

if you set the DocumentRoot in apache's main config to

/var/www

and your domains are in /var/www/domain.com

you can put in an .htaccess in /var/www and it will apply itself to the directories below.

If they are using normal apache chroot environments, then you probably need to ftp the .htaccess to the root of each directory -- unless you can edit the apache configs. Then you could add

Include /etc/blah/hotlinkhtaccess

in each virtual config.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-02-15, 02:52 PM   #2
ronnie
Wheither you think you can or you think you can't, Your right.
 
Join Date: Jun 2004
Location: midwest
Posts: 2,274
Send a message via ICQ to ronnie
As said above you should be able to upload it to your root and will work for everything below.

Also you can override any directory with another .htaccess file within the directory, if you need something done different in another place.

ronnie
ronnie is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:44 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc