matizimny
-
Zawartość
60 -
Rejestracja
-
Ostatnio
Posty napisane przez matizimny
-
-
Jeżeli daje takie przekierowanie.
RewriteEngine on RewriteRule ^/?pl/(.*)$ /pl/uslugi-informatyczne/$1 [R,L]
dzieje się coś takie
Trzeba taką regułę aby to przeszło tylko jeden raz inaczej się za pętla
-
Jeżeli chodzi o wordpressa jest jedno przekierowanie związane z pl wygląda tak
Htaccess tak to wygląda
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript ExpiresActive on ExpiresDefault "access plus 1 week" # CSS ExpiresByType text/css "access plus 1 week" # Data interchange ExpiresByType application/json "access plus 0 seconds" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType text/xml "access plus 0 seconds" # Favicon (cannot be renamed!) and cursor images ExpiresByType image/x-icon "access plus 1 week" # HTML components (HTCs) ExpiresByType text/x-component "access plus 1 week" # HTML ExpiresByType text/html "access plus 0 seconds" # JavaScript ExpiresByType application/javascript "access plus 1 week" # Manifest files ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" ExpiresByType text/cache-manifest "access plus 0 seconds" # Media ExpiresByType audio/ogg "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType video/mp4 "access plus 1 month" ExpiresByType video/ogg "access plus 1 month" ExpiresByType video/webm "access plus 1 month" # Web feeds ExpiresByType application/atom+xml "access plus 1 hour" ExpiresByType application/rss+xml "access plus 1 hour" # Web fonts ExpiresByType application/font-woff "access plus 1 month" ExpiresByType application/vnd.ms-fontobject "access plus 1 month" ExpiresByType application/x-font-ttf "access plus 1 month" ExpiresByType font/opentype "access plus 1 month" ExpiresByType image/svg+xml "access plus 1 month" Header set Cache-Control "max-age=31536000, public" Header set Cache-Control "max-age=31536000, private"
-
Witam Serdeczenie mam problem z przekierowaniem adresu problem wygląda następująco:adres www.nazwa.pl/nazwa/ przekierowywał na adres www.nazwa.pl/nazwa/costam/Działaww.nazwa.pl/nazwabez / a z nieCoś takiego próbowałem przez htacces ale nie działaRedirect 301 /pl/ http://nazwa.pl/nazwa/costam/
-
Ts-poland - jest na vps , ten server na który jest przekierowany jest współdzielony tak zwany hosting www.
-
Witam, piszę z zapytanie czy jest możliwość taka aby po wejściu na ts-poland.pl - utrzymywała się dalej ta sama nazwa , jest w tym momecie ustawione przekierowanie.Proszę o pomoc
-
Problem Rozwiązany
-
No niby tak ale ja że tak powiem dopiero zaczynam w php i jeszcze popełniam głupie i proste błędy.
-
Wiesz generalnie to będzie mi służyć na teamspeak'u ,obecnie zbliżają się święta tym bardziej budżet na dzisiejszą chwilę kuleje, że tak napisze w święta powiano się pomagać ( Darmowo )
-
Hmm, ostatnio troszkę kiepsko z funduszami stoję ale rozmyśle twoją propozycję, NetMat tu mam do wyciągania ile osób jest na serwerze ale nie wiem jak to z sobą z łączyć jak możesz to luknij w to.
<?php require_once("libraries/TeamSpeak3/TeamSpeak3.php"); TeamSpeak3::init(); $cfg["user"]=""; $cfg["pass"]=""; $cfg["host"]="127.0.0.1"; $cfg["query"]="10011"; try { $ts3_ServerInstance = TeamSpeak3::factory("serverquery://" . $cfg["user"] . ":" . $cfg["pass"] . "@" . $cfg["host"] . ":" . $cfg["query"] . "/"); $ts3_VirtualServer = $ts3_ServerInstance->serverGetById(1); // z reguły 1 jest okej, bo to pierwszy wirtualny serwer. $dane = $ts3_VirtualServer->getInfo(TRUE, TRUE); echo "<p>"; echo "Status: ".$dane["virtualserver_status"]."<br/ >"; echo "Adres: ".$cfg["host"]."<br />"; echo "Licencja: NPL<br />"; echo "Użytkowników: ".$dane["virtualserver_clientsonline"]."/".$dane["virtualserver_maxclients"]." <br />"; echo "</p>"; } catch(Exception $e) { /* catch exceptions and display error message if anything went wrong */ echo "<span class='error'><b>FAIL " . $e->getCode() . ":</b> " . $e->getMessage() . "</span>\n"; } ?>
-
Witam Wszystkich!
Szukam skryptu który działał by podobnie jak gametracker z tym że tylko miał by pokazywać ile osób jest na serwerze, obrazek miał by się odświeżać co 60s.Dodał to że ten skrypt chce zrobić do ts'a.
Kilka taki znalazłem na kilku stronach tylko nie wiem jak to przerobić pod ts3, dodam jeszcze że parametr pod użytkowników na ts jest taki virtualserver_clientsonline , proszę o pomoc.
<?php $randomquote = array( 'My first quote!', 'My second quote!', 'My third quote!', 'My fourth quote!', 'My last quote!' ); $image = 'signature_bar.png'; $im = imagecreatefrompng($image); $main_color = imagecolorallocate($im, 51, 102, 153); $black = imagecolorallocate($im, 0, 0, 0); $orange = imagecolorallocate($im, 255, 85, 0); $blue = imagecolorallocate($im, 68, 102, 136); $red = imagecolorallocate($im, 255, 0, 0); $green = imagecolorallocate($im, 0, 160, 0); $left_margin = 10; imagestring($im, 3, $left_margin, 2, 'My wonderful name!', $orange); imagestring($im, 2, $left_margin, 18, 'Another text example...', $main_color); imagestring($im, 2, $left_margin, 30, 'Ok, another one!', $blue); imagestring($im, 1, $left_margin, 48, $randomquote[rand(0, sizeof($randomquote) - 1)], $green); header('Content-Disposition: filename=signature_bar.png'); header('Content-Type: image/png'); imagepng($im); imagedestroy($im);
-
Git do instalowałem to i nagle wszystko działa Dzięki
-
hmm zainstalowałem fluxbox + tightvncserver ale fluxbox nie chce coś działać na vps tzn nawet terminal się nie włącza czy ktoś wie jak to naprawić ?
-
dns zmieniłem na:
nameserver 91.206.27.98 nameserver 91.224.220.3
Pozdrawiam
Mateusz
-
Już problem rozwiązany .
-
Zmieniłem tak jak w temacie było napisane i dalej nic to nie dało.
nameserver 208.67.222.222 nameserver 208.67.220.220
-
Witam, zrobiłem tak jak jest w tym poście i ładuje się tak samo długo jak wcześniej, moje błędy:
Err http://ftp.pl.debian.org squeeze Release.gpg Could not resolve 'ftp.pl.debian.org' Err http://ftp.pl.debian.org squeeze-updates Release.gpg Could not resolve 'ftp.pl.debian.org' Err http://security.debian.org squeeze/updates Release.gpg Could not resolve 'security.debian.org' Reading package lists... Done W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/Release.gpg Could not resolve 'ftp.pl.debian.org' W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg Could not resolve 'security.debian.org' W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/Release.gpg Could not resolve 'ftp.pl.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead.
-
Witam, szukam interejsu graficznego który bedzie brał mało ramu oraz procesora.
Korzystałem wcześniej z xfce4-goodies i lxde ale nie wiem dla czego vnc4server dużo brał mi strasznie duzo ramu i procesora.
Jaki wy macie sugestie bądź propozycje godne polecenia ?
Pozdrawiam
Mateusz
-
Witaj, sprawdź ofertę firm http://webh.pl/ oraz hosteam http://hosteam.pl , naprawdę firmy warte uznania
Pozdrawiam
Mateusz
-
-
"Zależy, co chcesz na tym stawiać..."
Minecraft juz poprawilem ;D
-
Czyli jepiej Kupic
1x https://www.sprintdatacenter.pl/107/serwer-duo-2
czy
4x https://www.sprintdatacenter.pl/83/serwer-eco-3
Chodzi mi o wydajnosc i oplacalnosc na maszynach bedzie minecraft
-
Hmm nie rozumiem twojego zdziwienia, kilka różnych serwerów by tam postawił, jeżeli sądzisz że te procesory nie nadają się do tego napisz coś więcej
-
Największy pożeraczem będzie na pewno minecraft
-
Hmm Dziękuje za odpowiedzi dużo mi dały do myślenia , ale jeszcze mam jedno pytanie bo kłócę się z kolegą i on twierdzi że lepiej kupić jedną ale wielką maszynę w tym przypadku chodziło https://www.sprintdatacenter.pl/107/serwer-duo-2 , a ja myślę że bardziej opłaca się kupić kilka z tego powodu że łącze będzie mnie obciążone. A co wy sądzicie na ten temat ??
Ustawienie PTR i Reverse
w Serwery DNS
Napisano · Raportuj odpowiedź
Witam, mam problem z ustawieniem dnsów, chodzi o ptr i Reverse, poniżej wstawiam aktualne ustawienie które nie chce działać, macie jakieś propozycje??