virtual host returning an internal server error

ساخت وبلاگ
I'm working on a wordpress site with a local server (wampserver). it worked just fine till yesterday, but now when i'm trying to log to my virtual host local server i get an 'Internal Server Error' . So i checked the 'server error log' in the apache as they say, and i get this error:
Code:

[Sun Oct 15 16:47:04.071631 2017] [core:error] [pid 11808:tid 1872] [client 127.0.0.1:53175] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
I don't really know what can cause that. my localhost works just fine, but i'm working now on a virtual host, which returns the 500 error. maybe the problem is in my httpd-vhosts.conf file? this is what i've got in there:
Code:

<VirtualHost *:80>
    DocumentRoot "c:/wamp64/www"
    ServerName localhost
    ServerAlias localhost
    <Directory  "c:/wamp64/www">
        AllowOverride All
        Require local
    </Directory>
 </VirtualHost>

<VirtualHost *:80>
    DocumentRoot "c:/wamp64/www/medialobsters_db"
    ServerName medialobsters
    <Directory  "c:/wamp64/www/medialobsters_db">
        AllowOverride All
        Require local
    </Directory>
 </VirtualHost>

this is the .htaccess content which is in my document root:
Code:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /medialobsters_db/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /medialobsters_db/index.php [L]
</IfModule>

# END WordPress

while reading about similar problems i understood it might be because of an infinite loop i have in my .htaccess file, but i didnt find a solution for this..
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 192 تاريخ : سه شنبه 25 مهر 1396 ساعت: 22:45