Finally got it working right. Thanks all for your help. Sent from my iPhone
> On Mar 20, 2016, at 3:55 PM, Wayne Merricks <[email protected]> > wrote: > > There isn't an rd-bin directory, its an alias/shortcut to an actual directory > (which should be in /usr/local/libexec). > > Cd into your source directory and redo this bit: > > ./configure --libexecdir /usr/local/libexec > > Just for the heck of it, make followed by sudo make install won't hurt either. > > Your conf file has two places where you need to replace @libexecdir@ > > The first line <Directory "@libexecdir@"> and the alias line at the bottom > > ScriptAlias /rd-bin/ "@libexecdir@/" > > Assuming you have the /usr/local/libexecdir with the addcart.html and > rdxport.cgi (and others). Fixing the @libexecdir@ thing should solve that. > >> On 2016-03-20 18:12, [email protected] wrote: >> I still can't seem to get around the forbidden message. I don't have >> a rd-bin directory anywhere. Is there supposed to be one? Also in >> looking at my folders, I saw a rd-bin.conf file under /usr/local/etc. >> Is that normal or causing a conflict? Thanks for all the help! It is >> much appreciated. >> >> Sent from my iPhone >> >>> On Mar 19, 2016, at 10:44 PM, David Klann <[email protected]> wrote: >>> >>> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA256 >>> >>> Hey Seth, >>> >>> You need to change that first line. >>> >>> <Directory "@libexecdir@"> should read <Directory "/usr/local/libexec"> >>> >>> The "word" libexecdir surrounded by "@" symbols is a "placeholder" that >>> should have been replaced by the configure script when you ran it in the >>> source directory. No worries, simply replace that in your copy of the >>> file and reload the apache web service per Wayne's previous instructions. >>> >>> Almost there! >>> >>> Best, >>> >>> ~David Klann >>> >>> >>>> On 03/19/2016 09:28 PM, Seth Stevenson wrote: >>>> So I did all that and still get the forbidden error. Here is my file; does >>>> it look right? >>>> >>>> >>>> <Directory "@libexecdir@"> >>>> Options ExecCGI FollowSymLinks >>>> AllowOverride None >>>> Require all granted >>>> <Files *.gif> >>>> SetHandler default-handler >>>> </Files> >>>> <Files *.png> >>>> SetHandler default-handler >>>> </Files> >>>> <Files *.js> >>>> SetHandler default-handler >>>> </Files> >>>> <Files *.html> >>>> SetHandler default-handler >>>> </Files> >>>> <Files *.xml> >>>> SetHandler cgi-script >>>> </Files> >>>> <Files *.cgi> >>>> SetHandler cgi-script >>>> </Files> >>>> <Files *.mp3> >>>> SetHandler cgi-script >>>> </Files> >>>> </Directory> >>>> ScriptAlias /rd-bin/ "@libexecdir@/" >>>> TimeOut 1200 >>>> >>>> On Sun, Mar 20, 2016 at 9:13 AM, Wayne Merricks >>> <[email protected] <mailto:[email protected]>> >>> wrote: >>>> >>>> Right, so you compiled and installed from source (hence the >>> /usr/local/libexec) onto some version of Ubuntu. >>>> >>>> Its been a while since I did a source install. This is with v2.11 >>> on Ubuntu 15.10: >>>> >>>> ./configure --libexecdir=/usr/local/libexec >>>> make >>>> sudo make install >>>> >>>> You are right, the source install does not put the rd-bin in place >>> but this is quite easy to fix. >>>> >>>> Copy rd-bin.conf to the apache conf available dir: >>>> >>>> sudo cp rivendell-2.11.0/conf/rd-bin.conf /etc/apache2/conf-available >>>> >>>> Enable it: >>>> >>>> sudo a2enconf rd-bin >>>> >>>> Reload apache: >>>> >>>> sudo service apache2 reload >>>> >>>> Check the web page works: >>>> >>>> http://localhost/rd-bin/addcart.html >>>> >>>> I got access forbidden at this point. Checking the tryphon repos, >>> they've amended the rd-bin.conf and that fixes the problem. >>>> >>>> sudo nano /etc/apache2/conf-available/rd-bin.conf >>>> >>>> Find these two lines just under Directory after all the comments: >>>> >>>> Order allow,deny >>>> Allow from all >>>> >>>> Replace them with: >>>> >>>> Require all granted >>>> >>>> Save and reload apache: >>>> >>>> sudo service apache2 reload >>>> >>>> You should be fine now. >>>> >>>> >>>> >>>> >>>>> On 2016-03-19 17:42, [email protected] >>>> <mailto:[email protected]> wrote: >>>> >>>> Well, I am still working on this. I can't seem to tell where the >>>> Apache files should go. My rivendell Apache files are currently in >>>> /use/local/libexec. I copied the rd-bin.conf to /etc/apache2 and >>>> edited it to point to /use/local/libexec. Restarted Apache and no >>>> results. There isn't a conf.d folder to put the rd-bin.conf file >>>> either as mentioned in some posts. Previously I had the Apache >>>> rivendell stuff in /var/www and that didn't work either. What >>> is the >>>> proper location for ubuntu? It didn't work as setup for Debian. >>>> >>>> Sent from my iPhone >>>> >>>> On Mar 11, 2016, at 11:24 AM, Wayne Merricks >>>> <[email protected] >>> <mailto:[email protected]> [4]> wrote: >>>> >>>> Hi, >>>> >>>> Sounds like a /var/snd permissions problem. >>>> >>>> Can you open a browser and does this page work: >>>> >>>> http://your_server_or_its_ip_address/rd-bin/addcart.html [1] >>>> >>>> If it does then it is definitely /var/snd. >>>> >>>> Depending on how you're set up you might want to restrict >>>> permissions down but for testing just do this: >>>> >>>> $ sudo chmod a+rwx /var/snd >>>> >>>> This means any user with access to that machine has full >>> access to >>>> that directory (usually via NFS or SSH or Console access). >>>> >>>> On 11/03/16 14:36, Seth Stevenson wrote: >>>> >>>> I'm getting a unable to find destination file in >>> rdlibrary when I >>>> go to import audio. Also I can't delete any audio. I >>> checked >>>> /etc/apache2 and there was no conf.d directory. I made >>> that and >>>> put the rd-bin.conf file in there, and rebooted. Still >>> nothing. >>>> >>>> -- >>>> >>>> Seth Stevenson >>>> >>>> _______________________________________________ >>>> Rivendell-dev mailing list >>>> [email protected] >>> <mailto:[email protected]> >>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>> >>>> >>>> _______________________________________________ >>>> Rivendell-dev mailing list >>>> [email protected] >>> <mailto:[email protected]> [2] >>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev [3] >>>> >>>> >>>> >>>> Links: >>>> ------ >>>> [1] http://your_server_or_its_ip_address/rd-bin/addcart.html >>>> [2] mailto:[email protected] >>> <mailto:[email protected]> >>>> [3] >>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>> [4] mailto:[email protected] >>> <mailto:[email protected]> >>>> >>>> >>>> _______________________________________________ >>>> Rivendell-dev mailing list >>>> [email protected] >>> <mailto:[email protected]> >>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>> >>>> >>>> >>>> >>>> -- >>>> Seth Stevenson >>>> >>>> >>>> _______________________________________________ >>>> Rivendell-dev mailing list >>>> [email protected] >>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>> >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v2 >>> >>> iF4EAREIAAYFAlbuDqUACgkQZtxZ++32cNiBrAD/QQcK+SiV2uEXoYdMk3rKF2cd >>> Ix4O1ltRikPY9mDPL7sBALEMXG2ik2TjPsYhc3a3i2xxg6FHWICvntpMHHG+JeDJ >>> =fW9g >>> -----END PGP SIGNATURE----- > _______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
