On 12/5/2012 2:28 PM, Rafnews wrote: > Hi, > > i have a webserver running on httpd 2.4.2 with SSL under Windows 7. > i have several virtualhost that work great. > here is for example a virtualhost declaration: > <VirtualHost *:80> > DocumentRoot "d:/webserver/www/rg3" > ServerName rg3.loc > ServerAlias www.rg3.loc > ErrorLog "logs/rg3.loc.error.log" > CustomLog "|bin/rotatelogs.exe logs/rg3.loc.access.log 5M" common > > AccessFileName .htaccess > > <Directory "d:/webserver/www/rg3/"> > AllowOverride All > Require ip 127.0.0.1 > </Directory> > > </VirtualHost> > > till my .htaccess file was named htaccess.txt everything worked great > (joomla and other things) > since i renamed htaccess.txt to .htaccess i get a 500 server error. > > here is my .htaccess. > # Options +FollowSymLinks > RewriteEngine On > RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] > RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] > RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] > RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) > RewriteRule .* index.php [F] > > # RewriteBase / > > RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] > RewriteCond %{REQUEST_URI} !^/index\.php > RewriteCond %{REQUEST_URI} > /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC] > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule .* index.php [L] > > i'm lost and i don't see my mistake :( > any idea ? > thx > > -- > > ------------ > A.R. > When the 500 error occurs, Apache should write an entry to its log. Always check the log before posting, please. -Ben --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx