We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

.htaccess i Internal Server Error 500


nker
20-12-2006, 16:44
Wrzuciłem na server plik .htaccess a następującej treści:
Kod:

order allow,deny
allow from all


RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$ index.php

DirectoryIndex index.php

RewriteEngine On

 RewriteCond %{HTTP_HOST} ^webdav\..*

 RewriteRule ^(.*) webdav.php [L] 

 

 RewriteCond %{HTTP_HOST} ^soap\..*

 RewriteRule ^(.*) soap.php [L] 

 

 RewriteRule ^var/cache/debug.html.* - [L]

 RewriteRule ^var/[^/]+/cache/debug.html.* - [L]

 Rewriterule ^var/storage/.* - [L]

 Rewriterule ^var/[^/]+/storage/.* - [L]

 RewriteRule ^var/cache/texttoimage/.* - [L]

 RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]

 Rewriterule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L]

 Rewriterule ^share/icons/.* - [L]

 Rewriterule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]

 Rewriterule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]



 RewriteRule .* index.php [L]
Wszystko ładnie śmiga pod adresem e-deutsch, jednak gdy chce odpalić subdomene, test.e-deutsch.pl to juz pokazuje się wspomniany wyżej błąd.

pzdr. enki!