Your second rule is mostly abusing mod_rewrite - you should use FallbackResource instead, or just add a RewriteCond before the rule to prevent loops in the per directory context.FrankOn Wed, Dec 31, 2014 at 1:45 PM, Tim Dunphy <bluethundr@xxxxxxxxx> wrote:Hey all,OK so I have a website that's entering a re-direct loop that prevents the site from working.The site's default behavior is to go from / to site/universalpictures. And from there it enters the redirect loop and stops working.Here's the vhost for the site in question:<VirtualHost *:80>DocumentRoot /var/www/qa/launchpadnew/siteServerName launchpadnew.upqa.comServerAlias launchpad2.upqa.com test-launchpad.upqa.com<Directory /var/www/qa/launchpadnew/site>Options -Indexes +FollowSymLinks -MultiViews -Includes -ExecCGI#Options +Indexes +FollowSymLinks +MultiViews +Includes +ExecCGIAllowOverride AllOrder deny,allowDeny from allAuthType BasicAuthName UPQAAuthUserFile /var/www/qa/etc/http.passwdAuthGroupFile /var/www/qa/launchpadnew/conf/groupsrequire valid-usersatisfy any</Directory></VirtualHost>From there the site encounters an .htaccess file that has the following in it:php_flag zlib.output_compression offphp_flag magic_quotes_gpc offAddOutputFilter INCLUDES .htmlAddOutputFilter INCLUDES .htmAddHandler cgi-script .plAddHandler php5-script phpRewriteEngine onRewriteRule ^new$ new_site.php [QSA,L]RewriteRule ^site/(.*)$ edit_site.php?site=$1 [QSA,L]The only errors I see in the logs are this one, repeating over and over again:[Wed Dec 31 11:43:06.174003 2014] [:error] [pid 9053:tid 47022521411904] [client64.210.199.232:64956] PHP Notice: Undefined index: action in /var/www/qa/launchpadnew/site/edit_site_ajax.php on line 43, referer:http://launchpadnew.upqa.com/site/FirstsiteHowever I'm not sure if that pertains to the error I'm experiencing.If it's of any use, line 43 from that eror log starts at the switch statement in the following://echo "POST:".$_POST['action'];switch ($_POST['action']) {case 'deployFiles':I'd appreciate any advice you may have in correcting this problem!Thanks,Tim--