On Mon, 2010-03-01 at 13:37 -0500, David Stoltz wrote: > Even if I comment out what's in the include file, it still errors. > > It's the actual "include" statement causing the error, not what's in it.... > > > -----Original Message----- > From: Robert Cummings [mailto:robert@xxxxxxxxxxxxx] > Sent: Monday, March 01, 2010 1:33 PM > To: David Stoltz > Cc: php-general@xxxxxxxxxxxxx > Subject: Re: Going from IIS6 to WAMP > > What does it do? Force the connection to https? if so you need to > configure Apache to serve over https. > > > > > David Stoltz wrote: > > Hi All, > > > > I have a working application in PHP 5.3 under IIS6. I've created a WAMP server (Windows, Apache, MySQL, PHP) on a dedicated server, and I'm trying to move the application to the new, dedicated server. > > > > My first problem, the new server doesn't like this line of code in the default.php: > > <?php include('force_ssl.php');?> > > > > (It works fine on the current server) > > > > If I remove the above line, the page shows fine. If the line is there, the page cannot be displayed (not sure how to make it show the actual error, since error logging is on, and error_reporting = E_ALL) > > > > In the Apache httpd.conf file, I have the following: > > <Directory "c:/wamp/www/myapplicationfolder"> > > DirectoryIndex default.php > > Options FollowSymLinks Includes > > Allow from all > > </Directory> > > > > I'm assuming this allows "includes".... > > > > Does anyone have any idea? > The only error that the include statement could cause would be if the server couldn't find the path to the file you were referencing, so it's more likely to be an error with the contents of the include. Have you checked your error logs? You can find out where these are by running a phpinfo() script. Thanks, Ash http://www.ashleysheridan.co.uk