Forum Moderators: phranque
I'm working on a CMS. Now we (the other members of the project) make the URL's look good with mod_rewrite. But with the current .htaccess file subdomains give an internal server error.
The .htaccess file:
RewriteEngine OnRewriteBase /
RewriteRule ^index.html index.php
RewriteCond %{REQUEST_URI}!.*(templates/¦images/¦library/¦includes/¦admin/¦language/¦modules/).*
RewriteRule ^([a-zA-Z0-9]*)/([a-zA-Z0-9]*)/(.*) index.php?module=$1&page=$2&args=$3 [L]
RewriteCond %{REQUEST_URI}!.*(templates/¦images/¦library/¦includes/¦admin/¦language/¦modules/).*
RewriteRule ^(.*)/(.*)/index.html index.php?module=$1&page=$2 [L]
RewriteCond %{REQUEST_URI}!.*(templates/¦images/¦library/¦includes/¦admin/¦language/¦modules/).*
RewriteRule ^(.*)/(.*)/ index.php?module=$1&page=$2 [L]
RewriteCond %{REQUEST_URI}!.*(templates/¦images/¦library/¦includes/¦admin/¦language/¦modules/).*
RewriteRule ^(.*)/ index.php?module=$1 [L]
Anyone got an idee how to solve this?
Grtz,
WyriHaximus
Thnxs for that :).
The main domain where the CMS is running on is http://www.example.com/ and one of the subdomains is http://install.example.com/ . Also I can't find anything about it in the error logs :(.
Grtz,
WyriHaximus
[edited by: jdMorgan at 2:23 pm (utc) on Oct. 4, 2005]
[edit reason] No URLs, please. See TOS. [/edit]