mmmm bacon bitten kitten
TJ! I need htaccess advice, what url's are needed for front page? jelly? Weebl's let me know mine isn't allowing access. sniff* my fp is gone
( ,
Sat 16 Aug 2003, 13:56,
archived)
TJ! I need htaccess advice, what url's are needed for front page? jelly? Weebl's let me know mine isn't allowing access. sniff* my fp is gone
Don't use specifics..
Alter this to suit :)
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.stuffinmyhead\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.b3ta\.com/.*$
RewriteCond %{HTTP_REFERER} !^b3ta\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.flibz\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.by-users\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.byusers\.com/.*$
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]|.*[Pp][Nn][Gg]$ -[F]
( ,
Sat 16 Aug 2003, 14:00,
archived)
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.stuffinmyhead\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.b3ta\.com/.*$
RewriteCond %{HTTP_REFERER} !^b3ta\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.flibz\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.by-users\.com/.*$
RewriteCond %{HTTP_REFERER} !^http://[^.]*\.byusers\.com/.*$
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]|.*[Pp][Nn][Gg]$ -[F]
Do you know how to change/pass vars
like the one on top of b3ta, or use mod_redirect thinggy? Im on a normal webserver.
( ,
Sat 16 Aug 2003, 14:10,
archived)
Only know how to do it with PHP
If PHP's enabled on your server it's not difficult.
If you're not sure, try sticking this in between the <BODY> </BODY> tags like so:
<BODY>
<?php phpinfo(); ?>
</BODY>
Save the page as test.php or something, then upload it and see what happens when you go to the page in the browser
( ,
Sat 16 Aug 2003, 14:17,
archived)
If you're not sure, try sticking this in between the <BODY> </BODY> tags like so:
<BODY>
<?php phpinfo(); ?>
</BODY>
Save the page as test.php or something, then upload it and see what happens when you go to the page in the browser
I'm not using a script this time around.
new server has a controll panel. and I'm shite at code, you mean specifics being http:// and www?
I think I'll just turn it off for now.
( ,
Sat 16 Aug 2003, 14:12,
archived)
I think I'll just turn it off for now.
Nope :)
By specifics, I meant using abc.y.com , cde.y.com etc - use wildcards as above ;) that way it works for anything.y.com :)
All you need to do is save that text in a file called .htacecss and upload it to the folder you want it to apply to :) No actual scripting involved
( ,
Sat 16 Aug 2003, 14:19,
archived)
All you need to do is save that text in a file called .htacecss and upload it to the folder you want it to apply to :) No actual scripting involved