Forum Moderators: phranque

Message Too Old, No Replies

[.htaccess] Internal server error on subdomeinen

         

WyriHaximus

9:18 am on Oct 3, 2005 (gmt 0)

10+ Year Member



Hi,

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 On

RewriteBase /

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

jdMorgan

4:13 am on Oct 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



WyriHaximus,

Welcome to WebmasterWorld!

I see no reference to subdomains in the code you posted, so it's unclear what the problem could be.

What information is in your server error log after a 500-Server Error occurs?

Jim

WyriHaximus

6:28 am on Oct 4, 2005 (gmt 0)

10+ Year Member



jdMorgan,

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]