02.06.2013 Views

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

#<br />

# DocumentRoot: The directory out of which you will serve your<br />

# documents. By default, all requests are taken from this directory, but<br />

# symbolic links <strong>and</strong> aliases may be used to point to other locations.<br />

#<br />

DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/public"<br />

CHAPTER 4 ■ BUILD AN EVENTS CALENDAR<br />

Additionally, search for a line in your httpd.conf file that references document root to set<br />

permissions. It will look something like this:<br />

<br />

After locating <strong>and</strong> altering the paths above, restart Apache using the XAMPP control panel. Now, the<br />

default folder accessed is the public folder of the application. To test this, create the file index.php <strong>and</strong><br />

add the following code snippet:<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!