truckparts13
5.08.2015, 09:30:39
Witam, zwracam się z wielką prośbą o pomoc.
kilka dni temu zmienialismy serwer ftp przez ktory dodawały się zdjęcia do szablonu w każdej aukcji allegro, i powstał problem który postaram się przybliżyc screenami
W pierwszym zdjęciu jest problem , wchodząc w aukcje nie widać zdjęcia zawartego w szablonie i wyskakuje panel do logowanie do serwera przez co nikt oprócz mnie nie może zobaczyc tych zdjęc , w drugim ss (
http://s13.postimg.org/qvj9chvh3/b_ad2.png )dodalem ustawienia z programu bo może zle coś ustawiłem .
Proszę o wyrozumiałość administratorów , potrzebuje i byłbym mega wdzięczny za pomoc bo z tym problemem nie mogę pracować
Dziękuje .
www.aukcje.fm
5.08.2015, 10:25:35
Hej
Wejdź na serwer przez ftp lub sftp.
Wejdź do tago katalogu i znajdź plik .htaccess
zakomentuj w nim te linie :
#AuthType Basic
#AuthName "Podaj nazwę użytkownika i hasła dla"
#AuthUserFile /data/sciezka/jakas/.htpasswd
#require valid-user
Tak po mojemu

No chyba że masz zabezpieczenie htpasswd dane jakośadministracyjnie.
To serwer dedykowany na Debianie, Linuxie ?
truckparts13
5.08.2015, 10:28:56
Mam ten plik, w jaki sposób i w ktorym miejscu to zakodowac

?
CuteOne
5.08.2015, 14:34:59
1. Otwierasz plik edytorem
2. Dodajesz znak komentarza "#" w liniach wskazanych w komentarzu wyżej
3. Zapisujesz plik
truckparts13
5.08.2015, 14:51:14
Wybaczcie ale nic mi to nie mówi znalazłem plik ktorego nie da sie otworzyc programem do edycji jedynie skopiowac na pulpit i tam edytowac ale nie wiem czy oto chodzi, i ta formułka ma byc taka jak ty dałes nic mam w niej nie zmieniac ?
Salur
5.08.2015, 14:55:28
Wrzuć nam zawartość pliku .htaccess to Ci pokażemy.
truckparts13
6.08.2015, 07:12:44
##
# @package Joomla
# @copyright Copyright © 2005 - 2013 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##
##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
## Mod_rewrite in use.
RewriteEngine On
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
# RewriteBase /
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
Proszę bardzo
kapslokk
6.08.2015, 07:18:30
Spróbuj w tym programie ustawić sobie serwer HTTP + ścieżka do katalogu na:
http://pearljam.netmark.pl/fotki/i sprawdź czy wygenerowany szablon działa.
truckparts13
6.08.2015, 07:25:44
Niestety nic to nie dało
kapslokk
6.08.2015, 07:26:47
Wrzuć nam chociaż kawałek wygenerowanego szablonu.
truckparts13
6.08.2015, 07:33:34
http://allegro.pl/ShowItem2.php?item=5589185490 tak to wygląda , ja mam taki program ze kilkam na część-> wystaw aukcje i wszystko dodaje sie automatycznie razem ze zdjęciami nie wklejam nic itp.
kapslokk
6.08.2015, 07:40:24
Coś tam dało jednak, bo nie wyskakuje już komunikat o logowaniu. Niestety w katalogu fotki na serwerze nie masz pliku tego zdjęcia i dlatego się nie wyświetla. Sprawdź czy dane do ftp które podajesz w programie są poprawne.
truckparts13
6.08.2015, 07:47:23
w total comannderze pokazują mi się te zdjęcia , mam wrażenie ze katalog nie jest jakos do końca upubliczniony , nie wiem
kapslokk
6.08.2015, 07:52:19
Jaką masz scieżkę w total commanderze?
truckparts13
6.08.2015, 07:56:45
coś takiego nie wiem oco Tobie dokładnie chodzi więc mam nadzieje ze to Ci pomoże
kapslokk
6.08.2015, 08:02:04
Niestety nie pomogło, ale mam pewien pomysł. Zaloguj się do cpanelu na netmarku i sprawdź do jakiego katalogu jest podpięte konto transportbielsko. Jak już będziesz wiedział to link będzie wyglądał:
http://pearljam.netmark.pl/>>ten katalog<</fotki/
truckparts13
6.08.2015, 08:28:37
dostałem odpowiedz od netmarka bo nie moga mi podac nie wiem czemu danych do cpanelu , juz nie wnikam
"To ma być dostęp przez http, czy przez ftp?
Dostęp do tego katalogu przez http jest przez link:
http://www.transportbielsko.pl/fotki/przez ftp:
ftp://pearljam.netmark.pl/public_html/tra...elsko.pl/fotki/ - ale tu trzeba podać login i hasło, aby mieć dostęp "
kapslokk
6.08.2015, 08:31:20
Ma być dostęp przez http. Wklej link
http://www.transportbielsko.pl/fotki/ w tą ścieżkę i będzie smigało
truckparts13
6.08.2015, 08:35:45
WIELKIE DZIĘKI za pomoc , nareszcie wszystko gra !
Pozdrawiam !
TEMAT DO ZAMKNIĘCIA
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę
kliknij tutaj.