troubleshooting Question

Help me to set up example site on "localhost", please!

Avatar of davidsperling
davidsperling asked on
PHPApache Web Server
18 Comments1 Solution1955 ViewsLast Modified:
Hi ya'll! I'm having trouble getting the examples from the book "Practical Web 2.0 Applications with PHP"  to work...

OS: Windows Vista
Web Server: Apache by XAMPP (next latest version, 1.6.6 i think)
Database: MySql by XAMPP

I think it's the .htaccess file that is the worst promlem.
-When the .htaccess file is present, all you see is an Internal Server Error.
-When .htaccess is removed, I get a Smarty error.

-Virtual hosts are in place  (can get simple sites to work) .

Please make the example below (chapter 2)  work (in XAMPP for windows)  and post all necesarry settings files :-)

...and 500 points R U'rs :-)

RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 18 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros