You are not logged in.

#1 2013-07-24 22:26:03

Convergence
Member
Registered: 2005-07-02
Posts: 377

Starting Ampache: What am I missing?

Preface:  I have never run an http server before.  (except possibly on accident during the 90's because mandrake ran EVERYTHING by default)  smile
I installed the GIT ampache.  I have php, and apache installed.  I've read the archwiki, and am reading the ampache wiki.  I thought that the workflow would be something like this:

1. Install all packages
2. configure ampache via text editor
3. start ampache with "systemctl start ampache" (and ampache would start a special instance of apache)

But now I think it is more like this:

1.  Install packages
2. configure apache
3. start apache
4.  apache runs ampache (because ampache is just an elaborate set of instructions for apache [like a website])
5.  configure apache via web browser

It's not working the way that I expected.

When I go to http://localhost/ampache/ I get a list of files, like you sometimes see on ftp servers.
Any help?

Last edited by Convergence (2013-07-24 22:28:49)


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#2 2013-07-25 18:27:49

kermana
Member
Registered: 2009-04-13
Posts: 60

Re: Starting Ampache: What am I missing?

I have never played with ampache so cannot speak for sure ... but to me it sounds like your index.php does not get picked up as DirectoryIndex and hence displaying the file list.

If I were you, I would check /etc/httpd/conf/httpd.conf and make sure DirectoryIndex looks something like this:

<IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>

See this link:
https://httpd.apache.org/docs/current/m … ctoryindex

Last edited by kermana (2013-07-25 21:26:06)

Offline

#3 2013-07-26 04:02:58

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: Starting Ampache: What am I missing?

Thanks for the response Kermana.  However, I think I'm going to abandon this project.  It seems that the documentation assumes a level of knowledge that I just don't have.  I'm always willing to learn something new, but you kinda have to pick your battles sometimes.  I'll look into Subsonic instead.


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

Board footer

Powered by FluxBB