Page 1 of 1

XAMPP 1.5.5 403 after fresh install?

PostPosted: 13. January 2007 23:56
by JAB Creations
I'm getting a 403 after a fresh install after only changing the path. My local files are PHP and I'm using Firefox. I'm not sure why XAMPP would ship (not) working like this?

PostPosted: 14. January 2007 00:12
by Wiedmann
I'm getting a 403 after a fresh install after only changing the path.

What did you mean with "changing the path"?

PostPosted: 14. January 2007 00:12
by JAB Creations
Fixed -- There are now TWO lines that have to be edited in httpd.conf? Strange.

DocumentRoot "C:/MEDIA/INTERNET/xampp/htdocs"

<Directory "C:/MEDIA/INTERNET/xampp/htdocs">

PostPosted: 14. January 2007 02:09
by Izzy
JAB Creations wrote:Fixed -- There are now TWO lines that have to be edited in httpd.conf? Strange.

DocumentRoot "C:/MEDIA/INTERNET/xampp/htdocs"

<Directory "C:/MEDIA/INTERNET/xampp/htdocs">

This post is for the benefit of those who are reading this thread and may be confused or mislead into believing that you need to edit the httpd.conf file to get XAMPP to work as shipped.
Xampp will work out-of-the-box for most people installing or upgrading XAMPP if the Installation Instructions are read and observed first.

The simple and easy to follow Installation Instructions can be found here:

The Installation

Method A: Installation with the Installer
Method B: "Installation" without the Installer
»I want to start XAMPP without setup!«

There are no lines in the httpd.conf file that have to be edited if you read and then follow the simple Installation Instructions.

The paths are correctly inserted in their places (BTW not only in the httpd.conf file) by using the setup_xampp.bat file outlined in the Installation Instructions and the readme-en.txt file.

As a side note the httpd.conf file is crammed with instructions and examples in the form of very clear #comments.
Again these need to be read before making any changes.

Had that been the case in this thread it would have been evident that there were 2 lines that had to be changed to the correct path not just the one (which are carried out by the setup_xampp.bat file if required).
DocumentRoot "C:/MEDIA/INTERNET/xampp/htdocs"

#
# This should be changed to whatever you set DocumentRoot to.
#

<Directory "C:/MEDIA/INTERNET/xampp/htdocs">