Advertisement

07.18.2008 at 06:54AM PDT, ID: 23576820
[x]
Attachment Details

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

Asked by davidsperling in Apache Web Server, PHP for Windows

Tags: microsoft, vista, windows xp, xampp, apache, mysql, php, internal server error

Hi ya'll! I'm having trouble getting the examples from the book "Practical Web 2.0 Applications with PHP"  to work...
http://www.myphpbook.com

Environment:
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 :-)
http://www.myphpbook.com/assets/code/book/chapter-02.zip

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




Start Free Trial
1:
2:
3:
4:
5:
#.htaccess:
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1
[+][-]07.18.2008 at 07:15AM PDT, ID: 22035973

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 07:15AM PDT, ID: 22035981

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 08:23AM PDT, ID: 22036777

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 08:28AM PDT, ID: 22036850

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 08:40AM PDT, ID: 22036992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 08:51AM PDT, ID: 22037107

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 08:53AM PDT, ID: 22037122

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 08:56AM PDT, ID: 22037146

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.19.2008 at 06:49AM PDT, ID: 22042469

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.19.2008 at 06:50AM PDT, ID: 22042470

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.19.2008 at 06:51AM PDT, ID: 22042472

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.19.2008 at 06:51AM PDT, ID: 22042473

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.19.2008 at 06:52AM PDT, ID: 22042475

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.19.2008 at 06:53AM PDT, ID: 22042480

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.19.2008 at 06:54AM PDT, ID: 22042484

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.20.2008 at 12:55AM PDT, ID: 22044907

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Web Server, PHP for Windows
Tags: microsoft, vista, windows xp, xampp, apache, mysql, php, internal server error
Sign Up Now!
Solution Provided By: DrBrainiac
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.20.2008 at 01:19AM PDT, ID: 22044933

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 05:04AM PDT, ID: 22049659

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628