Re: [WebDNA] Migration to linux/apache from IIS

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109265
interpreted = N
texte = Each UNIX/LINUX/OSX file has an owner (UID) and a group (GID); usually, = WebDNA runs with the same GID as apache, for a linux, usually "www-data" = or "apache" check /var/www/vhosts/domain.com/WebDNA and see if all the files here = are running with the proper group ("www-data" or "apache") check /var/www/vhosts/domain.com/ and /var/www/vhosts/domain.com/domain/ = use the same group If not, fix it with the command chgrp Another way is to change the /var/www/vhosts/domain.com/domain/ = directory permissions. Depending on who is the owner (UID and GID) of = this directory, you might need to use a "chmod 777 domain". It will work = but i would not recommend it as you would give anyone the right to write = in this directory. - chris On Jul 5, 2012, at 8:55, Scott Walters wrote: > Any chance you can tell me how to do that? >=20 > - scott >=20 > On Thu, Jul 5, 2012 at 6:51 AM, = wrote: >> Yes, it looks like a permission problem. Check the directory /domain = you want to write to has proper permissions or uses the same Groupe ID = as WebDNA. >>=20 >> - chris >>=20 >>=20 >> On Jul 5, 2012, at 7:46, Scott Walters wrote: >>=20 >>> Linux/Apache server w/ Fast CGI. >>>=20 >>> Cant use the Writefile context >>>=20 >>> [writefile file=3Dthat.txt]blah blah[/writefile] >>>=20 >>> return results: >>>=20 >>> Error: Unable to access file. Unable to open file >>> '/var/www/vhosts/domain.com/domain/that.txt' .Ignoring [WriteFile] >>> context >>>=20 >>> Any ideas? >>>=20 >>>=20 >>> Scott Walters >>> scott@ideassoftware.com >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >>=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Migration to linux/apache from IIS (christophe.billiottet@webdna.us 2012)
  2. Re: [WebDNA] Migration to linux/apache from IIS (Scott Walters 2012)
  3. Re: [WebDNA] Migration to linux/apache from IIS (christophe.billiottet@webdna.us 2012)
  4. [WebDNA] Migration to linux/apache from IIS (Scott Walters 2012)
Each UNIX/LINUX/OSX file has an owner (UID) and a group (GID); usually, = WebDNA runs with the same GID as apache, for a linux, usually "www-data" = or "apache" check /var/www/vhosts/domain.com/WebDNA and see if all the files here = are running with the proper group ("www-data" or "apache") check /var/www/vhosts/domain.com/ and /var/www/vhosts/domain.com/domain/ = use the same group If not, fix it with the command chgrp Another way is to change the /var/www/vhosts/domain.com/domain/ = directory permissions. Depending on who is the owner (UID and GID) of = this directory, you might need to use a "chmod 777 domain". It will work = but i would not recommend it as you would give anyone the right to write = in this directory. - chris On Jul 5, 2012, at 8:55, Scott Walters wrote: > Any chance you can tell me how to do that? >=20 > - scott >=20 > On Thu, Jul 5, 2012 at 6:51 AM, = wrote: >> Yes, it looks like a permission problem. Check the directory /domain = you want to write to has proper permissions or uses the same Groupe ID = as WebDNA. >>=20 >> - chris >>=20 >>=20 >> On Jul 5, 2012, at 7:46, Scott Walters wrote: >>=20 >>> Linux/Apache server w/ Fast CGI. >>>=20 >>> Cant use the Writefile context >>>=20 >>> [writefile file=3Dthat.txt]blah blah[/writefile] >>>=20 >>> return results: >>>=20 >>> Error: Unable to access file. Unable to open file >>> '/var/www/vhosts/domain.com/domain/that.txt' .Ignoring [writefile] >>> context >>>=20 >>> Any ideas? >>>=20 >>>=20 >>> Scott Walters >>> scott@ideassoftware.com >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >>=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us christophe.billiottet@webdna.us

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Summing fields (1997) Whois (2003) [WriteFile] problems (1997) [isfile] ? (1997) (1998) [OT] Am I an Idiot? (2004) [WebDNA] showif with empty variable (2015) weird G3 happenings (1998) Carts & Refering URLs (1997) [thisurl] (2004) problems with 2 tags (1997) WebCatalog Upgrade Pricing? (1997) Temp DB (Was freeze) (2003) WebCatalog Plug-in for Webstar. (1997) WebCat2.0 [format thousands .0f] no go (1997) [protect admin] (1997) 3RD POST Character limit in [Search]? (1998) Re:multiple digests, please stop (1997) Was: Variables not being passed *back* (2000) Webcatalog server support (1997)