Koozali.org: home of the SME Server

templates

steve

templates
« on: August 31, 2001, 02:56:35 PM »
Hi,

I want to add the following to httpd.conf

# for music server
    Listen 192.168.10.1:81  
   
        ServerAdmin jeff@mock.com
        DocumentRoot /home/html/mserve
        ServerName 192.168.10.1
        AliasMatch ^/list/   /home/html/mserve/list.cgi
        AliasMatch ^/tags/   /home/html/mserve/tags.cgi
        AliasMatch ^/query   /home/html/mserve/query.cgi
        AliasMatch ^/results /home/html/mserve/results.cgi
        ErrorLog  logs/mserve-error_log
        CustomLog logs/mserve-access_log common
       
            Options ExecCGI FollowSymLinks
       

   


Can anyone advise on which template, where and how. I dont know the scripting language but can get some assistance.

Its to serve MP3 to the Dell Digital Audio Reciever.

Steve.

Robert Heaton

Re: templates
« Reply #1 on: September 04, 2001, 05:16:42 PM »
Hi
E-smith stores it's templates in the /etc/e-smith/templates directory,

the template you want to edit is in the /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ directory

Now i'm not sure which file to edit, but you could try the file "template-end"

Hope this is of some use,

Rob.

Robert Heaton

Re: templates
« Reply #2 on: September 04, 2001, 05:21:42 PM »
Just thought,

There is also a HOW-TO on setting up an Internet Jukebox, don't know of ot's any use to you, but it's located at;
http://www.e-smith.org/docs/howto/jukebox-howto.php3


Kind regards,
Rob.

steve

Re: templates
« Reply #3 on: September 11, 2001, 02:02:26 AM »
Thanks Rob.

I sorted out the template stuff. The scipt language made it looked complicated until i realised plain text is simply added in, so i get a web server running on port 81.

I have now run into problem with paths and permissions. Then to complicate things further it seems i need to set up NFS and make the audo recievers OS available as a read only mount. The reciever download its linux OS from the windows server in normal operation.

I have given up for now. I currently map the windows server to e-smith.

Steve.