Main Menu
Quick Links
Other Options
Information
NukeForums
Top10 Links
Site Visitors
Membership:
Latest: BooMBoM
Today: 0
Yesterday: 0
Overall: 14941
Visitation:
Guests: 641
Members: 0
Total: 641
You are Anonymous user. You can register for free by clicking here
Sponsor Links
NukeResources :: View topic - .htaccess
.htaccess
Posted: Fri Jul 13, 2007 11:48 pm
puma
Resource Seeker
Joined: Mar 04, 2005
Posts: 3
.htaccess file for change extension page .php to .html and dinamic signature.
Server setting: RewriteEngine On
Copy and paste this code in a file .txt save file name .htaccess upload to root.
FREE SCRIPT Rewrite Engine and forum:
http://www.nukebest.com/Downloads,op-getit,lid-23.html
Code: AddType text/html .htm
AddType text/x-server-parsed-html .shtml .sht .html
AddHandler server-parsed .shtml .sht .html
ErrorDocument 400 /errore/errore.php?400
ErrorDocument 401 /errore/errore.php?401
ErrorDocument 403 /errore/errore.php?403
ErrorDocument 404 /errore/errore.php?404
ErrorDocument 500 /errore/errore.php?500
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} ^HTTrack [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Siphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^.*$ http://www.pumaweb.it/stronzi.htm [L,R]
RewriteEngine on
RewriteRule ^(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /modules.php?name=$1&$2=$3&$4=$5&$6=$7&$8=$9 [L]
RewriteRule ^(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /modules.php?name=$1&$2=$3&$4=$5&$6=$7 [L]
RewriteRule ^(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /modules.php?name=$1&$2=$3&$4=$5 [L]
RewriteRule ^(.*)-(.*)-(.*)\.html$ /modules.php?name=$1&$2=$3 [L]
RewriteRule ^index.html$ /index.php [L]
RewriteRule ^(.*)\.html$ /modules.php?name=$1 [L]
RewriteRule ^signature.gif signature.php [L]
_________________
Re: .htaccess
Posted: Wed Dec 12, 2007 10:30 am
gregb49
Resource Seeker
Joined: Dec 12, 2007
Posts: 3
What if your server (in my case Yahoo) will not allow any file or folder names that have a dot in the name ie .htaccess? Greg
Posted: Wed Dec 12, 2007 11:18 am
Evaders99
Resource Master
Joined: May 25, 2004
Posts: 1785
Sorry then you can't use .htaccess commands. Get a new host.
Posted: Wed Dec 12, 2007 11:27 am
gregb49
Resource Seeker
Joined: Dec 12, 2007
Posts: 3
Evaders99 wrote: Sorry then you can't use .htaccess commands. Get a new host.
Thanks for the reply. While I agree with your sentiments, this is not an option as this work is being done for someone else. This seems to be a general problem with Yahoo - if enough people query this problem then maybe Yahoo will change their policy. Greg
NukeResources Forum Index -> Unix Commands
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All times are GMT - 4 Hours
Page 1 of 1
Powered by phpBB © 2001-2005 phpBB Group. Theme created by Vjacheslav Trushkin . There have been 163 unique hit(s) in the past 24 hours.
:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::