![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 28.11.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam. Mam następujący problem. Gdy przeglądam strony na moim komputerze na którym chodzi serwer apache wszystko działa. Gdy wpisuję adres 'http://jakasdomena.no-ip.org/lay/' też stronka się ładuje (ale jest to strona zawierająca tylko pliki HTML). Natomiast gdy wpisuje http://jakasdomena.no-ip.org to adres zostaje przepisany na http://localhost i umnei na komputerze działa. Natomiast gdy wejdę z innego komputera o innym ip (np. iplus) to /lay/ i stronka w html działa ładnie i pięknie. A gdy wejdę w główną stronę gdzie jest skrypt postawiony, to adres przepisuje się sam na 'http://localhost.com i mam białą, pustą stronę.
W czym problem? korzystam z WebServ. Ustawiłem ServerName na http://jakasdomena.no-ip.org/:80 i tak to nic nie dało. Posiadam publiczny adres bo stronka w html działa. 404 też się wyświetlają. listują się teżkatalogi. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 125 Pomógł: 13 Dołączył: 7.07.2009 Skąd: Warsaw Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 28.11.2009 Ostrzeżenie: (0%) ![]() ![]() |
a nie to tak podałem.
domena to http://seokat.ath.cx a sprawdź również http://seokat.ath.cx/lay/ (pliki html) Ten post edytował Rak115 13.02.2010, 13:08:00 |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 125 Pomógł: 13 Dołączył: 7.07.2009 Skąd: Warsaw Ostrzeżenie: (0%) ![]() ![]() |
rekord A domeny jest przekierowany na IP 195.60.65.5
co ciekawe, ping na to IP idzie, a po wpisaniu w przeglądarkę IP 195.60.65.5 też kieruje na localhost jakiś htaccess? |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 28.11.2009 Ostrzeżenie: (0%) ![]() ![]() |
taki
Kod RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [L,R=301] RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+),k,([0-9]+)/ index.php?action=cat&id=$2 [L] RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+)/([-_!~,;*'()$a-zA-Z0-9]+),p,([0-9]+)/strona,([0-9]+)/ index.php?action=sub&id=$3&page=$4 [L] RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+)/([-_!~,;*'()$a-zA-Z0-9]+),p,([0-9]+)/ index.php?action=sub&id=$3&page=1 [L] RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+)/([-_!~,;*'()$a-zA-Z0-9]+),s,([0-9]+)/ index.php?action=site&id=$3 [L] RewriteRule ^szukaj,(.+)/strona,([0-9]+)/ index.php?action=search&search=$1&page=$2 [L] RewriteRule ^szukaj,(.+)/ index.php?action=search&search=$1&page=1 [L] RewriteRule ^tag,(.+)/strona,([0-9]+)/ index.php?action=tag&tag=$1&page=$2 [L] RewriteRule ^tag,(.+)/ index.php?action=tag&tag=$1&page=1 [L] RewriteRule ^pr,([0-9]+)/strona,([0-9]+)/ index.php?action=pr&pr=$1&page=$2 [L] RewriteRule ^pr,([0-9]+)/ index.php?action=pr&pr=$1&page=1 [L] RewriteRule ^rules/ index.php?action=rules [L] RewriteRule ^help/ index.php?action=info [L] RewriteRule ^new,listings/ index.php?action=new [L] RewriteRule ^hot,listings/ index.php?action=pop [L] RewriteRule ^top,rated/ index.php?action=top [L] RewriteRule ^friends/ index.php?action=friends [L] RewriteRule ^map,of,directory/ index.php?action=map [L] RewriteRule ^contact/ index.php?action=contact [L] RewriteRule ^add,site/ index.php?action=global_add [L] RewriteRule ^regulamin/ index.php?action=rules [L] RewriteRule ^jak,dodac,wpis/ index.php?action=info [L] RewriteRule ^najnowsze/ index.php?action=new [L] RewriteRule ^popularne/ index.php?action=pop [L] RewriteRule ^najlepsze/ index.php?action=top [L] RewriteRule ^przyjaciele/ index.php?action=friends [L] RewriteRule ^mapa,katalogu/ index.php?action=map [L] RewriteRule ^kontakt/ index.php?action=contact [L] RewriteRule ^dodaj,strone/ index.php?action=global_add [L] Nikt nie jest w stanie pomóc? Co się dzieje? To nie wina pliku .htacces, wywalałem go i to nic nie daje. Pliki html ładują się poprawnie a apache zmienia adresy wszystkich stron na localhost. WPiszcie sobię domenę http://notesforfree.com - miałem taką na zbyciu,podpiąłem pod swój ip i co?! :< |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 05:00 |