Povolenie .htaccess a mod_rewrite na localhoste
Nasiel som, ze na enable .htaccess mam editovat /etc/apache2/sites-available/default a zmenit
AllowOverride None
na
AllowOverride All
A do .htaccess pridal:
Order deny,allow
Allow from All
To funguje, ale potrebujem povolit este aj mod_rewrite, tak reku idem do /etc/apache2/httpd.conf, otvorim a je to prazdne.
Mate s tym niekto skusenost? Mal som to priamo z ubuntu fora, pouzivam kubuntu 8.04.
Mal som tam odkomentovat LoadModule rewrite_module modules/mod_rewrite.so a taktiez som mal urobit toto:
Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out. (I didnt find these in Fedora, yet my mod_rewrite works great)
ale tomu nerozumiem :(
Viete mi niekto pomoct? Prosim o skoru pomoc, potrebujem pracovat.
Dakujem za skore odpovede.
Pre pridávanie komentárov sa musíte prihlásiť.
a2enmod rewrite
<Directory /www_2008>
Options Indexes
AllowOverride All
Allow from All
</Directory>
<Directory /www_2008>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>