Help with Security (I think)

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Help with Security (I think)

Postby flaflashr » 02. August 2005 04:23

I downloaded and installed the default XAMPP on Linux Suse 9.1 a few weeks ago. All was going well, but I wanted to merge it with the Apache 2.1.16 that I was already running under separate cover. That was when my woes started.

I think that the problem is likely within my lampp/conf/httpd.conf settings, but I cannot see what. When I have setting 1, I cannot access anything on my server from the browser. I get a 403 from the same computer accessing localhost/xampp. Here are some snippets from my httpd.conf file:

===
DocumentRoot "/opt/lampp/htdocs"
Options -Indexes

<Directory />
Order Deny,Allow
AllowOverride None
Deny from all
</Directory>

<Directory "/opt/lampp/htdocs">
Options -Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Directory /opt/lampp/htdocs/xampp>
Options -Indexes FollowSymLinks <== this line changes below
AllowOverride none
Order allow,deny
Allow from all
</Directory>
===
The error log shows this:
[client 127.0.0.1] Directory index forbidden by Options directive: /opt/lampp/htdocs/xampp/

===
When I change 1 line in the httpd.conf file as follows:
<Directory /opt/lampp/htdocs/xampp>
Options Indexes FollowSymLinks <== this line changes
AllowOverride none
Order allow,deny
Allow from all
</Directory>
===
Instead of a 403 Forbidden, I get a nice, sortable directory list of everything in my htdoc/xampp directory.

I should get the nice php sign-on page with all of the neat options, but I do not.

Please tell me what I can do to correct this.

Thanks,

Jim,
KD1YV
flaflashr
 
Posts: 3
Joined: 02. August 2005 04:04

Postby LazyOne79 » 02. August 2005 08:24

DirectoryIndex index.html index.htm index.php

then apache knows which file to serve first, i think, thats the problem.. hope it helps.
LazyOne79
 
Posts: 25
Joined: 17. July 2005 00:34
Location: München


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests