Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

18110 Posts in 2330 Topics- by 798 Members - Latest Member: jednanis
Pages: [1] 2   Go Down
Print
Author Topic: Problem sa .htaccess-om  (Read 2214 times)
nane77
Newbie
*
Offline Offline

Posts: 38



View Profile
« on: 13.07.2007; 20:08:00 PM »

Pozdrav!
Na tri stranice koje sam radio sa joomlom pojavio se problem. Naime, nisam nikako uspio pristupiti sajtu. Razgovarao sam sa hosting providerom, on kaze da je problem do .htaccess fila. Nakon sto je obrisao kompletan sadrzaj .htaccsessa-a stranica je proradila. Ovo se, napominjem, dogodilo na tri stranice koje sam radio u joomli.

Da li je moguce da sam haknut ili je nesto drugo u pitanju.
Logged
fantastic
SITE ADMIN
Hero Member
*
Offline Offline

Posts: 1272



View Profile WWW
« Reply #1 on: 13.07.2007; 20:10:20 PM »

Sta ti se nalazilo u .htaccess-u? Postuj ga ovdje...

Poz. Smiley
Logged

nane77
Newbie
*
Offline Offline

Posts: 38



View Profile
« Reply #2 on: 13.07.2007; 23:00:26 PM »

Zaista ne znam. Sadrzaj .htaccsess-a je izbrisao tip sa hostinga. Ja zaista ne znam sta je u pitanju. Međutim, kada sam pokusao da postavim novi .htaccsess (sa nove joomle), ista stvar mi se dogodila.
Logged
fantastic
SITE ADMIN
Hero Member
*
Offline Offline

Posts: 1272



View Profile WWW
« Reply #3 on: 14.07.2007; 00:19:48 AM »

Ovo se, napominjem, dogodilo na tri stranice koje sam radio u joomli.

Tri sajta kod istog hosta ili na tri razlicita hostinga?
Logged

kebic
Dejan Viduka
Hero Member
*****
Offline Offline

Posts: 1221



View Profile WWW
« Reply #4 on: 14.07.2007; 02:05:44 AM »

Reci kako teraju apache kao cgi ili kao hendler?

Evo ovde mozes videti kako da proveris  http://www.eurofreecode.com/faq_i_tutorials_tutorijali/komande_za_htaccess-t670.0.html

jel nije isto podesavanje u .htaccess-u za oba kad podesis kod jednog pogresno sajt nece da sljaka.

Pozz
Logged

"Ako danas ne uspemo, jedini razlog smo mi sami!" -Z.Đ.
www.sanovnik.info
www.ribolovacki-magazin.co.yu
www.joomla-download.net
nane77
Newbie
*
Offline Offline

Posts: 38



View Profile
« Reply #5 on: 15.07.2007; 15:32:33 PM »

Sva tri sajta su kod istog hosting-a. Cuo sam se sa tipom, on kaze da da su njegove joomla stranice OK.
Logged
nane77
Newbie
*
Offline Offline

Posts: 38



View Profile
« Reply #6 on: 15.07.2007; 16:28:23 PM »

Dobio sam i sadrzaj .htaccsessa

##
       # @version $Id: htaccess.txt 2368 2006-02-14 17:40:02Z stingrey $
       # @package Joomla
       # @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
       # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
       # Joomla! is Free Software
       ##


       #####################################################
       #  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.
       #
       # Only use one of the two SEF sections that follow.  Lines that can be uncommented
       # (and thus used) have only one #.  Lines with two #'s should not be uncommented
       # In the section that you don't use, all lines should start with #
       #
       # For Standard SEF, use the standard SEF section.  You can comment out
       # all of the RewriteCond lines and reduce your server's load if you
       # don't have directories in your root named 'component' or 'content'
       #
       # If you are using a 3rd Party SEF or the Core SEF solution
       # uncomment all of the lines in the '3rd Party or Core SEF' section
       #
       #####################################################

       #####  SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
       # SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
       # OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
       #
       # In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
       # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
       # May need to be uncommented.  If you are running your Joomla/Mambo from
       # a subdirectory the name of the subdirectory will need to be inserted into this
       # line.  For example, if your Joomla/Mambo is in a subdirectory called '/test/',
       # change this:
       # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
       # to this:
       # RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
       #
       #####################################################

       ##  Can be commented out if causes errors, see notes above.
       Options FollowSymLinks

       #
       #  mod_rewrite in use

       RewriteEngine On


       #  Uncomment following line if your webserver's URL
       #  is not directly related to physical file paths.
       #  Update Your Joomla/MamboDirectory (just / for root)

       # RewriteBase /


       ########## Begin Standard SEF Section
       ## ALL (RewriteCond) lines in this section are only required if you actually
       ## have directories named 'content' or 'component' on your server
       ## If you do not have directories with these names, comment them out.
       #
       #RewriteCond %{REQUEST_FILENAME} !-f
       #RewriteCond %{REQUEST_FILENAME} !-d
       #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]            ##optional - see notes##
       #RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
       #RewriteRule ^(content/|component/) index.php
       #
       ########## End Standard SEF Section


       ########## Begin 3rd Party or Core SEF Section
       #
       #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]            ##optional - see notes##
       RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule (.*) index.php
       #
       ########## End 3rd Party or Core SEF Section
Logged
Enzo
Zenica
Hero Member
*****
Offline Offline

Posts: 513


MONOBLUE.ORG


View Profile WWW
« Reply #7 on: 15.07.2007; 17:25:29 PM »

Jel ti joomla u root ili s je stavio u neki poddirektorij?
Logged

nane77
Newbie
*
Offline Offline

Posts: 38



View Profile
« Reply #8 on: 15.07.2007; 18:43:37 PM »

root
Logged
kebic
Dejan Viduka
Hero Member
*****
Offline Offline

Posts: 1221



View Profile WWW
« Reply #9 on: 15.07.2007; 18:51:56 PM »

Sva tri sajta su kod istog hosting-a. Cuo sam se sa tipom, on kaze da da su njegove joomla stranice OK.

Pazi ovo sto ti je on reko je ok ako koristi htaccess kao txt jel onda je kao i da si ga obrisao.
Jel i tvoja joomla radi samo bez htaccessa.  Undecided
Logged

"Ako danas ne uspemo, jedini razlog smo mi sami!" -Z.Đ.
www.sanovnik.info
www.ribolovacki-magazin.co.yu
www.joomla-download.net
nane77
Newbie
*
Offline Offline

Posts: 38



View Profile
« Reply #10 on: 15.07.2007; 19:01:09 PM »

Radi! Kada sam uploadovo novi htaccess.txt file i preimenovao ga u .htaccsess stranica je ponovo prestala raditi. 
Logged
kebic
Dejan Viduka
Hero Member
*****
Offline Offline

Posts: 1221



View Profile WWW
« Reply #11 on: 15.07.2007; 19:24:36 PM »

Pa to je ono sto ti kazem mozda su njegovi zahtevi za joomla sajt manji pa koristi htaccess kao txt pa mu zato radi.
Lako je moguce da je do konfiguracije servera, ali reci jel imas ti instaliranu neku SEF komponentu ili tome slicno sto zahteva koriscenje htaccessa?
Logged

"Ako danas ne uspemo, jedini razlog smo mi sami!" -Z.Đ.
www.sanovnik.info
www.ribolovacki-magazin.co.yu
www.joomla-download.net
nane77
Newbie
*
Offline Offline

Posts: 38



View Profile
« Reply #12 on: 15.07.2007; 20:15:20 PM »

Aha...znam da sam nesto zaboravio! Imam artio SEF komponentu intsliranu 1.3.1
Logged
kebic
Dejan Viduka
Hero Member
*****
Offline Offline

Posts: 1221



View Profile WWW
« Reply #13 on: 15.07.2007; 20:40:26 PM »

Ona zna da napravi problem, probaj da stavis neku drugi ili procackaj po forumu mislim da se o tome vec pisalo.
Logged

"Ako danas ne uspemo, jedini razlog smo mi sami!" -Z.Đ.
www.sanovnik.info
www.ribolovacki-magazin.co.yu
www.joomla-download.net
Enzo
Zenica
Hero Member
*****
Offline Offline

Posts: 513


MONOBLUE.ORG


View Profile WWW
« Reply #14 on: 15.07.2007; 22:49:49 PM »

Izbriši taj 1.3.1 verziju, u globalnoj konfiguraciji podesi da ti radi SEF tako da dobiješ one URLs tipa http://www.domena.com/content/view/5/30/ ili http://www.domena.com/component/option,com_contact/Itemid,3/ kada to dobiješ instaliraj ovu verziju 1.5.1 ArtioSEF koju ću ti attach uz ovaj post. Kada si sve to završio vidi ako imaš .htaccess fajl u root-u ako nemaš napravi ga sam i uploaduj u root. A evo ti i .htaccess fajl u slučaju da ti je mrsko daga napraviš :p


EDIT: Mogu li administratori da povećaju quote za UPLOAD folder?
Logged

Pages: [1] 2   Go Up
Print
Jump to: