mastercobra 1 Report post Posted January 27, 2010 Witam, mam katalog stron http://www.seodir.eu Niestety od dluzszego czasu obserwuje dziwne zjawisko, domena czasem przekierowuje na: http://parked.aftermarket.pl/?name=seodir.eu http://parked.aftermarket.pl/?name=www.seodir.eu moze ktos to wytlumaczyc ? Dodam ze lacze sie z Belgii, podeslalem paru osobom z Belgii i dla nich tez przekierowuje na: http://parked.aftermarket.pl/?name=seodir.eu a Polakom dziala normalnie... domena jest przekierowana na moje servery dns ns1.g0v.pl i ns2.g0v.pl ktore przekierowuja na moj server w Niemczech. Dodam ze jeszcze jedna domena zachowuje sie tak samo. Co robic ? Share this post Link to post Share on other sites
mastercobra 1 Report post Posted January 28, 2010 Nikt nie wie ? :/ Share this post Link to post Share on other sites
Grzesiek86 2 Report post Posted January 28, 2010 Nikt nie wie ? :/ Poniższe narzędzie powinno Ci pomóc zdiagnozować problem. http://network-tools.com/default.asp?prog=...;host=seodir.eu Share this post Link to post Share on other sites
mastercobra 1 Report post Posted January 28, 2010 Pierwszy raz uzywam takiego narzedzia, co mam uwazac za przekierowanie na niewlasciwy adres? Share this post Link to post Share on other sites
torrocus 1 Report post Posted January 30, 2010 Wchodząc na Twoją stronę następuje przekierowanie (HTTP 302 Found). Na Twoim miejscu zajrzałbym do pliku .htaccess i poszukał ciągu "R=302". Share this post Link to post Share on other sites
mastercobra 1 Report post Posted February 1, 2010 Nie mam nic z 302 w pliku .htaccess. Share this post Link to post Share on other sites
torrocus 1 Report post Posted February 1, 2010 Nie mam nic z 302 w pliku .htaccess. Przekierowanie 302 na pewno występuje. Widać to po nagłówkach HTTP. Możliwy jest jeden z trzech scenariuszy: - przekierowanie na serwerach dns [ns1.brechta.pl, ns2.brechta.pl], - przekierowanie w .htaccess [najlepiej podaj zawartość tego pliku], - przekierowanie w kodzie strony [np. w php coś w stylu header("Location: adres_strony", TRUE, 302)]. Poza tym zauważ, że jak się odwołujesz do niektórych plików bezpośrednio to nie ma przekierowania (np. robots.txt) Share this post Link to post Share on other sites
mastercobra 1 Report post Posted February 2, 2010 (edited) Serwery dns seodir.eu to ns1.g0v.pl i ns2.g0v.pl, brechta.pl to moja stara domena ktora jak widze jest zaparkowana na brechta.pl. Mozliwe ze cos jest w kodzie php strony, plik htaccess: http://www.seodir.eu/hta.txt <- u mnie nie dziala, przekierowuje na serwery aftermarket. text: ################################################# ## PHP Link Directory - Apache Server Settings ## ################################################# RewriteCond %{HTTP_HOST} ^seodir.eu RewriteRule (.*) http://www.seodir.eu/$1 [R=301,L] # Prevent .htaccess and .htpasswd files from being viewed by web clients <Files "^\.ht"> Order allow,deny Deny from all </Files> # Protect files <Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$"> Order deny,allow Deny from all </Files> # Protect directories <Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$"> Order deny,allow Deny from all </Files> # Disable directory browsing Options -Indexes # Follow symbolic links in this directory Options +FollowSymLinks # Override PHP settings that cannot be changed at runtime # (If your server supports PHP settings via htaccess you can comment following two lines off) # php_value register_globals 0 # php_value session.auto_start 0 # Customized error messages # ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" ) ErrorDocument 404 /index.php?httpstatus=404 # Set the default handler DirectoryIndex index.php # URL rewrite rules <IfModule mod_rewrite.c> RewriteEngine On #Make sure RewriteBase points to the directory where you installed phpLD. #Example: "/phpld" if your installation is in a "phpld" subdirectory. #RewriteBase / ##Latest Links Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^latest-links\.htm[l]?$ index.php?list=latest [QSA,NC,L] ##Top Hits Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^top-hits\.htm[l]?$ index.php?list=top [QSA,NC,L] ##Latest Articles Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^latest-articles\.htm[l]?$ index.php?list=latestarticles [QSA,NC,L] ##Details Link Page Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)detail/link-(.*)\.htm[l]?$ detail.php [QSA,NC] ##Article Page Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)articles/article-(.*)\.htm[l]?$ article.php [QSA,NC] ##Author Page Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)authors/author-(.*)\.htm[l]?$ author.php [QSA,NC] ##Owner Page Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)owner/owner-(.*)\.htm[l]?$ author.php [QSA,NC] ##Pagination Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)page-[0-9]+\.html$ index.php [QSA,NC,L] ##Pages redirect RewriteCond %{REQUEST_URI} !page-[0-9]+\.html?$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.+)\.html$ page.php?name=$1 [NC,QSA,L] ##Category redirect RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php [QSA,L] </IfModule> Edited February 2, 2010 by mastercobra Share this post Link to post Share on other sites
seomi 17 Report post Posted February 2, 2010 (edited) Hm, to IMHO nie ma nic wspołnego z 302 ani z php, raczej coś jest nie tak z ustawieniami serwerów dns. Zapytająć serwerów g0v.pl wszystko jest ok nslookup seodir.eu ns1.g0v.pl Name: seodir.eu Address: 84.16.230.249 nslookup www.seodir.eu ns1.g0v.pl Name: www.seodir.eu Address: 84.16.230.249 Ale mój lokalny serwer daje jako "non-authorative" answer rózne adresy IP na seodir.eu i www.seodir.eu - i dlatego wyświetla mi się na seodir.eu strony Aftermarket. nslookup seodir.eu Non-authoritative answer: Name: seodir.eu Address: 212.91.7.33 nslookup www.seodir.eu Non-authoritative answer: Name: www.seodir.eu Address: 84.16.230.249 Warto wiedzieć, że dig mi pokazuje ns1.brechta.pl i ns2.brechta.pl jako authorative (i to są faktyczne ustawione na dropped) - ale nie mam pojęcia dlaczego dig seodir.eu ; <<>> DiG 9.5.0-P2 <<>> seodir.eu ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16742 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;seodir.eu. IN A ;; ANSWER SECTION: seodir.eu. 1765 IN A 212.91.7.33 ;; AUTHORITY SECTION: seodir.eu. 12521 IN NS ns1.brechta.pl. seodir.eu. 12521 IN NS ns2.brechta.pl. Edited February 2, 2010 by seomi Share this post Link to post Share on other sites
mastercobra 1 Report post Posted February 2, 2010 Wiec co by nalezalo zrobic ? moze sa one gdzies ustawione w konfiguracji serwerow dns na moim serwerze ? Share this post Link to post Share on other sites