bräuchte mal Hilfe zur Konfiguration meines neuen Apaches.
Ich möchte meine gute alte .htaccess-Datei nun endlich in die httpd.conf aus Performance-Gründen übernehmen.
.htaccess:
Code: Select all
RewriteEngine on
# Username
RewriteRule ^([a-z0-9_-]+)$ /index_start.php?name=$1 [L]
httpd.conf
Code: Select all
<Directory /var/www>
AllowOverride FileInfo
Options +FollowSymLinks
RewriteEngine On
# Username
RewriteRule ^([a-z0-9_-]+)$ /var/www/index_start.php?name=$1 [L]
</Directory>
Danke für die Hilfe...Syntax error on line 21 of /etc/apache2/sites-enabled/000-default:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
httpd not running, trying to start
Mirco