View Single Post
Old June 30th, 2006, 10:22 AM   #23 (permalink)
cowboy
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
934 posts
Gave thanks: 2
Thanked 94 times
I can see the beginning of your page now using page2.php. I also think I am understanding what you are wanting to do with not using extensions on your filenames. While this is possible, when you use ForceType to a directory...you cannot have any type of a file in that directory other than the type you forced...including images. No file can have an extension.

Images are not showing on your beta page now because you are calling them from the public_html directory, instead of the BETA directory, and they are not there. You have all of your images being called using nameservers, thus slowing the call and delivery, and using excess system resources. Unless you are calling an image from another domain, use a src= statement relative, ie. ../images/image.jpg and not http://domain/images/image.jpg.

The apache log error was having an image file trying to run as a php. If it is still appearing, have you removed all .htaccess statements for ForceType from other directories involved.

The foundation for a ForceType code would be to start with an empty directory, make a simple echo statement test.php file. Verify it works. Remove the .php extension and make your .htaccess file. Test again, and again until it works. Then continue building your site and put nothing but php files, without extensions, in that directory, and the fewer the better.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline   Reply With Quote