Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Nie mogę skonfigurować modułu rewrite.c dla Apache
tomi0001
post
Post #1





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 31.05.2014

Ostrzeżenie: (0%)
-----




Chcę się trochę pobawić modułem rewrite.c na Apachu więc go pomyślnie załadowałem

Więc taki kod nie daje komunikatu błędu

LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so



Ale taki już daje



RewriteEngine On
RewriteBase /

Taki daje błąd

* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 123 of /etc/apache2/apache2.conf:
RewriteBase: only valid in per-directory config files
Action 'configtest' failed.
The Apache error log may have more information.

Uzywam następującej wersji Apacha Apache/2.4.7

Moja dystrybucja to linux Mint 17.2
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.09.2025 - 10:07