Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP] htaccess zgodność
-Matiki-
post
Post #1





Goście







Witam,

nie będę pisał długo (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

co trzeba poprawić w regule:

RewriteCond %{HTTP_HOST} ^[^www.][^s[0-9]+].*$ [NC]
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R,L]

by przenosiła na

http://www.damianaip.xt.pl

z

http://www.damianaip.xt.pl

kod do poprawy jest podkreślony... (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

// Na przyszłość nie pisz wielkimi literami.
// ~webdicepl
Go to the top of the page
+Quote Post
-Matiki-
post
Post #2





Goście







RewriteCond %{HTTP_HOST} ^[^www.][^s[0-9]+%
Go to the top of the page
+Quote Post
webdice
post
Post #3


Developer


Grupa: Moderatorzy
Postów: 3 045
Pomógł: 290
Dołączył: 20.01.2007




Co Ty chcesz zrobić? Zmienić adres na taki sam? (IMG:http://forum.php.pl/style_emoticons/default/worriedsmiley.gif)
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 25.08.2025 - 01:19