Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML]mod rewrite - przekierowanie na inny serwer
kidler
post 8.09.2008, 19:03:59
Post #1





Grupa: Zarejestrowani
Postów: 65
Pomógł: 0
Dołączył: 9.09.2006

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


Witam. mam takie pytanko. Czy można mod rewrite w pliku htaccess wykorzystać do tego że: jak ktoś wejdzie na http://mojastr.pl/katalog/plik.jpg to żeby mu się wyświetlił http://123456.pl/katalog/plik.JPG . Wiem że jak jest an tym samym serwerze to że się tak da.. a jak na dwóch? bo mam taki kodzik i on nie działa:
Kod
RewriteEngine on

RewriteRule ^upload/(.*).JPG http://123456.pl/katalog/$1.JPG


wywala
Kod
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, @in5.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Ten post edytował kidler 8.09.2008, 19:04:46
Go to the top of the page
+Quote Post

Posty w temacie


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: 14.08.2025 - 09:16