Question: OK, so I thought I was solving a problem and I created an even bigger one. I was trying to get rid of a lingering reference to `MySql` and deleted a bunch of files from the Temporary ASP.NET files directory. Now, when I try to run the ASP.NET configuration tool I get this, reprinted in its full glory:

> 
> System.InvalidCastException: [A]System.Web.Administration.WebAdminRemotingManager cannot be cast to [B]System.Web.Administration.WebAdminRemotingManager. Type A originates from 'App\_Code.eyfytrpm, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\asp.netwebadminfiles\1f61ecce\354a2473\App\_Code.eyfytrpm.dll'. Type B originates from 'App\_Code.y-perhho, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\asp.netwebadminfiles\1f61ecce\354a2473\App\_Code.y-perhho.dll'. at System.Web.Administration.WebAdminPage.get\_RemotingManager() at System.Web.Administration.WebAdminPage.SaveConfig(Configuration config) at System.Web.Administration.WebAdminPage.VerifyAppValid()
> 
> 
> 

Apparently those temporary files weren't as temporary as I thought they were. Is there any way to regenerate those files, or any other way to work around this.

I really shot myself in the foot this time.. :(

Answer: 
To answer my own question...

I wound up changing the Apache file /etc/apache/sites-available/default from AllowOverRide = None to AllowOverRide = All.
have you also tried

RewriteBase /

or RewriteBase /simple/

or along those lines?

in my dealings on servers i've used, i've never had to put the domain into the rewrite base. Just the folders