eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.wwwusuwanie index.php z URL › Re: usuwanie index.php z URL
  • Path: news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit
    0.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail
    From: Jivanmukta <j...@p...onet.pl>
    Newsgroups: pl.comp.www
    Subject: Re: usuwanie index.php z URL
    Date: Wed, 05 Oct 2016 08:28:02 +0200
    Organization: Aioe.org NNTP Server
    Lines: 50
    Message-ID: <nt26hj$1m86$1@gioia.aioe.org>
    References: <nsvlbe$1juq$1@gioia.aioe.org>
    <1...@4...net>
    NNTP-Posting-Host: f0bD4/Sv73Mq1HF2eixqkA.user.gioia.aioe.org
    Mime-Version: 1.0
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: 8Bit
    X-Complaints-To: a...@a...org
    User-Agent: KNode/4.14.2
    X-Notice: Filtered by postfilter v. 0.8.2
    Xref: news-archive.icm.edu.pl pl.comp.www:403278
    [ ukryj nagłówki ]

    Borys Pogoreło wrote:

    > Dnia Tue, 04 Oct 2016 09:22:22 +0200, Jivanmukta napisał(a):
    >
    >> RewriteRule ~(.*)$ /index.php/$1 [L,QSA]
    >
    > Zacznij od poprawienia tego powyżej na ^(.*)$
    >

    Dzięki.
    Teraz mam:

    [Wed Oct 05 07:26:36.514786 2016] [:error] [pid 1669] [client ::1:49901]
    script '/var/www/html/index.php' not found or unable to stat
    [Wed Oct 05 07:38:05.712066 2016] [core:crit] [pid 1672] (13)Permission
    denied: [client ::1:49937] AH00529: /home/robert/public_html/.htaccess
    pcfg_openfilek:: unable to check htaccess file, ensure it is readable and
    that '/home/robert/public_html/' is executable

    W .htaccess mam: RewriteBase /~robert/
    Problem się zrobił jak bawiłem się .htaccess i zupgradowałem Linuxa Mint.
    Mój .htaccess ma atrybuty -rw-rw---- 1 robert robert 530 paź 5 07:49
    Mój userdir.conf wygląda tak:

    <IfModule mod_userdir.c>
    UserDir public_html
    UserDir disabled root

    <Directory /home/*/public_html>
    AllowOverride All
    Options ExecCGI
    # AllowOverride FileInfo AuthConfig Limit Indexes
    Options MultiViews Indexes SymLinksIfOwnerMatch
    IncludesNoExec
    <Limit GET POST OPTIONS>
    Order allow,deny
    Allow from all
    # Require all granted
    </Limit>
    <LimitExcept GET POST OPTIONS>
    Order deny,allow
    Deny from all
    # Require all denied
    </LimitExcept>
    </Directory>
    </IfModule>

    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    Pomóż proszę, obiecuję że już się nie będę bawił .htaccess...

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: