LocationMatch prevent logging in php?

I installed Apache 2.2.21, MySQL 5.5.16, PHP 5.3.8 (VC9 X86 32bit thread safe) + PEAR at windows 7 x64.

The webpages are browsing fine, but log-in function does not work. Whenever I input id and password and press "login" button, white screen appears.

1. LocationMatch part of httpd.conf

# Close XAMPP security section here Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var

# Close XAMPP sites here Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 \ fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ fe80::/10 169.254.0.0/16

ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch>

2. virtualhost part of httpd.conf

<VirtualHost *:8080>
ServerName  mytest.codisk.com
DocumentRoot D:/_web/mytest
ServerAlias www.mytest.codisk.com
ServerAlias m.mytest.codisk.com
ServerAdmin mytest@gmail.com
ErrorLog D:/xampp/Apache/logs/mytest.codisk.com_error.log
CustomLog D:/xampp/Apache/logs/mytest.codisk.com-access.log combined
</VirtualHost>

3. .htaccess at root directory

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_URI}    !^/adm/?$ 
RewriteCond %{REQUEST_URI}    !^/login/?$
RewriteCond %{REQUEST_URI}    !^/m/?$

RewriteRule ^([a-zA-Z0-9_]+)$                   ./bbs_shorten.php?bo_table=$1
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)$          ./bbs_shorten.php?bo_table=$1&wr_id=$2
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)/([0-9]+)$ ./bbs_shorten.php?bo_table=$1&wr_id=$2&c=$3
</IfModule>

Please let me know how to resolve this problem.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.