Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Access][PHP]AddType text/x-httpd-php, mały problem.
refresh
post 1.12.2010, 20:31:25
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 15.07.2010

Ostrzeżenie: (0%)
-----


Witam.
Zainstalowałem sobie skrypt hostingu A.F.H.S , wszystko ładnie skonfigurowane, lecz po wejściu na stronę :
rally24.pl
wyskakuje okno, które chce otworzyc plik application/x-httpd-php.
Proszę o pomoc, co jest nie halo.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
Mephistofeles
post 1.12.2010, 22:12:27
Post #2





Grupa: Zarejestrowani
Postów: 1 182
Pomógł: 115
Dołączył: 4.03.2009
Skąd: Myszków

Ostrzeżenie: (0%)
-----


Serwer ma włączoną obsługę PHP? Ten skrypt się w ogóle nie wykonuje. Plik masz z rozszerzeniem .php? Ja tam widzę index.html, a index.php wywala 404.
Go to the top of the page
+Quote Post
refresh
post 19.12.2010, 21:01:28
Post #3





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 15.07.2010

Ostrzeżenie: (0%)
-----


tak ma obsługe php, jest włączona, plik jest w .html , dodam tylko zw na localhoscie pod webserv 2.0 smiga
dodam moj htaccess

AddType application/x-httpd-php .html
RewriteEngine on
RewriteRule ^showfile-(.*)/(.*)$ view-file.html?file=$1 [QSA]
RewriteRule ^getfile-(.*).(.*)$ download-original.html?file=$1 [QSA]

Ten post edytował refresh 19.12.2010, 21:04:29
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 21:05