30/08/2008

Compatibility Files on Vista

On my laptop I'm currently running Vista (even though I have been playing with Ubuntu, which I'm still deciding on) with Apache 2.2.

Now as we know Apache installs in program files, what I didn't know was that you can't paste files into the programs file folder, which makes sense if you think about the security aspect of it.  Anyway I was working on a site at work and I brought it home as a zip file to carry on doing some more work on it over the weekend.

So I extracted the files into my htdocs folder under Apache, imported my project in cfeclipse and then started working, but every time I made a change and refreshed my browser the changes weren't coming through.

After checking everything twice I found out that all folders extracted in program files under Vista are put in a temporary folder, which is where the Compatibility Files link takes you. This temp folder is not under program files, but in a hidden folder under your user data folder.

In order to get around this problem I had to uninstall ColdFusion, change my DocumentRoot settings in Apache's config folder to C:\webroot then reinstall ColdFusion again. The reason I had to reinstall CF was because when I first changed the DocumentRoot folder my CF files would not work.

Now with my main web folder outside the Program Files folder there shouldn't be any more problems with Compatibility Files.

No comments: