Guten Tag,
ich versuche die URLs meines Projekts wie filgt umzuschreiben:
und
So weit bin ich bisher mit meiner Rewrite Rule, komme aber gerade nicht weiter.
Apache Configuration
Options +FollowSymLinks
IndexIgnore */*
# Turn on the RewriteEngine
RewriteEngine On
## Rules #
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) ./modules/$1/public/
Alles anzeigen
Beim Aufruf von
bekomme ich richtigerweise die Datei:
Beim Aufruf von
bekomme ich aber:
Code
[B]Internal Server Error[/B]
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5 Server at localhost Port 80
Falls wer Zeit und Lust hat... ich kann ein Paar Tips gebrauchen...