Skocz do zawartości
igorew

[.htaccess] problem z aktywacją PHP5

Polecane posty

witam wszystkich ,

 

posiadam konto na webd.pl i natrafiłem na dość spory problem , aktywowałem php5 poprzez

 

AddHandler x-httpd-php5 .php

AddHandler php5-cgi .php

AddHandler php-cgi2 .php

AddHandler php-fastcgi5 .php

AddType x-mapp-php5 .php

AddType application/x-httpd-php5 .php

Action php /cgi-php5/php

 

i teraz wszystkie pliki z rozszerzeniem php otwierają się w formie do pobrania, wyskakuję okienko dialogowę czy chę pobrać ten plik,

 

szczerze pierwszy raz spotykam się z tego typu reakcją , może już moje zmęczony oczy coś przeoczyły,

 

poproszę o pomoc w tej kwesti ,

 

pozdrawiam igor

 

a cały plik ht.acces ma się tak:

 

# -FrontPage-

 

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

 

<Limit GET POST>

order deny,allow

deny from all

allow from all

</Limit>

<Limit PUT DELETE>

order deny,allow

deny from all

</Limit>

AuthName viframe.webd.pl

AuthUserFile /home/domena moja/public_html/_vti_pvt/service.pwd

AuthGroupFile /home/domena moja/public_html/_vti_pvt/service.grp

 

#------ Made by: Igor Werner !------------

 

#------ Kodowanie stron !------------

AddDefaultCharset ISO-8859-2

AddDefaultCharset UTF-8

 

#------ Kolejność priorytetów otwierania stron !------------

DirectoryIndex index.html index.php

 

#------ Aktywacja Php5 !------------

AddHandler x-httpd-php5 .php

AddHandler php5-cgi .php

AddHandler php-cgi2 .php

AddHandler php-fastcgi5 .php

AddType x-mapp-php5 .php

AddType application/x-httpd-php5 .php

Action php /cgi-php5/php

 

#------ Blokowanie wszelkiego rodzaju szukaczy i robotów !------------

RewriteEngine on

 

#RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)

 

RewriteCond %{HTTP_USER_AGENT} ^arachnofilia* [OR]

RewriteCond %{HTTP_USER_AGENT} ^aspseek* [OR]

RewriteCond %{HTTP_USER_AGENT} ^bot* [OR]

RewriteCond %{HTTP_USER_AGENT} ^check* [OR]

RewriteCond %{HTTP_USER_AGENT} ^crawl* [OR]

#RewriteCond %{HTTP_USER_AGENT} ^google* [OR]

RewriteCond %{HTTP_USER_AGENT} ^infoseek* [OR]

RewriteCond %{HTTP_USER_AGENT} ^inktomi* [OR]

#RewriteCond %{HTTP_USER_AGENT} ^netoskop* [OR]

RewriteCond %{HTTP_USER_AGENT} ^NetSprint* [OR]

RewriteCond %{HTTP_USER_AGENT} ^openfind* [OR]

RewriteCond %{HTTP_USER_AGENT} ^roamer* [OR]

RewriteCond %{HTTP_USER_AGENT} ^robot* [OR]

RewriteCond %{HTTP_USER_AGENT} ^rover* [OR]

RewriteCond %{HTTP_USER_AGENT} ^scooter* [OR]

RewriteCond %{HTTP_USER_AGENT} ^search* [OR]

RewriteCond %{HTTP_USER_AGENT} ^siphon* [OR]

RewriteCond %{HTTP_USER_AGENT} ^slurp* [OR]

RewriteCond %{HTTP_USER_AGENT} ^spider* [OR]

RewriteCond %{HTTP_USER_AGENT} ^sweep* [OR]

#RewriteCond %{HTTP_USER_AGENT} ^szukaj* [OR]

RewriteCond %{HTTP_USER_AGENT} ^walker* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebStripper* [OR]

RewriteCond %{HTTP_USER_AGENT} ^wisenutbot* [OR]

RewriteCond %{HTTP_USER_AGENT} ^gulliver* [OR]

RewriteCond %{HTTP_USER_AGENT} ^validator* [OR]

RewriteCond %{HTTP_USER_AGENT} ^yandex* [OR]

RewriteCond %{HTTP_USER_AGENT} ^moget@* [OR]

RewriteCond %{HTTP_USER_AGENT} ^teomaagent* [OR]

RewriteCond %{HTTP_USER_AGENT} ^infoNavirobot* [OR]

RewriteCond %{HTTP_USER_AGENT} ^PPhpDig* [OR]

RewriteCond %{HTTP_USER_AGENT} ^gigabaz* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Webclipping.com* [OR]

RewriteCond %{HTTP_USER_AGENT} ^RRC* [OR]

RewriteCond %{HTTP_USER_AGENT} ^netmechanic* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Wget* [OR]

#RewriteCond %{HTTP_USER_AGENT} ^GetRight* [OR]

RewriteCond %{HTTP_USER_AGENT} ^BackWeb* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Bandit* [OR]

RewriteCond %{HTTP_USER_AGENT} ^BlackWidow* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Buddy* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Collector* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Copier* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Downloader* [OR]

RewriteCond %{HTTP_USER_AGENT} ^FileHound* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Grabber* [OR]

RewriteCond %{HTTP_USER_AGENT} ^HTTPClient* [OR]

RewriteCond %{HTTP_USER_AGENT} ^HTTrack* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mirror* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Offline* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Recorder* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Sauger* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Snagger* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Snake* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Stripper* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Sucker* [OR]

RewriteCond %{HTTP_USER_AGENT} ^SuperBot* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Surfbot* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Teleport* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebReaper* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebSpider* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebZIP* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Zyborg* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Pockey* [OR]

RewriteCond %{HTTP_USER_AGENT} ^QRVA* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebMiner* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebCopier* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Web\ Downloader* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebMirror* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Anarchie* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mass\ Down* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebStripper* [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebHook* [OR]

RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]

RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]

RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*NEWT [OR]

RewriteCond %{HTTP_USER_AGENT} ^Crescent [OR]

RewriteCond %{HTTP_USER_AGENT} ^CherryPicker [OR]

RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[bb]andit [OR]

RewriteCond %{HTTP_USER_AGENT} ^WebEMailExtrac.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^NICErsPRO [OR]

RewriteCond %{HTTP_USER_AGENT} ^Telesoft [OR]

RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [OR]

RewriteCond %{HTTP_USER_AGENT} ^Microsoft.URL [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mozilla/3.Mozilla/2.01 [OR]

RewriteCond %{HTTP_USER_AGENT} ^EmailCollector [OR]

 

 

RewriteCond %{HTTP_USER_AGENT} ^Szukacz/1.5.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Zyborg/1.0.*

RewriteRule ^.*$ http://www.nsa.gov [L]

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

DO zamknięcia , już naprawiłem to

 

Wywal tą kwestię z aktywowaniem php5. Na webd masz pewnie domyślnie php5 włączone.

 

Dzięki , rzeczywiście nie potrzebnie kręciłem ; p

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Zaloguj się, aby skomentować

Będziesz mógł dodać komentarz po zalogowaniu się



Zaloguj się

×