[BlueOnyx:10384] Re: open_basedir restriction in effect.

2012-04-27 Thread Dudi Goldenberg
Yes you can. All you need is to tell the script to use php as the interpreter, this is a snip of one of mine: #!/usr/bin/php mysql_close($link); ?> D. From: blueonyx-boun...@mail.blueonyx.it [mailto:blueonyx-boun...@mail.blueonyx.it] On Behalf Of SB9-PageKeeper Service Sent: Saturday, Apri

[BlueOnyx:10383] Re: open_basedir restriction in effect.

2012-04-27 Thread SB9-PageKeeper Service
DD */5 * * * * curl -s http://yourlocal.domain.com/phpscripts/index.php?your_unique_query curl -s will run a web php script using crontab for a user php script on a 5106r as root haven't tested it as used in a user cron.. if it works over the web in a browser it should work when the server reads

[BlueOnyx:10382] Re: open_basedir restriction in effect.

2012-04-27 Thread Chuck Tetlow
Oh!  I think I see what you're trying to do.  You want to run a PHP script from the command-line.  But I don't think you can do that.  You must have a "interpreter" to run a script in a particular language, and I believe that in PHP - the interpreter is built into Apache.  Without that interpre

[BlueOnyx:10381] Re: open_basedir restriction in effect.

2012-04-27 Thread SB9-PageKeeper Service
Yo! Down and dirty php... I had to move a bluequartz 5100 to BO without the help of cmu because the drive failing sectors took out codb and friends and i had no vsites or groups for the cmu.. Hosed the GUI bad! everything else worked... here are my seat-of-the-pants notes i made to make things r

[BlueOnyx:10380] Re: 5108R Web Alias Redirects

2012-04-27 Thread Randy Smith
> Here is my Vhost container which works. The site has "web alias > redirects" ticked. But I also tested it with that checkbox unticked, > in which case additional "RewriteCond %{HTTP_HOST}" lines will be > added for each web alias. > > Additionally this site has PHP and suPHP, CGI and SSI enab

[BlueOnyx:10379] Re: 5108R Web Alias Redirects

2012-04-27 Thread Randy Smith
Debug didn't reveal anything. The plot thickens. I think the issue has something to do with the ca-certs. I have one site that works and three another that don't. All are godaddy. The only difference is that the ca-cert of the working site was entered a long time ago and consisted of one entry in

[BlueOnyx:10378] Re: open_basedir restriction in effect.

2012-04-27 Thread DD
Hi all. My apologies for bugging you on a weekend :( I still seem to be getting no further. To recap: I want to run a PHP script via crontab. The entry in /etc/crontab is: 12,42 * * * * root php /home/.sites/70/site4/update_products.php update_products.php contains: $fn

[BlueOnyx:10377] Re: 5108R Web Alias Redirects

2012-04-27 Thread Michael Stauber
Hi Randy, > apache has been restarted. nothing in the site.include and the container > looks simple and clean. send me what your vhost to compare. Here is my Vhost container which works. The site has "web alias redirects" ticked. But I also tested it with that checkbox unticked, in which case a

[BlueOnyx:10376] Re: 5108R Web Alias Redirects

2012-04-27 Thread Randy Smith
> Hmm ... it worked for me. Did you restart Apache? And how does your > Vhost container for that site look? Maybe there are changes in it > which now cause problems. apache has been restarted. nothing in the site.include and the container looks simple and clean. send me what your vhost to compar

[BlueOnyx:10375] Re: open_basedir restriction in effect.

2012-04-27 Thread Stephanie Sullivan
> -Original Message- > From: Michael Stauber [mailto:mstau...@blueonyx.it] > Sent: Friday, April 27, 2012 11:57 AM > To: BlueOnyx General Mailing List > Subject: [BlueOnyx:10367] Re: open_basedir restriction in effect. > > Hi Stephanie, > > > Isn't the point of open_basedir to limit what

[BlueOnyx:10374] Re: 5108R Web Alias Redirects

2012-04-27 Thread Michael Stauber
Hi Randy, > Try using SSL like: https://www.domain.com and it shows an error "The page > isn't redirecting properly" Hmm ... it worked for me. Did you restart Apache? And how does your Vhost container for that site look? Maybe there are changes in it which now cause problems. -- With best reg

[BlueOnyx:10373] Re: Missing vhosts data

2012-04-27 Thread Michael Stauber
Hi Ernie, > How can I rebuild /etc/httpd/conf/vhosts ? Like Ken said: Your drive has Alzheimer. I wouldn't trust it to hold out for much longer, so it should be replaced ASAP before it "forgets" even more stuff. As for restoring the Vhost config files: That's a touchy one. Given a couple of h

[BlueOnyx:10372] Re: open_basedir restriction in effect.

2012-04-27 Thread Michael Stauber
Hi DD, > It looks like /tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/ is > being appended to the lists of approved paths no matter what. Yes, that is correct. Because the above are "must have" items. They (and the path to the Vsite in question) will always be filled in automatically. T

[BlueOnyx:10371] Re: open_basedir restriction in effect.

2012-04-27 Thread DD
Hi Michael, Stephanie, I agree on both points, sadly this is us trying to accommodate a legacy system while we try to convince them to upgrade. The only saving grace is that these scripts are not publicly accessible. I'll take time to point all this out again, however. In the meantime, I tried cl

[BlueOnyx:10370] Re: Missing vhosts data

2012-04-27 Thread Ken - Precision Web Hosting, Inc
- Original Message - From: "Ernie" To: Sent: Thursday, April 26, 2012 10:49 PM Subject: [BlueOnyx:10358] Missing vhosts data >I did and yum update to a 5016R server the other day, and something went > seriously wrong. The last update on it was back in February which went > fine. This

[BlueOnyx:10369] Re: open_basedir restriction in effect.

2012-04-27 Thread Jon McCauley
> Hi Stephanie, > >> Isn't the point of open_basedir to limit what a php script can open to >> things that are in specific places? Doesn't it completely negate >> open_basedir to simply assign it "/" making everything accessible to php - >> certainly many configuration files, etc. that one might no

[BlueOnyx:10368] Re: 5108R Web Alias Redirects

2012-04-27 Thread Randy Smith
There is still something wrong. HTTP works but HTTPS is broken. Try using SSL like: https://www.domain.com and it shows an error "The page isn't redirecting properly" ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/lis

[BlueOnyx:10367] Re: open_basedir restriction in effect.

2012-04-27 Thread Michael Stauber
Hi Stephanie, > Isn't the point of open_basedir to limit what a php script can open to > things that are in specific places? Doesn't it completely negate > open_basedir to simply assign it "/" making everything accessible to php - > certainly many configuration files, etc. that one might not desir

[BlueOnyx:10366] Re: open_basedir restriction in effect.

2012-04-27 Thread Stephanie Sullivan
> -Original Message- > From: Michael Stauber [mailto:mstau...@blueonyx.it] > Sent: Friday, April 27, 2012 11:22 AM > To: BlueOnyx General Mailing List > Subject: [BlueOnyx:10364] Re: open_basedir restriction in effect. > > Hi DD, > > > To clarify: I get the same error with /web/ added int

[BlueOnyx:10365] Re: open_basedir restriction in effect.

2012-04-27 Thread Charles Bowman
Perhaps, In the BO GUI, clear the data in the field "Open basedir" -> Save. This will repopulate with correct data and update the corresponding files. On 27 April 2012 16:22, Michael Stauber wrote: > Hi DD, > > > To clarify: I get the same error with /web/ added into the error strings: > > > >

[BlueOnyx:10364] Re: open_basedir restriction in effect.

2012-04-27 Thread Michael Stauber
Hi DD, > To clarify: I get the same error with /web/ added into the error strings: > > PHP Warning: file_exists(): open_basedir restriction in effect. > File(/home/.sites/70/site4/web/product_list.csv) is not within the allowed > path(s): (/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/)

[BlueOnyx:10363] PHP Mail Problems Revisited

2012-04-27 Thread Mark McGavin
Hello Some time ago on a BO box the phpmail function ceased to work, with help from this list i fianlly got it going using the following in php.ini sendmail_path = /usr/sbin/sendmail -t -i -f postmas...@somedomain.com a recent update overwrote the changes and again the php mail function stoppe

[BlueOnyx:10362] Re: open_basedir restriction in effect.

2012-04-27 Thread DD
To clarify: I get the same error with /web/ added into the error strings: PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/.sites/70/site4/web/product_list.csv) is not within the allowed path(s): (/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/) in /home/.site

[BlueOnyx:10361] Re: open_basedir restriction in effect.

2012-04-27 Thread DD
Actually. no - I get the same error. DD From: blueonyx-boun...@mail.blueonyx.it [mailto:blueonyx-boun...@mail.blueonyx.it] On Behalf Of Charles Bowman Sent: 27 April 2012 13:09 To: BlueOnyx General Mailing List Subject: [BlueOnyx:10360] Re: open_basedir restriction in effect. Can you mo

[BlueOnyx:10360] Re: open_basedir restriction in effect.

2012-04-27 Thread Charles Bowman
Can you move the file paths of your scripts, to the "WEB\" folder: /home/.sites/70/site4/product_list.csv & /home/.sites/70/site4/update_products.php vs /home/.sites/70/site4/web/product_list.csv & /home/.sites/70/site4/web/update_products.php ? On 27 April 2012 12:39, DD wrote: > Hi All, > > U

[BlueOnyx:10359] open_basedir restriction in effect.

2012-04-27 Thread DD
Hi All, Using 5108R, I have a CSV file at /home/.sites/70/site4/product_list.csv and am trying to parse it using a script in the same folder, but get the message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/.sites/70/site4/product_list.csv) is not within th