The cgi files, addcart etc are all part of the Rivendell install.  I'm assuming 
you installed from source? (with the configure/make etc) or did you use the 
tryphon repos?

If its source, the html files are all inside riv_source_dir/web/tests and 
rxport.cgi in its compiled form is inside riv_source_dir/web

A make install from the source dir will copy all that stuff to wherever you 
specified in the configure line e.g. ./configure 
--libexecdir=/usr/local/libexec will put all the stuff inside 
/usr/local/libexec when you hit sudo make install.

If you installed from the tryphon.eu repo try a simple:

sudo apt-get install rivendell-server

I believe these will install all the apache side of things for you but I've 
never tried the simple way before (I normally tweak things and just got used to 
the manual source install which works for me)

Regards,

Wayne


-----Original Message-----
From: [email protected] on behalf of Mike T.
Sent: Tue 11/09/2012 21:29
To: rivendell-dev
Subject: Re: [RDD] Can't import audio - Invalid URL]
 
OK I am making progress!

For the record, in case anyone else runs in to this, here is what I have
found:

I am running ubuntu 10.04 and RD 2.1.4.

For whatever reason, I did not install apache on my client computer, so
I installed that.

I then snagged a copy of addcart.html off the net and copied it into
the /var/www folder. (this is the default apache location for web
pages..)

 Next I copied  /usr/share/doc/rivendell/examples/conf/rd-bin.conf

to: /etc/apache2/conf.d
 
now when I go to http://localhost/rd-bin/addcart.html 

I get a web page! However, I still can't import audio. When I go into
RDlibrary, and try to import a WAV file into the cart, I get a "Unable
to create destination file" error.

I check my /var/log/apache2/error.log and I see the following:

File does not exist: /var/www/rd-bin/rdxport.cgi

Did a google for an example, and I can't find one.

====

So could some please post an example for me? Or perhaps there is
something else I need to do. I am open to suggestions

As usual The people here have been so helpful, and I appreciate it.

-- 
 Mike
     Station Engineer WVMC-FM

-------------
http://www.wvmcfm.com

  Mansfield 90.7
      Ashland 91.1
        Wooster  102.7



-------- Forwarded Message --------
From: Gregg Wonderly <[email protected]>
To: [email protected], User discussion about the Rivendell Radio
Automation System <[email protected]>
Subject: Re: [RDD] [Fwd: RE: Can't import audio - Invalid URL]
Date: Mon, 10 Sep 2012 14:29:32 -0500

On Sep 10, 2012, at 2:13 PM, Mike T. <[email protected]> wrote:

> Wayne,
> 
> I finally got back to the not able to import WAVs issue. Per your
> instructions, here is what I have tried:
> 
> 1. you are correct, I get a 404 when I try
> http://localhost/rd-bin/addcart.html
> 
> 2. in doing a search, I found a copy of rd-bin.conf in
> /usr/share/doc/rivendell/ecamples/conf/rd-bin.conf
> 
> I copied it to /etc/apache2 and restarted apache. I still got a 404
> error.

It needs to be in the conf.d subdirectory of the apache /etc directory.  So, if 
you have /etc/apache2, then it needs to go into /etc/apache2/conf.d

> 3. I did a search for addcart.html, and there isn't one on my hard
> drive.
> 
> 4. I tried your suggestion of 
> ./configure --libexecdir=/usr/local/libexecdir 
> 
> I got a "command not found" error. I suspect I am in the wrong
> subdirectory. I ran this from /home/rduser directory.

This would reconfigure the rivendell build environment in the source root for 
rivendell, and needs to be run from that directory, wherever you have unpacked 
the rivendell .tar.gz at.

Gregg Wonderly

> 
> 5. I did a google search for the above command and found a reference
> that for ubuntu 10.4 (which I am using..) the command should be:
> ./configure --libexecdir=/usr/local/libexec
> I still got a "Command not found" error.
> 
> ====
> So what am I doing wrong?
> 
> As always, I appreciate any suggestions.
> 
> -- 
> Mike
>     Station Engineer WVMC-FM
> 
> -------------
> http://www.wvmcfm.com
> 
>  Mansfield 90.7
>      Ashland 91.1
>        Wooster  102.7
> 
> 
> 
> -------- Forwarded Message --------
> From: Wayne Merricks <[email protected]>
> To: [email protected], User discussion about the Rivendell Radio
> Automation System <[email protected]>
> Subject: RE: [RDD] Can't import audio - Invalid URL
> Date: Fri, 7 Sep 2012 01:07:59 +0100
> 
> Check to see if your apache is serving the rd-bin directory properly.
> 
> http://localhost/rd-bin/addcart.html
> 
> If you get a 404 for that then the config is wrong.  You normally copy 
> riv_source/conf/rd-bin.conf to /etc/apache2/conf.d/ then restart the apache 
> service (sudo service apache2 restart).
> 
> Theres also the possibility that rd-bin.conf isn't formed properly.  Normally 
> under Ubuntu you do ./configure --libexecdir=/usr/local/libexecdir
> 
> What you need to do is find where addcart.html has been copied too and modify 
> the rd-bin.conf file to reflect that path then copy that into the apache dir.
> 
> Regards,
> 
> Wayne
> 
> 
> -----Original Message-----
> From: [email protected] on behalf of Mike T.
> Sent: Thu 06/09/2012 17:46
> To: rivendell-dev
> Subject: [RDD] Can't import audio - Invalid URL
> 
> Hello,
> 
> I have tried importing audio using rdimport, ripping a CD from inside
> RDlibrary, and importing a WAV from inside RDlibrary.
> 
> In every case, as soon as it starts importing, I get a "Invalid URL"
> error message, and nothing is imported.
> 
> What am I missing - any help would be greatly appreciated
> 
> Running Ubuntu 10.04
> Rivendell ver. 2.1.4
> database schema 205
> 
> 
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


#######################
Scanned by MailMarshal
#######################

############

Attention: 

The information contained in this message is confidential and intended 
for the addressee(s) only. If you have received this message in error 
or there are any problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. Christian Vision or any of its subsidiaries will
not be liable for direct, special, indirect or consequential damages 
arising from alteration of the contents of this message by a third party
or as a result of any virus being passed on. Please note that we reserve
the right to monitor and read any e-mails sent or received by the 
company under the Telecommunications (Lawful Business Practice) 
(Interception of Communications) Regulation 2000. Christian Vision is 
registered in England as a limited company 2842414 and as a charity 
1031031  

############

<<winmail.dat>>

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to