A skąd wiesz jakie jest moje zaangażowanie? Uświadomię Cię:
Wykonałem:
1. a2enmod rewrite
2. Sprawdziłem plik: /etc/apache2/mods-available/rewrite.load jest: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
3. Nastęnie zedytowałem plik: /etc/apache2/sites-available/default jest:
Kod
ServerAdmin webmaster@localhost
DocumentRoot /var/www
Options FollowSymLinks
AllowOverride All
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
4. /etc/init.d/apache2 restart
Posiadam ISPConfig 3.
Nawet dla pliku zmieniłem z None na All: /etc/apache2/sites-available/moja-strona.pl.vhost dałem:
Kod
AllowOverride All
Order Deny,Allow
Deny from all
DocumentRoot /var/www/moja-strona.pl/web
Gdzie jest błąd?