ich habe letztens cakephp im var/www/html directory gepackt und ich musste dafür mod_rewrite im "/etc/apache2/sites-available/000-default.conf" folgendes einfügen:
- Code: Select all
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
Aber danach konnte ich dann nicht mehr auf localhost zugreifen aber auf meinen cakephp directory konnte ich ohne Probleme, was soll ich noch bei apache2 einstellen damit ich auf localhost und cakephp directory gleichzeitig zugreifen kann?
Also wenn ich die Änderungen im 000-default.conf wegmache, dann kann ich auf meinen localhost zugreifen aber nicht auf mein cakephp directory.