Joomla - Proste adresy
Wyniki 1 do 6 z 6

Temat: Joomla - Proste adresy

  1. #1
    Nowicjusz
    Dołączył
    01-12-2010
    Wpisy
    22
    Punkty
    10

    Domyślny Joomla - Proste adresy

    Witam
    postawiłem stronę na Joomla! 1.5.22 Stable i chciałem włączyć proste adresy.
    Zaznaczyłem więc opcję proste adresy i Korzystaj z mod_rewrite - teraz jak chce wejść na jakąkolwiek zakładkę oprócz strony głównej to mam komunikat:

    Forbidden

    You don't have permission to access /~czmar/pl/publikacje on this server.
    Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 mod_ssl/2.2.9 OpenSSL/0.9.8g Server at ................

    Pozdrawiam

    p.s.
    dodam że zmieniłam nazwę pliku hatacces.txt na hatacces
    dodaje również pliczek .htaccess

    Kod:
    ##
    # @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2010 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.
    #
    #####################################################
    
    ##  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!
    #
    ## Deny access to extension xml files (uncomment out to activate)
    #<Files ~ "\.xml$">
    #Order allow,deny
    #Deny from all
    #Satisfy all
    #</Files>
    ## End of deny access to extension xml files
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%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})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits
    
    #  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
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
    RewriteRule (.*) index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section
    Ostanio edytowane przez jaackoo : 26-01-2011 18:56

  2. Pani Reklamowa
    Pani Reklamowa jest aktywna
    Avatar Panny Google

    Dołączył
    19-08-2010
    Skąd
    Internet
    Postów
    milion
    Pochwał
    setki
  3. #2
    kurtz
    Gość

    Domyślny

    .htaccess

  4. #3
    Nowicjusz
    Dołączył
    01-12-2010
    Wpisy
    22
    Punkty
    10

    Domyślny

    Zmieniłem na ".htaccess" i nic sie nie zmieniło

  5. #4
    kurtz
    Gość

    Domyślny

    a co to za serwer ? obsługuje mod_rewrite ?

  6. #5
    Nowicjusz
    Dołączył
    01-12-2010
    Wpisy
    22
    Punkty
    10

    Domyślny

    To jest serwer uczelniany UAM, jak mogę sprawdzić czy obsługuje mod_rewrite?
    bo zanim dostane info od admina to pooootrwa

  7. #6

Podobne tematy

  1. Proste adresy w Joomla 1.6 - weblinks
    przez Ciupaga na forum Instalacja, aktualizacja, migracje
    Odpowiedzi: 14
    Ostatni post/autor: 17-02-2011, 19:21
  2. Joomla 1.5.16 + Adwords + Proste adresy = niedziałające linki
    przez Sputnik_Wwa na forum Administracja - ogólne
    Odpowiedzi: 1
    Ostatni post/autor: 27-05-2010, 11:23
  3. Proste adresy w joomla - problem
    przez DamianG na forum Administracja - ogólne
    Odpowiedzi: 4
    Ostatni post/autor: 03-02-2010, 13:53
  4. Proste adresy + CBA.PL + JOOMLA 1.5.9
    przez jokrasa na forum Administracja - ogólne
    Odpowiedzi: 0
    Ostatni post/autor: 30-03-2009, 23:34
  5. Proste adresy w Joomla 1.5.7
    przez qiqqq na forum Administracja Joomla!
    Odpowiedzi: 4
    Ostatni post/autor: 21-10-2008, 09:57

Reguły pisania

  • Nie możesz zakładać nowych tematów
  • Nie możesz dodawać wypowiedzi
  • Nie możesz dodawać załączników
  • Nie możesz poprawiać swoich postów
  •