Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connection broken from Konqueror to Apache only certain DIRs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Sun Sep 01, 2002 3:56 am    Post subject: Connection broken from Konqueror to Apache only certain DIRs Reply with quote

I'm attempting to set up ampache, from ampache.org. The installation seems pretty simple. Most of the configuration is done through a web-interface.

The directory structure I have is:
/home/httpd/htdocs/
/home/httpd/htdocs/ampache
/home/httpd/htdocs/ampache/docs
/home/httpd/htdocs/ampache/docs/images
/home/httpd/htdocs/ampache/docs/admin

The setup file is: ampache/docs/setup.php

First of all, my apache configuration is working. I'm able to view other PHP files, as well as get PHP information and show it on a test page.

When I go to:

http://localhost/ampache/docs/setup.php

I get "Connection to host localhost is broken"

I also get this if I try to just list the contents of docs

However, I can list the contents of ampache, and even ampache/docs/images.

I cannot list the contents of ampache/docs/admin

For the life of me, I cannot figure out what the difference is between these directories, and why I can access one and not the other. Any help is appreciated.
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Sun Sep 01, 2002 6:49 pm    Post subject: Reply with quote

Does anyone have suggestions? Is this a permissions problem? I've chown'ed all the files under ampache to root, recursively...
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Mon Sep 02, 2002 2:05 am    Post subject: Reply with quote

Well, I tried the webpage from a windows computer, and instead of getting the message box error, I got a page full of PHP errors, which was much more helpful.

I've been able to trace the problem to the code in index.php. Sorry for the trouble.

Although, it's still peculiar that Konqueror did not show me the PHP errors in the webpage itself, but just gave me a generic message. Very unhelpful.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Mon Sep 02, 2002 7:51 am    Post subject: Reply with quote

Have you tried to view the source of the page :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Tue Sep 03, 2002 12:06 am    Post subject: Reply with quote

Well, the thing is, Konqueror didn't print out the PHP errors. So, it was difficult to trace the problem until I opened the page in Internet Explorer, where the PHP errors and warnings were printed inline (as they should be...)

After I saw the errors, with the line numbers, I then took a look at the source-code, and traced the problem to a mySQL permissions issue. Problem solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum