Regular expression i htaccess regex, PCRE, POSIX, upotreba Apache .htaccess , mod_rewrite |
![]() |
|
Alati teme | Način prikaza |
|
![]() |
#1 |
profesionalac
Professional
Datum učlanjenja: 22.06.2005
Poruke: 279
Hvala: 14
30 "Hvala" u 19 poruka
![]() |
![]() Hteo bih da sve posetioce koji dodju sa www.sajt.co.yu "prebacim" na www.sajt.com, pokusao sam sa sledecim :
RewriteEngine on RewriteBase http://www.sajt.com RewriteRule ^www/(.*)$ http://sajt.co.yu [L] Al mi javlja Server Error 500, help anyone ? ![]() |
![]() |
![]() |
![]() |
#2 | |
Boban Karišik
Expert
|
![]() Citat:
errorDocument 500 www.sajt.com ![]() |
|
![]() |
![]() |
![]() |
#3 |
Ivan Dilber
Sir Write-a-Lot
|
![]() RewriteRule se ne odnosi na ime hosta, nego samo na putanju do fajla, pa ne mozes da radis rewrite na ^www, a sem toga ovo sto hoces zahteva spoljni redirect, i to 301...
Kompletno resenje imas na ovom threadu: http://www.devprotalk.com/t805-pitan...eban-rule.html
__________________
Leadership is the art of getting people to want to do what you know must be done. |
![]() |
![]() |
![]() |
#4 | |
Boban Karišik
Expert
|
![]() Citat:
|
|
![]() |
![]() |
![]() |
#5 |
Knowledge base
Wrote a book
|
![]() Bravo majstoru!
![]() |
![]() |
![]() |
![]() |
#6 |
Designer guy
Wrote a book
|
![]() Off Topic: Pazi samo da ne napraviš redirekciju sa tvog sajta na dnevnikeklektika.com ![]() |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
Redirekcija sa phpBB na IPB | ljtruba | Regular expression i htaccess | 4 | 26. 12. 2010. 14:38 |
DDoS redirekcija? | LiquidBrain | Web Hosting, web serveri i operativni sistemi | 9 | 06. 08. 2008. 11:43 |
Redirekcija .htaccess u zavisnosti od UserAgent stringa | bokacbl | Web Hosting, web serveri i operativni sistemi | 4 | 16. 11. 2007. 18:07 |
Redirekcija alias-a preko .htaccess-a | Misko | Regular expression i htaccess | 11 | 28. 10. 2007. 01:01 |
redirekcija i SEO | SqlByte | Marketing i SEO | 5 | 22. 01. 2007. 02:53 |